-
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
Bad nightly source tarball (contained a symlink) #2434
Comments
Likewise on Win10 x64 (MSVC ABI, if it matters). |
This looks like toolchains have started including symlinks, which they only
can on some platforms, and definitely not on windows, so I think we should
reassign this bug to rust itself.
|
There's already a PR to fix this at rust-lang/rust#74578 |
I am also seeing this on linux (Ubuntu 18.04) |
Just ran into this as well on Manjaro 20.0.3 |
Seen on macOS 10.15.6 |
It's not surprising, it's a bug in the channel generation, not a bug in Rustup. See #2434 (comment) |
Seems like rust-lang/rust#74578 is merged to master and yet I see failures on update
|
It was merged like 10 minutes ago, what do you expect? Nightlies are built once a day - well, night :). |
Also you can expect to encounter this if the next few nightlys lack a component you depend on, unless you remove those components, rustup will be unable to update nightly until it has everything you need. |
More accurately, around midnight GMT/UTC (not exactly sure what timezone) the last PR that landed is promoted to "nightly". So you have to wait another 13h-14h or so before a new nightly is published. |
This was fixed in rust itself |
Problem
Receiving an error on update (stable/nightly) leading to rollback
Steps
❯ rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: latest update on 2020-07-21, rust version 1.47.0-nightly (f9a308636 2020-07-20)
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
info: downloading component 'rustc'
48.1 MiB / 48.1 MiB (100 %) 43.6 MiB/s in 1s ETA: 0s
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: removing previous version of component 'rust-analysis'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-docs'
info: installing component 'rust-analysis'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'rust-src'
info: rolling back changes
error: could not rename component file from '/Users/chetanconikee/.rustup/tmp/gx57en2l_r5p93hz_dir/bk' to '/Users/chetanconikee/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin'
error: tar entry kind 'Symlink' is not supported
info: checking for self-updates
nightly-x86_64-apple-darwin update failed - rustc 1.47.0-nightly (d7f945163 2020-07-19)
info: cleaning up downloads & tmp directories
The text was updated successfully, but these errors were encountered: