Skip to content

Check if a nightly build for the given date actually exists before attempting to install #761

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

Open
jimmycuadra opened this issue Oct 17, 2016 · 6 comments

Comments

@jimmycuadra
Copy link
Contributor

$ rustup --version
rustup 0.6.3 (a0e2132 2016-08-28)

$ rustup toolchain install nightly-2016-10-13
info: syncing channel updates for 'nightly-2016-10-13-x86_64-unknown-linux-gnu'
error: no release found for 'nightly-2016-10-13'

$ rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: downloading component 'rustc'
 37.2 MiB /  37.2 MiB (100 %)   1.4 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 44.5 MiB /  44.5 MiB (100 %)   1.6 MiB/s ETA:   0 s
info: downloading component 'rust-docs'
  9.2 MiB /   9.2 MiB (100 %)   1.4 MiB/s ETA:   0 s
info: downloading component 'cargo'
  3.9 MiB /   3.9 MiB (100 %)   1.1 MiB/s ETA:   0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'rust-docs'
info: installing component 'cargo'

  nightly-x86_64-unknown-linux-gnu installed - rustc 1.14.0-nightly (098d22845 2016-10-13)

The most recent nightly I'm able to install by date is 2016-10-11.

@jonas-schievink
Copy link

I don't think the nightly-2016-10-13 nightly exists. See http://rusty-dash.com/nightlies, there are a few build failures for the recent nightlies. nightly-2016-10-17 works fine for me.

@jimmycuadra
Copy link
Contributor Author

But if I just installed "nightly" without a date, 2016-10-13 is the one it installed. That's shown in the output above. I was also able to install 2016-10-13 on macOS.

@steveklabnik
Copy link
Member

The dates can be off a day; it's possible that that's the one from 2016-10-14. Install it as well and check.

@cardoe
Copy link

cardoe commented Nov 2, 2016

@steveklabnik Is there a way to sync that up at all? Just got caught up by this as well and found this issue.

@Diggsey
Copy link
Contributor

Diggsey commented Nov 2, 2016

@cardoe There's an open issue for it: rust-lang/rust#36773 - the problem is that the dates reported by rustc and cargo are the dates of the most recent commits to each of those repositories, and not the actual build date. Apparently it's not an easy thing to fix.

@cardoe
Copy link

cardoe commented Nov 2, 2016

ah. I appreciated the background @Diggsey. And also good thing to get the issue linked.

@jimmycuadra jimmycuadra changed the title Installing nightly from a specific date stopped working Check if a nightly build for the given date actually exists before attempting to install Nov 29, 2016
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

5 participants