-
Notifications
You must be signed in to change notification settings - Fork 926
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
rustup
hanging during self-update on Windows
#2147
Labels
Comments
So this is not to do with nightly, but with rustup self update, which
happens automatically. Could you run that under procmon or etw and see what
file activity is happening? It may be waiting for a lock. I don't have time
just yet to look into the code side of it.
thank you.
|
rustup
handing during self-update on Windows
rustup
handing during self-update on Windowsrustup
hanging during self-update on Windows
Heisenbug: I captured Process Monitor trace, but update was succesfull. Maybe because I tried at first run Full output: D:\Projects\other>rustup self update
info: checking for self-updates
info: downloading self-update
info: rustup updated successfully to 1.20.2
D:\Projects\other>rustup update
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: syncing channel updates for 'beta-x86_64-pc-windows-msvc'
info: latest update on 2019-12-09, rust version 1.40.0-beta.5 (b509d9b59 2019-12-08)
info: downloading component 'rustc'
36.0 MiB / 36.0 MiB (100 %) 4.5 MiB/s in 9s ETA: 0s
info: downloading component 'rust-std'
15.7 MiB / 15.7 MiB (100 %) 4.5 MiB/s in 3s ETA: 0s
info: downloading component 'cargo'
info: downloading component 'rust-docs'
11.9 MiB / 11.9 MiB (100 %) 4.7 MiB/s in 3s ETA: 0s
info: removing previous version of component 'rustc'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-docs'
info: installing component 'rustc'
36.0 MiB / 36.0 MiB (100 %) 12.0 MiB/s in 4s ETA: 0s
info: installing component 'rust-std'
15.7 MiB / 15.7 MiB (100 %) 8.4 MiB/s in 2s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
11.9 MiB / 11.9 MiB (100 %) 411.2 KiB/s in 1m 3s ETA: 0s
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
info: latest update on 2019-12-11, rust version 1.41.0-nightly (7dbfb0a8c 2019-12-10)
info: downloading component 'rustc'
35.9 MiB / 35.9 MiB (100 %) 4.6 MiB/s in 9s ETA: 0s
info: downloading component 'rust-std'
14.9 MiB / 14.9 MiB (100 %) 4.7 MiB/s in 3s ETA: 0s
info: downloading component 'cargo'
info: downloading component 'rust-docs'
12.0 MiB / 12.0 MiB (100 %) 3.8 MiB/s in 3s ETA: 0s
info: downloading component 'rustc-dev'
172.8 MiB / 172.8 MiB (100 %) 4.6 MiB/s in 40s ETA: 0s
info: downloading component 'rust-src'
info: downloading component 'rust-analysis'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rustc-dev'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'rust-analysis'
info: installing component 'rustc'
35.9 MiB / 35.9 MiB (100 %) 11.0 MiB/s in 18s ETA: 0s
9 iops / 9 iops (100 %) 6 iops/s in 1s ETA: 0s
info: installing component 'rust-std'
14.9 MiB / 14.9 MiB (100 %) 10.4 MiB/s in 2s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
12.0 MiB / 12.0 MiB (100 %) 688.0 KiB/s in 31s ETA: 0s
info: retrying renaming 'D:\Users\mingun\.rustup\tmp\h1uup6wfz6l5b8f2_dir\rust-docs\share/doc/rust/html' to 'D:\Users\mingun\.rustup\toolchains\nightly-x86_ 64-pc-windows-msvc\share/doc/rust/html'
info: installing component 'rustc-dev'
172.8 MiB / 172.8 MiB (100 %) 10.6 MiB/s in 22s ETA: 0s
7 iops / 7 iops (100 %) 1 iops/s in 11s ETA: 0s
info: installing component 'rust-src'
2.3 MiB / 2.3 MiB (100 %) 1.1 MiB/s in 3s ETA: 0s
info: installing component 'rust-analysis'
info: checking for self-updates
stable-x86_64-pc-windows-msvc unchanged - rustc 1.39.0 (4560ea788 2019-11-04)
beta-x86_64-pc-windows-msvc updated - rustc 1.40.0-beta.5 (b509d9b59 2019-12-08)
nightly-x86_64-pc-windows-msvc updated - rustc 1.41.0-nightly (7dbfb0a8c 2019-12-10)
D:\Projects\other> |
Probably a #2441 duplicate - perhaps a failed wait-for-parent-to-exit call. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
This is the second time rustup hangs at the end of the installation. At first I thought it was a one-off problem because of a certain nightly, but it 's repeated a second time. The first time was about a month ago. There have already been several similar problems, but all of them are closed without any explanation.
Current cmd output:
Steps
rustup update
Notes
When process hang:
Output of
rustup --version
:Output of
rustup show
:After killing hanging process:
The text was updated successfully, but these errors were encountered: