Verification
Problem
component download failed under parallel
Steps
component download failed under parallel
$ rm -rf ~/.rustup && fd Cargo.toml -x env -C {//} cargo build
info: syncing channel updates for ...
info: latest update on ... for version ...
info: downloading ... components
info: rolling back changes
error: component download failed for clippy-x86_64-unknown-linux-gnu: could not rename 'downloaded' file from '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d.partial' to '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d': No such file or directory (os error 2): No such file or directory (os error 2)
info: syncing channel updates for ...
info: latest update on ... for version ...
info: downloading ... components
info: rolling back changes
error: component download failed for clippy-x86_64-unknown-linux-gnu: could not rename 'downloaded' file from '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d.partial' to '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d': No such file or directory (os error 2): No such file or directory (os error 2)
info: syncing channel updates for ...
info: latest update on ... for version ...
info: downloading ... components
info: rolling back changes
error: component download failed for cargo-x86_64-unknown-linux-gnu: could not rename 'downloaded' file from '~/.rustup/downloads/c5421d7fad5e5c3596ba6c0748e4441a87deb237a56e1ef7c1551c0dc93dd3cd.partial' to '~/.rustup/downloads/c5421d7fad5e5c3596ba6c0748e4441a87deb237a56e1ef7c1551c0dc93dd3cd': No such file or directory (os error 2): No such file or directory (os error 2)
info: syncing channel updates for ...
info: latest update on ... for version ...
info: downloading ... components
info: rolling back changes
error: component download failed for clippy-x86_64-unknown-linux-gnu: could not rename 'downloaded' file from '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d.partial' to '~/.rustup/downloads/fea05854f7f99eab2551578ac013c7159d9679ea657e45516bdb0c31906cf90d': No such file or directory (os error 2): No such file or directory (os error 2)
Possible Solution(s)
workaround component download failed by not parallel
$ rm -rf ~/.rustup && for dir in $(fd Cargo.toml -x echo {//}); do env -C "$dir" cargo build; done
info: syncing channel updates for ...
info: latest update on ... for version ...
info: downloading ... components
Updating `...` index
Downloaded ... ... (registry `...`)
...
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
Notes
No response
Rustup version
Installed toolchains
OS version
Verification
Problem
component download failed under parallel
Steps
component download failed under parallel
Possible Solution(s)
workaround component download failed by not parallel
Notes
No response
Rustup version
rustup 1.29.0Installed toolchains
$ rm -rf ~/.rustupOS version
nixos