-
Notifications
You must be signed in to change notification settings - Fork 945
rustup update nightly fails #268
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
Just encountered the same error on Ubuntu:
|
Can confirm on windows and linux. |
This was caused by rust-lang-deprecated/rust-buildbot@70357d9, fixed in rust-lang-deprecated/rust-buildbot@d4319e0, and should be ready by tomorrow night. In either case, though, seems like rustup should be resilient to slightly malformed manifests? |
@alexcrichton This check is to explicitly to guard against the servers producing incorrect manifests (and it worked!). For this particular check we might instead silently note that the component is busted and pretend it doesn't exist (if it's optional). If a required component is broken we might pretend the whole host architecture doesn't exist. |
We could also run the rustup manifest validator, such as it is, on the server before deploying (I'd strongly prefer not deploying bogus data). |
Ah yeah a validator is probably the best way to go here. |
Same here with Windows:
|
It's working for me now (must've built a new nightly). |
In the meantime I'm going to change this error to more clearly indicate this isn't an end-user problem. |
triage - @brson I think this can be closed. |
I'm getting this error for $ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
info: downloading installer
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios
info: caused by: package not found: 'rust-analysis'
rustup: command failed: /tmp/tmp.fPP2ubNCWO/rustup-init -y --default-toolchain nightly
|
Getting it on Windows 10 Pro x64 1607 as well: PS C:\Users\FaultyRAM> rustup --verbose update
verbose: read metadata version: '12'
verbose: updating existing install for 'nightly-x86_64-pc-windows-msvc'
verbose: toolchain directory: 'C:\Users\FaultyRAM\.rustup\toolchains\nightly-x86_64-pc-windows-msvc'
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
verbose: creating temp file: C:\Users\FaultyRAM\.rustup\tmp\grm_04yq8kfb9364_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: C:\Users\FaultyRAM\.rustup\tmp\grm_04yq8kfb9364_file
verbose: creating temp file: C:\Users\FaultyRAM\.rustup\tmp\7f5qejt2hto7k70z_file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml'
verbose: downloading with curl
verbose: checksum passed
verbose: deleted temp file: C:\Users\FaultyRAM\.rustup\tmp\7f5qejt2hto7k70z_file.toml
error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios
info: checking for self-updates
nightly-x86_64-pc-windows-msvc update failed - rustc 1.17.0-nightly (306035c21 2017-02-18) |
|
I have the same problem :
|
@alexcrichton linked this patch as a fix in another issue: rust-lang/rust#40111 |
On OS X:
The text was updated successfully, but these errors were encountered: