-
Notifications
You must be signed in to change notification settings - Fork 1.7k
The command produced no valid metadata #11336
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
Comments
I wasn't able to reproduce in ten tries or so. It looks like |
It might be something specific to my setup, then. Do you have any suggestions for troubleshooting this or seeing what |
The status code 25856 might indicate that Cargo was killed by a signal |
I'm getting the same issue as well, if I try to run |
I am getting the same issue using using NeoVim's LSP client. |
Do you guys have clippy installed and updated? This seemed to fix things for me. |
What rust-analyzer version are you using? Starting next week's stable release and today's nightly we should show the entire error message given #11891 |
v0.2.1002 |
It looks like the rust-analyzer.checkOnSave.command preference is set to an empty string. Can you check if this is indeed the case and if so remove the preference? |
We should probably warn against that (maybe have a general validation thing for the config somehow) |
Yes, removing the rust-analyzer.checkOnSave.command preference solves the problem, thanks!!! |
I had the same error for the longest time and could not figure out what I did wrong. Using the pre-release version, which adds the error output, I managed to track it down: I had a faulty |
I think we can close this now, as the error should now be able to tell what went wrong. |
When VS Code loads and rust-analyzer is loading my workspace, I am shown the following popup:
This happens fairly consistently for me for the https://github.com/hotg-ai/proc-blocks project.
Here are some minimal instructions for checking out a version I'm seeing issues with (the latest
master
), although I've seen the same issue when checking out commits from a couple months ago.Rust Analyzer Client output
Rust Analyzer Language Server output
I enabled the
rust-analyzer.trace.extension
setting and restarted VS Code, but the "Rust Analyzer Language Server Trace" output doesn't seem to contain anything.rust-analyzer version:
rust-analyzer version: baa5cd952 2022-01-23 nightly
rustc version:
The text was updated successfully, but these errors were encountered: