Proceed with standard installation (default - just press enter)
Customize installation
Cancel installation
info: profile set to 'default'
info: default host triple is x86_64-pc-windows-msvc
warning: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2024-06-13, rust version 1.79.0 (129f3b996 2024-06-10)
info: downloading component 'rustc'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rust-docs'
info: downloading component 'rustfmt'
info: downloading component 'clippy'
info: removing previous version of component 'rustc'
warning: during uninstall component rustc was not found
info: removing previous version of component 'cargo'
warning: during uninstall component cargo was not found
info: removing previous version of component 'rust-std'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-docs'
warning: during uninstall component rust-docs was not found
info: removing previous version of component 'rustfmt'
warning: during uninstall component rustfmt was not found
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: installing component 'rustc'
57.7 MiB / 57.7 MiB (100 %) 6.8 MiB/s in 8s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-std'
18.3 MiB / 18.3 MiB (100 %) 7.0 MiB/s in 2s ETA: 0s
info: installing component 'rust-docs'
15.4 MiB / 15.4 MiB (100 %) 1.1 MiB/s in 21s ETA: 0s
12 IO-ops / 13 IO-ops ( 92 %) 0 IOPS in 12m 44s ETA: Unknown
The ETA remains unknown. The 12m 44s keeps going up. Unable to close the installer CLI when it reaches this point.
There's more than 400 GB of disk space available. There are no disk errors. I rebooted and the result is the same as before. Using safe mode removed all instances of previously installed rust toolchains. Removed the VS Code Rust Analyzer extension. It still gets stuck.
warning: Updating existing toolchain, profile choice will be ignored
From the original output you posted. Does this still appear in the output when trying again? Worth trying to understand what is causing that.
This is unusual, and I hope you can get it working soon. I'm not an expert in rustup but I assume it's possible that you're hitting some edge case that will need a fix. Either that or there is something wrong with your setup/environment that they may be more familiar with.
This is why I encourage you to raise an issue on the repo - some experts may be able to review it. Even if it does turn out to be an issue on your end, other users can find your issue if they have the same problem
Another shot in the dark: is "Controlled folder access" turned on? I know that can sometimes cause inexplicable failures with seemingly random programs.
I tried both. First upgrading, it stalled at the last line having an ETA Unknown. The disk usage was below 5%. It always gets stalled after the installation of 'rust-docs'.
Then removed all previous installed toolchains. Removed it from PATH to. Tried a fresh install. Still gets stuck at the last line having an ETA Unknown. All connections were working properly. It's not working. My environment has no controlled folder access, as it is user folder install.
I might have to wait for the next stable release of rustup-init.exe or the next Windows Update Tuesday and try it again. Clean install/reinstall of Windows is not on the table.
Alright, Windows Update Tuesday fixed the issue with the high disk usage during the install of the development tools or during an existing rust toolchain update.