Skip to content
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

multirust update do not fetch newest nightly #121

Open
hauleth opened this issue Jan 9, 2016 · 6 comments
Open

multirust update do not fetch newest nightly #121

hauleth opened this issue Jan 9, 2016 · 6 comments

Comments

@hauleth
Copy link

hauleth commented Jan 9, 2016

Multirust version:

multirust 0.7.0 (a20ea4a38 2016-01-06 18:09:30 -0800)

multirust update output:

multirust: updating existing install for 'stable'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'stable'
rustup: downloading toolchain for 'stable'
rustup: 'stable' is already up to date
multirust: updating existing install for 'beta'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'beta'
rustup: downloading toolchain for 'beta'
rustup: 'beta' is already up to date
multirust: updating existing install for 'nightly'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'nightly'
rustup: downloading toolchain for 'nightly'
rustup: 'nightly' is already up to date
multirust: 'stable' update succeeded
multirust: 'beta' update succeeded
multirust: 'nightly' update succeeded
multirust: stable revision:

rustc 1.5.0 (3d7cd77e4 2015-12-04)
cargo 0.6.0-nightly (e1ed995 2015-10-22)

multirust: beta revision:

rustc 1.6.0-beta.1 (2e48b593c 2015-12-09)
cargo 0.7.0-nightly (1af03be 2015-12-08)

multirust: nightly revision:

rustc 1.7.0-nightly (d5e229057 2016-01-04)
cargo 0.8.0-nightly (08da2f5 2015-12-21)

But what I have seen on https://static.rust-lang.org/dist/ there already are versions for 2016-01-05 and 2016-01-08.

@brson
Copy link
Owner

brson commented Jan 12, 2016

I haven't been able to reproduce this. Locally I have rustc 1.7.0-nightly (d70ab2bdf 2016-01-08) for nightly.

I wonder if something in the metadata got corrupted. There should be a new nightly published tomorrow. Maybe your multirust will successfully update then.

@jcaudle
Copy link
Contributor

jcaudle commented Jan 17, 2016

I saw this problem too, but it has disappeared now. I believe I had a problem with my installation of gpg which is now resolved though.

@caipre
Copy link

caipre commented Mar 22, 2016

I'm experiencing this now. I ran a multirust delete-data to see if that would resolve the issue, but no dice:

$ rustc --version
rustc 1.9.0-nightly (02310fd31 2016-03-19)

Curiously, there isn't even an entry for 2016-03-19 at http://static.rust-lang.org/dist/ . I did notice that index.json suspiciously has a timestamp with that date.

Edit: Turns out cargo runs in spite of the difference in builds. I grabbed the latest x86_64-unknown-linux-gnu.tar.gz as per the instructions on cross-compiling libcore.

Edit 2: Odd. The multirust libcore does match the one I grabbed (18402db3). I was comparing hashes of libcore and rustc, which may not be appropriate. Still, my nightly rustc reports a two day old build date.

Here's the output of multirust update:

$ multirust update
multirust: installing toolchain 'stable'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'stable'
rustup: downloading toolchain for 'stable'
######################################################################## 100.0%
gpg: assuming signed data in `/Users/nick/.multirust/rustup/dl/4f3a8d559c899f92b124/rust-1.7.0-x86_64-apple-darwin.tar.gz'
gpg: Signature made Tue Mar  1 21:13:57 2016 EST using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE
     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC
rustup: extracting installer
rustup: installing toolchain for 'stable'
install: creating uninstall script at /Users/nick/.multirust/toolchains/stable/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-x86_64-apple-darwin'
install: installing component 'rust-docs'
install: installing component 'cargo'

    Rust is ready to roll.

multirust: installing toolchain 'beta'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'beta'
rustup: downloading toolchain for 'beta'
######################################################################## 100.0%
gpg: assuming signed data in `/Users/nick/.multirust/rustup/dl/5e1970d9316836b89715/rust-beta-x86_64-apple-darwin.tar.gz'
gpg: Signature made Thu Mar  3 03:41:46 2016 EST using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE
     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC
rustup: extracting installer
rustup: installing toolchain for 'beta'
install: creating uninstall script at /Users/nick/.multirust/toolchains/beta/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-x86_64-apple-darwin'
install: installing component 'rust-docs'
install: installing component 'cargo'

    Rust is ready to roll.

multirust: installing toolchain 'nightly'
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'nightly'
rustup: downloading toolchain for 'nightly'
######################################################################## 100.0%
gpg: assuming signed data in `/Users/nick/.multirust/rustup/dl/f6f0dd2a0db89da3164a/rust-nightly-x86_64-apple-darwin.tar.gz'
gpg: Signature made Sun Mar 20 15:18:25 2016 EDT using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE
     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC
rustup: extracting installer
rustup: installing toolchain for 'nightly'
install: creating uninstall script at /Users/nick/.multirust/toolchains/nightly/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-x86_64-apple-darwin'
install: installing component 'rust-docs'
install: installing component 'cargo'

    Rust is ready to roll.

multirust: 'stable' update succeeded
multirust: 'beta' update succeeded
multirust: 'nightly' update succeeded
multirust: stable revision:

rustc 1.7.0 (a5d1e7a59 2016-02-29)
Process didn't exit successfully: `rustc -vV` (exit code: 1)
--- stderr
multirust: no default toolchain configured


multirust: beta revision:

rustc 1.8.0-beta.1 (facbfdd71 2016-03-02)
Process didn't exit successfully: `rustc -vV` (exit code: 1)
--- stderr
multirust: no default toolchain configured


multirust: nightly revision:

rustc 1.9.0-nightly (02310fd31 2016-03-19)
error: Process didn't exit successfully: `rustc -vV` (exit code: 1)
--- stderr
multirust: no default toolchain configured



real  3:55.60
user  16.522
sys   28.462

And verbose rustup output:

$ RUSTUP_VERBOSE=1 multirust update nightly
multirust: updating existing install for 'nightly'
rustup: rustup home exists but not asked to save. saving anyway
rustup: checking metadata version
rustup: got metadata version 1
rustup: gpg available. signatures will be verified
rustup: determining remote rust installer for 'nightly'
rustup: remote rust manifest: http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/channel-rust-nightly
rustup: downloading manifest for 'nightly'
rustup: download work dir: /Users/nick/.multirust/rustup/tmp/tmp-50930-0
rustup: download work dir: /Users/nick/.multirust/rustup/tmp/tmp-50930-1
rustup: downloading 'http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/channel-rust-nightly.sha256' to '/Users/nick/.multirust/rustup/tmp/tmp-50930-1'
rustup: moving '/Users/nick/.multirust/rustup/tmp/tmp-50930-1/channel-rust-nightly.sha256' to '/Users/nick/.multirust/rustup/tmp/tmp-50930-0/channel-rust-nightly.sha256'
rustup: cache dir: /Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47
rustup: moving '/Users/nick/.multirust/rustup/tmp/tmp-50930-0/channel-rust-nightly.sha256' to '/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly.sha256'
rustup: downloading 'http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/channel-rust-nightly.asc' to '/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly.asc'
rustup: downloading 'http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/channel-rust-nightly' to '/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly'
rustup: verifying checksums for '/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly'
rustup: sig work dir: /Users/nick/.multirust/rustup/tmp/tmp-50930-4
rustup: converting armored key to gpg
rustup: verifying signature '/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly.asc'
gpg: assuming signed data in `/Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47/channel-rust-nightly'
gpg: Signature made Sun Mar 20 15:18:18 2016 EDT using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE
     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC
rustup: detecting architecture
rustup: uname -s reports: Darwin
rustup: uname -m reports: x86_64
rustup: architecture is x86_64-apple-darwin
rustup: deleting cache dir /Users/nick/.multirust/rustup/dl/77b2dd3da4a825d8ce47
rustup: remote rust installer location: http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/rust-nightly-x86_64-apple-darwin.tar.gz
rustup: downloading toolchain for 'nightly'
rustup: download work dir: /Users/nick/.multirust/rustup/tmp/tmp-50930-5
rustup: download work dir: /Users/nick/.multirust/rustup/tmp/tmp-50930-6
rustup: downloading 'http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/rust-nightly-x86_64-apple-darwin.tar.gz.sha256' to '/Users/nick/.multirust/rustup/tmp/tmp-50930-6'
rustup: moving '/Users/nick/.multirust/rustup/tmp/tmp-50930-6/rust-nightly-x86_64-apple-darwin.tar.gz.sha256' to '/Users/nick/.multirust/rustup/tmp/tmp-50930-5/rust-nightly-x86_64-apple-darwin.tar.gz.sha256'
rustup: provided update hash: f6f0dd2a0db89da3164a
rustup: new update hash: f6f0dd2a0db89da3164a
rustup: 'nightly' is already up to date
rustup: leaving rustup home /Users/nick/.multirust/rustup

@brson
Copy link
Owner

brson commented Mar 24, 2016

@caipre The date reported by rustc is not the build date but the commit date. It's a common source of confusion. Have you successfully updated since filing this report? It may be working as intended, just confusingly.

@caipre
Copy link

caipre commented Mar 26, 2016

@brson Yes, multirust update pulled a new version a few days later. Not sure what the issue was, but things are working for me now. Is it possible that the build system for rust itself didn't update index.json correctly? The timestamp on that file was stale when I was experiencing the issue.

@brson
Copy link
Owner

brson commented Mar 28, 2016

The indexing is done as a nightly batch process independently from the rest of the build. It would not surprise me if somehow its indexes got distributed to the CDN before the files its indexing. Ugh...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants