Skip to content

missing OSX nightly #46391

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

Closed
durka opened this issue Nov 30, 2017 · 13 comments
Closed

missing OSX nightly #46391

durka opened this issue Nov 30, 2017 · 13 comments
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Comments

@durka
Copy link
Contributor

durka commented Nov 30, 2017

Rustup "updates" nightly by apparently deleting rustc.

Another user on IRC reported a similar error "(toolchain not installed)" instead of "(rustc does not exist)".

$ 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 2017-11-30, rust version 1.24.0-nightly (0a2e9ade8 2017-11-29)
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: removing component 'rust-analysis'
info: checking for self-updates

  stable-x86_64-apple-darwin unchanged - rustc 1.22.1 (05e2e1c41 2017-11-22)
    beta-x86_64-apple-darwin unchanged - rustc 1.23.0-beta.1 (082b0ff02 2017-11-21)
   nightly-x86_64-apple-darwin updated - (rustc does not exist)

durska:xxx alex$ rustc +nightly -vV
error: toolchain 'nightly-x86_64-apple-darwin' does not have the binary `rustc`
durska:xxx 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: checking for self-updates

   stable-x86_64-apple-darwin unchanged - rustc 1.22.1 (05e2e1c41 2017-11-22)
     beta-x86_64-apple-darwin unchanged - rustc 1.23.0-beta.1 (082b0ff02 2017-11-21)
  nightly-x86_64-apple-darwin unchanged - (rustc does not exist)

durska:xxx alex$
@durka
Copy link
Contributor Author

durka commented Nov 30, 2017

Is this related to #46360 @kennytm? (If so I assume the nightlies will just reappear tomorrow?)

@gdf8gdn8
Copy link

More verbose output:

$ rustup -v install  nightly
verbose: read metadata version: '12'
verbose: installing toolchain 'nightly-x86_64-apple-darwin'
verbose: toolchain directory: '$HOME/.rustup/toolchains/nightly-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
verbose: creating temp file: $HOME/.rustup/tmp/yr3e2ixwktwo4zjk_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: $HOME.rustup/tmp/yr3e2ixwktwo4zjk_file
verbose: no update hash at: '$HOME/.rustup/update-hashes/nightly-x86_64-apple-darwin'
verbose: creating temp file: $HOME.rustup/tmp/za2zedzj74xrw5pd_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: $HOME/.rustup/tmp/za2zedzj74xrw5pd_file.toml
info: latest update on 2017-11-30, rust version 1.24.0-nightly (0a2e9ade8 2017-11-29)
verbose: toolchain is already up to date

  nightly-x86_64-apple-darwin unchanged - (toolchain not installed)`

@kennytm
Copy link
Member

kennytm commented Nov 30, 2017

@durka Yes this should reappear tomorrow... sorry for the mess 😓

This should happen rarely, but I think rustup should refuse to upgrade if the rustc tarball cannot be downloaded.

@kennytm kennytm added C-bug Category: This is a bug. O-macos Operating system: macOS T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 30, 2017
@covercash2
Copy link

covercash2 commented Nov 30, 2017

download yesterdays nightly:

rustup install nightly-2017-11-29

for anyone with this problem.

edit: i also had to mv nightly-2017-11-29-x86_64-apple-darwin nightly-x86_64-apple-darwin to get cargo to install anything requiring nightly.

@steveklabnik
Copy link
Member

This is causing travis failures as well, incidentally

@durka
Copy link
Contributor Author

durka commented Nov 30, 2017 via email

@kennytm
Copy link
Member

kennytm commented Dec 1, 2017

The macOS nightlies are now available on 2017-12-01 (version: rustc 1.24.0-nightly (23032d0af 2017-11-30)). Closing.

@kennytm kennytm closed this as completed Dec 1, 2017
@idevz
Copy link

idevz commented Dec 11, 2017

did this tomorrow will be ok?

  nightly-x86_64-apple-darwin unchanged - (toolchain not installed)

I did those below to solve this problem:

  1. uninstall the old stable rust by exec rustup self uninstall
    2.reinstall rust by exec curl https://sh.rustup.rs -sSf | sh, but not use the default option, select 2 for set customize installation, and set the toolchain with nightly.
Current installation options:

   default host triple: x86_64-apple-darwin
     default toolchain: nightly
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation

3.after nightly rust installed, exec rustup install stable to install stable rust.

@oconnor663
Copy link
Contributor

This appears to have happened again tonight? https://travis-ci.org/oconnor663/bao/jobs/449212753

@jtodd-okta
Copy link

Yep, I'm seeing this as well.

@oconnor663
Copy link
Contributor

And now it's fixed again for me.

@jfirebaugh
Copy link
Contributor

I think this is happening for beta too?

$ rustup -v install beta
verbose: read metadata version: '12'
verbose: installing toolchain 'beta-x86_64-apple-darwin'
verbose: toolchain directory: '/Users/john/.rustup/toolchains/beta-x86_64-apple-darwin'
info: syncing channel updates for 'beta-x86_64-apple-darwin'
verbose: creating temp file: /Users/john/.rustup/tmp/ivcjc5f4zeycu6zv_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-beta.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: /Users/john/.rustup/tmp/ivcjc5f4zeycu6zv_file
verbose: no update hash at: '/Users/john/.rustup/update-hashes/beta-x86_64-apple-darwin'
verbose: creating temp file: /Users/john/.rustup/tmp/y0a8pmfard912p24_file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-beta.toml'
verbose: downloading with curl
verbose: checksum passed
verbose: deleted temp file: /Users/john/.rustup/tmp/y0a8pmfard912p24_file.toml
info: latest update on 2018-11-09, rust version 1.31.0-beta.5 (bf00632e3 2018-11-08)
verbose: toolchain is already up to date

  beta-x86_64-apple-darwin unchanged - (toolchain not installed)

@hadv
Copy link

hadv commented Mar 25, 2020

did this tomorrow will be ok?

  nightly-x86_64-apple-darwin unchanged - (toolchain not installed)

I did those below to solve this problem:

  1. uninstall the old stable rust by exec rustup self uninstall
    2.reinstall rust by exec curl https://sh.rustup.rs -sSf | sh, but not use the default option, select 2 for set customize installation, and set the toolchain with nightly.
Current installation options:

   default host triple: x86_64-apple-darwin
     default toolchain: nightly
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation

3.after nightly rust installed, exec rustup install stable to install stable rust.

Great! It worked for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

10 participants