rust-lang / rust-lang/rustup

Fail to install toolchain on windows

Open
#1,190 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

I'm having this output on attempt to install any toolchagin

PS c:\prog\projects> rustup install stable
info: syncing channel updates for 'stable-i686-pc-windows-gnu'
info: latest update on 2017-06-08, rust version 1.18.0 (03fc9d622 2017-06-06)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rust-mingw'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
warning: could not delete temp directory: C:\Users\Oleg\.rustup\tmp\ty9qmfl_ob7afb2o_dir
info: rolling back changes
error: failed to extract package
info: caused by: failed to set mtime for `C:\Users\Oleg\.rustup\tmp\ty9qmfl_ob7afb2o_dir\cargo/bin/cargo.exe`
info: caused by: The process cannot access the file because it is being used by another process. (os error 32)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the report. Start by reproducing rustup install stable on Windows and investigate the reported failure to set the modification time for cargo/bin/cargo.exe; done means identifying a reproducible cause and confirming that installation succeeds without the file-locking error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.