Unable to install dispatch-proxy (access denied when installing rayon-core)
xRebellion opened this issue · 1 comments
xRebellion commented
Hello, I am trying to install dispatch with cargo install dispatch-proxy
, but this kept on happening
For context I tried this with both cmd and powershell, both is running as administrator. But none seems to work. (This is on Windows 11)
Any idea on why is this happening?
error: failed to run custom build command for `rayon-core v1.10.2`
Caused by:
could not execute process `C:\Users\REBELL~1\AppData\Local\Temp\cargo-installoKyhd0\release\build\rayon-core-0e87e82985a34333\build-script-build` (never executed)
Caused by:
Access is denied. (os error 5)
Complete log:
Updating crates.io index
Installing dispatch-proxy v0.1.0
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.51
Compiling winapi v0.3.9
Compiling quote v1.0.23
Compiling unicode-ident v1.0.6
Compiling syn v1.0.107
Compiling cfg-if v1.0.0
Compiling memchr v2.5.0
Compiling once_cell v1.17.0
Compiling libc v0.2.139
Compiling log v0.4.17
Compiling serde v1.0.152
Compiling pin-project-lite v0.2.9
Compiling regex-syntax v0.6.28
Compiling lazy_static v1.4.0
Compiling tracing-core v0.1.30
Compiling crossbeam-utils v0.8.14
Compiling num-traits v0.2.15
Compiling num-integer v0.1.45
Compiling version_check v0.9.4
Compiling memoffset v0.7.1
Compiling aho-corasick v0.7.20
Compiling serde_json v1.0.92
Compiling windows_x86_64_msvc v0.42.1
Compiling regex-automata v0.1.10
Compiling crossbeam-epoch v0.9.13
Compiling itoa v1.0.5
Compiling regex v1.7.1
Compiling ryu v1.0.12
Compiling num_cpus v1.15.0
Compiling matchers v0.0.1
Compiling proc-macro-error-attr v1.0.4
Compiling tracing-log v0.1.3
Compiling sharded-slab v0.1.4
Compiling thread_local v1.1.4
Compiling scopeguard v1.1.0
Compiling tinyvec_macros v0.1.1
Compiling smallvec v1.10.0
Compiling tinyvec v1.6.0
Compiling windows-sys v0.42.0
Compiling proc-macro-error v1.0.4
Compiling tracing-serde v0.1.3
Compiling crossbeam-channel v0.5.6
Compiling tokio v1.25.0
Compiling unicode-width v0.1.10
Compiling rayon-core v1.10.2
Compiling cc v1.0.79
Compiling unicode-normalization v0.1.22
Compiling time v0.1.45
Compiling iana-time-zone v0.1.53
Compiling ansi_term v0.12.1
Compiling chrono v0.4.23
Compiling mio v0.8.5
error: failed to run custom build command for `rayon-core v1.10.2`
Caused by:
could not execute process `C:\Users\REBELL~1\AppData\Local\Temp\cargo-installoKyhd0\release\build\rayon-core-0e87e82985a34333\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 `dispatch-proxy v0.1.0`, intermediate artifacts can be found at `C:\Users\REBELL~1\AppData\Local\Temp\cargo-installoKyhd0`
xRebellion commented
Never mind, turns out kaspersky security cloud was blocking it for some reason. I paused the protection for a bit and now it works