-
Notifications
You must be signed in to change notification settings - Fork 892
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: missing key: 'url' #1062
Comments
have the same issue in Mac $ rustup --version
rustup 1.2.0 (70faf07 2017-04-08)
$ rustup update
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
error: missing key: 'url'
info: checking for self-updates
nightly-x86_64-apple-darwin update failed - rustc 1.17.0-nightly (ccce2c6eb 2017-03-27)
$ rustup install nightly-x86_64-apple-darwin
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
173.9 KiB / 173.9 KiB (100 %) 41.4 KiB/s ETA: 0 s
error: missing key: 'url' |
I have the same issue when Travis CI tries to install Rust nightly using
|
@erickt and I are looking into this and coordinating investigation in the #rust-infra IRC room |
This might have been broken by rust-lang/rust#40584, which modifies the code that I think generates https://static.rust-lang.org/dist/channel-rust-nightly.toml. cc @nrc / @alexcrichton / @brson |
from https://static.rust-lang.org/dist/channel-rust-nightly.toml, rls part is indeed missing
|
wait though, there are other things in this file that don't have
|
I have the same issue on osx.
|
acrichto> 2 bugs here |
acrichto> rustup bug is here - |
Alex is fixing the rustbuild side of this but testing it might take some time and might not be fixed until tomorrow PDT. |
@carols10cents thanks for the heads up. If there are rls-related things that need to be fixed, lemme know (though I'll soon be out for the next four days for Easter break) |
same on debian testing |
I've submitted a fix for rust-lang/rust at rust-lang/rust#41267 |
For the sake of anybody stuck without rust toolchain due to this bug, this is a workaround for the install nightly:
|
See rust-lang/rustup#1062 for more details Solution: switch to nightly-2017-04-11 for the time being
|
As a workaround for travis, in your
to this, to pin to last night's nightly for today:
|
Got a potential fix to add rustup support for unavailable packages up in #1063. |
a fix for rust-lang/rustup#1062
Because of this rust-lang/rustup#1062 (comment) and future failures.
Thanks for the fix, it seems to be working again! I'm a little hesitant to unilaterally close this issue with so many other people having experienced the same issue, but feel free to close it if it's working for others as well (or you're sure it's fixed). |
FWIW, I was experiencing this issue as well and it's now fixed for me :) |
I have the same error with different output |
Closing as fixed upstream @marti1125 that is a different issue - it just means that the CDN is temporarily out of sync due to caching pecularities, it should have fixed itself within a few minutes. |
Infra team is investigating the recurrence of this failure. |
I encountered this error message but re-running about an hour later succeeded. I hadn't updated in a while, if that matters. First run:
Second run:
|
@numberoverzero I had that situation too. I believe it's because of the "downloading self-update" step in the first run, which has applied a fix. Future runs should proceed without error, hopefully. |
Hi, Same problem here:
Then I tried
And finally:
|
Still happening - this time on Windows 7, running rustup-init ---default-host x86_64-pc-windows-gnu. Any further clues? I like Windows GNU toolchain and would hate to have to have the dreaded |
hit this today on "rustup update nightly" command. |
Yep, I can confirm that this sorted out my problem as well! |
Ay could |
I also had this problem today. The |
@mqzry thanks |
When running
rustup update
, I get the following output:As the targets for the channels suggest, I'm running an x86_64 Linux machine. I have rustup 1.2.0 installed.
The text was updated successfully, but these errors were encountered: