Problem with cargo update

⚓ Rust    📅 2026-05-05    👤 surdeus    👁️ 1      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Problem with cargo update

When I run this command:
cargo install cargo-update
I get this error:
Compiling icu_normalizer_data v2.2.0
error: failed to run custom build command for windows_x86_64_msvc v0.48.5

Caused by:
could not execute process C:\Users\murra\AppData\Local\Temp\cargo-installVF81M6\release\build\windows_x86_64_msvc-f8446bfacc4f5f49\build-script-build (never executed)

Caused by:
Access is denied. (os error 5)
warning: build failed, waiting for other jobs to finish...
error: failed to compile cargo-update v20.0.0, intermediate artifacts can be found at C:\Users\murra\AppData\Local\Temp\cargo-installVF81M6.
To reuse those artifacts with a future compilation, set the environment variable CARGO_BUILD_BUILD_DIR to that path.

FYI: this was run from "Command Prompt" with administrator privileges

3 posts - 3 participants

Read full topic

🏷️ Rust_feed