question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`--all-features is not allowed in the root of a virtual workspace stderr :` since `nightly-2019-10-16`

See original GitHub issue

Environment

  • IntelliJ Rust plugin version: 0.2.108.2763-192-nightly

  • Rust toolchain version: rustc 1.40.0-nightly (0e8a4b441 2019-10-16)

  • IDE name and version: CLion 2019.2.4

  • Operating system: Ubuntu 18.04

Problem description

Since updating to Rust nightly-2019-10-17, Rust plugin throws an error everytime refreshing workspace:

Cargo project update failed: Execution failed (exit code 101). /home/yukunl/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features stdout : error: --all-features is not allowed in the root of a virtual workspace stderr :

Steps to reproduce

  • Update to the latest rust (nightly-2019-10-17)
  • Click Refresh Cargo project
  • You can see the error info

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
krojewcommented, Oct 18, 2019

@UkonnRa please reopen, since this is a valid issue.

0reactions
Undincommented, Oct 27, 2019

Works fine with nightly-2019-10-26 I think it can be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regression from 1.39.0 to 1.40.0: --no-default-features is not ...
Problem In virtual workspaces, cargo check -p subproject --no-default-features ... is not allowed in the root of a virtual workspace #7727.
Read more >
Features not working with virtual workspace - Rust Users Forum
I'm trying to issue a command like cargo build --features "featA" in the top-level workspace directory and have it build both crate1 and...
Read more >
Amazon WorkSpaces Pricing
Amazon WorkSpaces pricing provides monthly subscription or hourly metering options per virtual desktop instance, and includes everything you need to provide ...
Read more >
What Is a Virtual Workspace and What Are Its Benefits?
A virtual workspace can improve the productivity of an organization while lowering IT costs and enhancing data security. Read more.
Read more >
Virtual Workspaces | Visual Studio Code Extension API
When an extension implements a file system provider, workspace resources may not be located on the local disk, but be virtual, located on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found