-
Notifications
You must be signed in to change notification settings - Fork 166
Could not compile on Nightly Channel #749
Comments
Having the same issue, and have had it for a while now. I was never able to build on nightly. Seems to be related to rust-lang/rls#1449 and rust-lang/rls#1635? |
I'm running into the same problem. |
After I closed VS Code and ran update command, the error disappeared. |
@snylonue Tried that as well, but didn't work for me, as RLS would always rebuild on start. |
same issue on MacOS, |
Same issue. This renders the extension useless for me currently. |
Probably related to rust-lang/rust#69933. The fix for this issue is already included in nightly, so I assume it will eventually be fixed. However, it's weird that
My setup. $> rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/taegyunkim/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
active toolchain
----------------
nightly-x86_64-apple-darwin (default)
rustc 1.44.0-nightly (f509b26a7 2020-03-18)
$> rustup --version
rustup 1.21.1 (7832b2ebe 2019-12-20) |
@taegyunkim RLS isn't available for the latest nightly. The last nightly RLS is available for is 2020-03-18, which I presume is before that fix got implemented. Rustup will try to find the latest nightly build that has the components available for your toolchain. And since RLS is part of your toolchain, the last compatible build is 2020-03-18, at least until RLS is updated for the latest nightly. What you can try is using an older nightly build that didn't have this issue. thecodewarrior mentioned 2020-03-09 on that issue, so you can try by specifying that particular build like |
If it is any of any help, I am receiving a similar error while testing the pyo3 example Below is the error that is displayed while having my cursor over the contents of Cargo.toml:
Worth to mention that |
The issue persists for me with |
@Sijisu if you aren't aware of it, you might want to try https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer (but please download the VSIX from GitHub instead). See #927 for context. |
Hej, currently trying to get the extension up and running. I already set
"rust-client.channel": "nightly"
, but appearently the extension could not compile.Cargo.toml
Error I'm getting:
The thing is, when I run
rustup run cargo build
in the Terminal myself, it works without issues, but I can't seem to disable the build process from the extension. Already checked some of the open issues, but nothing worked.The text was updated successfully, but these errors were encountered: