Rustup failing to install nightly without errors?

Hi and sorry for the very simple question; but I am either doing something very stupid, or something very wrong is with my rust installation on Windows10? I am simply running rustup --verbose toolchain install nightly and getting:

verbose: read metadata version: '12'
verbose: installing toolchain 'nightly-x86_64-pc-windows-msvc'
verbose: toolchain directory: 'C:\Users\NaOH\.rustup\toolchains\nightly-x86_64-pc-windows-msvc'
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
verbose: creating temp file: C:\Users\NaOH\.rustup\tmp\yifzc4c47beocz2u_file
verbose: downloading file from: ''
verbose: downloading with reqwest
verbose: deleted temp file: C:\Users\NaOH\.rustup\tmp\yifzc4c47beocz2u_file
verbose: no update hash at: 'C:\Users\NaOH\.rustup\update-hashes\nightly-x86_64-pc-windows-msvc'
verbose: creating temp file: C:\Users\NaOH\.rustup\tmp\2jtuen8zirvfpcb1_file.toml
verbose: downloading file from: ''
verbose: downloading with reqwest
verbose: checksum passed
verbose: creating temp file: C:\Users\NaOH\.rustup\tmp\b9ift49mwif6y5fr_file
verbose: downloading file from: ''
verbose: downloading with reqwest
verbose: deleted temp file: C:\Users\NaOH\.rustup\tmp\b9ift49mwif6y5fr_file
verbose: Good signature from on from:
verbose: from builtin Rust release key
verbose:   RSA/85AB96E6-FA1BE5FE - Rust Language (Tag and Release Signing Key) <>
verbose:   Fingerprint: 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE
verbose: deleted temp file: C:\Users\NaOH\.rustup\tmp\2jtuen8zirvfpcb1_file.toml
info: latest update on 2020-09-12, rust version 1.48.0-nightly (99111606f 2020-09-11)
verbose: toolchain is already up to date

  nightly-x86_64-pc-windows-msvc unchanged - (toolchain not installed)

info: checking for self-updates

That is... the toolchain is not being installed but no errors are raised?

rustup --version
rustup 1.22.1 (b01adbbc3 2020-07-08)

rustup toolchain list
stable-x86_64-pc-windows-msvc (default)

Thanks for any help!

1 Like

I would probably just delete ~/.rustup and start over. I don’t know of any great mechanisms to debug the issue.

Thanks for the reply; I deleted .rustup and still it won't install nightly. It will happily install stable again though... very weird :confused:

I'm getting the same thing on GitHub Actions :confused: It just started failing recently.

Ah, good point... this was my first time installing nightly so it didn't cross my mind to install a previous version. rustup toolchain install nightly-2020-09-11 worked; thanks for the replies!

1 Like

This issue is relevant to Github Actions using actions-rs:

If you select a component (such as clippy or rustfmt), then it'll be more forgiving, but if it's just rustc then it will fail when the upstream builder fails.