You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.1463-standalone
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)
nothing is set
MacOS Ventura 13.3
M1 Max 32GB
There are no problems in local rust repos.
But this workspace is opened over ssh connections. The rust-analyser is installed.
Is it possible that Cargo.toml path is wrong? I is shown as /Cargo.toml, but really it is under /home/username/workspace/reponame/Cargo.toml
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file /Cargo.toml, Some(Version { major: 1, minor: 68, patch: 2 }): Failed to run `cd "/" && "cargo" "metadata" "--format-version" "1" "--manifest-path" "/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu"`: `cargo metadata` exited with an error: error: manifest path `/Cargo.toml` does not exist
The text was updated successfully, but these errors were encountered:
Probably a duplicate of #14480. Can you install a nightly version (there's an option on the extension page) and then remove rust-analyzer.linkedProjects from your settings?
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.1463-standalone
rustc version: (eg. output of
rustc -V
)rustc 1.68.2 (9eb3afe9e 2023-03-27)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)nothing is set
MacOS Ventura 13.3
M1 Max 32GB
There are no problems in local rust repos.
But this workspace is opened over ssh connections. The rust-analyser is installed.
Is it possible that Cargo.toml path is wrong? I is shown as /Cargo.toml, but really it is under /home/username/workspace/reponame/Cargo.toml
The text was updated successfully, but these errors were encountered: