rustup can't update nightly #51699
Copy link
Copy link
Closed
Labels
T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
There seems to be a malformed URL in the rustup manifest since 1.27 got released today.
durska:rust alex$ rustup self update
info: checking for self-updates
durska:rust alex$ rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'beta-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: latest update on 2018-06-22, rust version 1.28.0-nightly (662c70a59 2018-06-21)
info: downloading component 'rustc'
error: failed to parse url: 1.28.0-nightly (662c70a59 2018-06-21)/2018-06-22/rustc-nightly-x86_64-apple-darwin.tar.xz
info: checking for self-updates
stable-x86_64-apple-darwin unchanged - rustc 1.27.0 (3eda71b00 2018-06-19)
beta-x86_64-apple-darwin unchanged - rustc 1.28.0-beta.1 (8e6052e77 2018-06-21)
nightly-x86_64-apple-darwin update failed - rustc 1.28.0-nightly (990d8aa74 2018-05-25)
durska:rust alex$Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Activity
ishitatsuyuki commentedon Jun 22, 2018
Related to #51680?
nrc commentedon Jun 22, 2018
This is causing problems on Travis too, see for example rustfmt
Havvy commentedon Jun 22, 2018
This affects the mozilla overlay for nixpkgs as well, since that uses the same URLs.
mati865 commentedon Jun 22, 2018
Comparison of nightly and stable metadata for rustup:
Somehow
https://static.rust-lang.org/distgot replaced by1.28.0-nightly (662c70a59 2018-06-21)for latest nightly, other things seem fine.Opening https://static.rust-lang.org/dist/2018-06-22/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz in the browser starts downloading of the archive.
kennytm commentedon Jun 22, 2018
Regression caused by #50336.
Recognize the extra "LLVM tools versions" argument to build-manifest.
mati865 commentedon Jun 22, 2018
@kennytm you were few minutes faster.
build-manifesttool doesn't expect additional argument:rust/src/tools/build-manifest/src/main.rs
Lines 178 to 179 in 8d22af8
BtwForget about it, old commitrustfmtarg isn't there as well 😕kennytm commentedon Jun 22, 2018
@mati865 You're looking at an old commit 😄
rust/src/tools/build-manifest/src/main.rs
Lines 213 to 215 in 4b17d31
mati865 commentedon Jun 22, 2018
@kennytm Oops, commit from 27 Jul 2017.
Probably I should've had a bit more sleep 😒
Rollup merge of rust-lang#51703 - kennytm:fix-51699, r=nrc
wesbz commentedon Jun 22, 2018
Updating with a previous version such as
rustup update nightly-2018-06-18seems to work for me...4 remaining items
use specific rustfmt nightly (#51)
est31 commentedon Jun 22, 2018
For anyone wondering, PR #51703 has fixed the bug. It will take until the next scheduled nightly upload until rustup starts working again.
durka commentedon Jun 22, 2018
Should rustup tests be added as part of the release process?
emilyalbini commentedon Jun 22, 2018
There is already an open issue about testing rustup. rust-lang/rust-central-station#17
slaiyer commentedon Jun 23, 2018
@est31 when is the next scheduled nightly upload?
SimonSapin commentedon Jun 23, 2018
@slaiyer It should be in progress right now. https://github.com/rust-lang/rust-central-station/blob/12b28bc1c2/crontab#L7 runs at midnight UTC.
ZhangHanDong commentedon Jun 23, 2018
Mark-Simulacrum commentedon Jun 23, 2018
Nightly should release within the next 30 minutes, probably the next 10-15 minutes. Until then, yes, the command won't work.
kazcw commentedon Jun 23, 2018
2018-06-23 is live and the url is fixed
chore: Update pinned nightly so compiling works again
chore: Update pinned nightly so compiling works again
grossws commentedon Jan 10, 2019
Same issue with current meta for nightly:
From https://static.rust-lang.org/dist/channel-rust-nightly.toml:
kennytm commentedon Jan 10, 2019
@grossws Please reply to the stickied issue #57488, thanks.