Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the build console while opening some projects #10877

Open
iamshreeram opened this issue Dec 8, 2023 · 0 comments
Open

Error in the build console while opening some projects #10877

iamshreeram opened this issue Dec 8, 2023 · 0 comments

Comments

@iamshreeram
Copy link

The error in the build console appears when trying to open certain rust projects.

Execution failed (exit code 101).
/Users/home/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features --filter-platform aarch64-apple-darwin
stdout : error: current package believes it's in a workspace when it's not:
current:   /Users/home/ram/project/rust/crash-course/Cargo.toml
workspace: /Users/home/ram/project/rust/Cargo.toml

this may be fixable by adding `crash-course` to the `workspace.members` array of the manifest located at: /Users/home/ram/project/rust/Cargo.toml
Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.

stderr : 

Additionally, I would like to know if there is a way to open all of my rust projects in a single workspace, or if there is a way to attach a new project to an existing IntelliJ instance instead of opening it in a new instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant