Closed
Description
When running rustup update
, I get the following output:
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
error: missing key: 'url'
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.16.0 (30cf806ef 2017-03-10)
nightly-x86_64-unknown-linux-gnu update failed - rustc 1.18.0-nightly (c58c928e6 2017-04-11)
As the targets for the channels suggest, I'm running an x86_64 Linux machine. I have rustup 1.2.0 installed.
Activity
Xudong-Huang commentedon Apr 13, 2017
have the same issue in Mac
paholg commentedon Apr 13, 2017
I have the same issue when Travis CI tries to install Rust nightly using
travis-cargo
. Stable and beta work, though.carols10cents commentedon Apr 13, 2017
@erickt and I are looking into this and coordinating investigation in the #rust-infra IRC room
erickt commentedon Apr 13, 2017
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
carols10cents commentedon Apr 13, 2017
from https://static.rust-lang.org/dist/channel-rust-nightly.toml, rls part is indeed missing
url
: that the other parts have:carols10cents commentedon Apr 13, 2017
wait though, there are other things in this file that don't have
url
:emmaworley commentedon Apr 13, 2017
I have the same issue on osx.
carols10cents commentedon Apr 13, 2017
acrichto> 2 bugs here
11:02 PM 1) rustup doesn't handle
available = false
well11:02 PM 2) we're not producing analysis packages for targets
carols10cents commentedon Apr 13, 2017
acrichto> rustup bug is here -
11:04 PM https://github.com/rust-lang-nursery/rustup.rs/blob/master/src/rustup-dist/src/manifest.rs#L231
11:04 PM that's just not handling the case where
available = false
11:04 PM
avialale = false
is intended for "this failed to build tonight but we decided to ship a nightly"11:04 PM in practice that's never been exercised
carols10cents commentedon Apr 13, 2017
Alex is fixing the rustbuild side of this but testing it might take some time and might not be fixed until tomorrow PDT.
sophiajt commentedon Apr 13, 2017
@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)
liuchong commentedon Apr 13, 2017
same on debian testing
alexcrichton commentedon Apr 13, 2017
I've submitted a fix for rust-lang/rust at rust-lang/rust#41267
37 remaining items