-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unable to install toolchain with rustup install
#183
Comments
Thanks for the detailed report!
|
Yeah, it's weird, I only have this issue on this computer. $ cargo msrv --version
cargo-msrv 0.12.0
$ cargo install cargo-msrv --version 0.10.0
$ cargo msrv
# same error as before However, I did discover that, weirdly enough, $ cargo-msrv msrv work just fine! It's just when invoked through Cargo that it fails. Digging some deeper, I do have $ which -a cargo-msrv
/home/jon/.cargo/bin/cargo-msrv
/home/jon/.cargo-target/release/cargo-msrv If I execute either of those directly (with the argument I don't know why executing through |
It seems that I have the same error on
It is due to the fact that the target didn't existed on the channel before: rust-lang/rustup#2413 If I check for this particular version in the static s3 index with:
It finds nothing. I think it is link to the fact that Here we can see that for I also think that the subcrate If we run the same command but targeting
I think a fix would be to pass the target when searching for the latest_stable version. |
Hi @Freyskeyd, thanks for the detailed report! I'm currently working on implementing this for the next release. With a bit of luck, it may also help towards fixing #587. |
I have the same problem on Mac. As a workaround, this worked for me:
Although it actually doesn't work because
Although it's werid that the workspace manifest did work. |
I was not able to reproduce this. Could you please explain how I can reproduce this? |
For some reason,
cargo-msrv
now refuses to run in any project on my computer:This happens both when installing the latest released version of cargo-msrv, and installing directly from the
main
branch.This is particularly weird because when I run the listed command myself, it works without issue:
System info:
The text was updated successfully, but these errors were encountered: