racer upgrade failed, cfg-if permission denied
gotope opened this issue · 0 comments
windows 7 x64, has installed racer 2.1.41, update to 2.1.42, 2.1.43 failed
active toolchain
nightly-x86_64-pc-windows-msvc (default)
rustc 1.51.0-nightly (04caa632d 2021-01-30)
C:>cargo +nightly install racer --verbose
Updating crates.io index
Installing racer v2.1.43
Compiling autocfg v1.0.1
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Running rustc --crate-name autocfg D:\rust\.cargo\registry\src\github.com- 1ecc6299db9ec823\autocfg-1.0.1\src\lib.rs --error-format=json --json=diagnostic- rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=432941eabbc757cb -C extra-filename=-432941e abbc757cb --out-dir e:\Temp\cargo-install1A5GNs\release\deps -L dependency=e:\Te mp\cargo-install1A5GNs\release\deps --cap-lints allow
Running rustc --crate-name cfg_if --edition=2018 D:\rust\.cargo\registry\s rc\github.com-1ecc6299db9ec823\cfg-if-1.0.0\src\lib.rs --error-format=json --jso n=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,l ink -C opt-level=3 -C embed-bitcode=no -C metadata=ba25863816bc4358 -C extra-fil ename=-ba25863816bc4358 --out-dir e:\Temp\cargo-install1A5GNs\release\deps -L de pendency=e:\Temp\cargo-install1A5GNs\release\deps --cap-lints allow
Running rustc --crate-name build_script_build --edition=2018 D:\rust\.carg o\registry\src\github.com-1ecc6299db9ec823\proc-macro2-1.0.24\build.rs --error-f ormat=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg " feature=\"proc-macro\"" -C metadata=7c1706e710cf616e -C extra-filename=-7c1706e7 10cf616e --out-dir e:\Temp\cargo-install1A5GNs\release\build\proc-macro2-7c1706e 710cf616e -L dependency=e:\Temp\cargo-install1A5GNs\release\deps --cap-lints all ow
Running rustc --crate-name unicode_xid D:\rust\.cargo\registry\src\github. com-1ecc6299db9ec823\unicode-xid-0.2.1\src\lib.rs --error-format=json --json=dia gnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link - C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metada ta=47906e3e60967fcd -C extra-filename=-47906e3e60967fcd --out-dir e:\Temp\cargo- install1A5GNs\release\deps -L dependency=e:\Temp\cargo-install1A5GNs\release\dep s --cap-lints allow
error: failed to build archive: permission denied
error: aborting due to previous error
error: could not compile cfg-if
Caused by:
process didn't exit successfully: rustc --crate-name cfg_if --edition=2018 D: \rust\.cargo\registry\src\github.com-1ecc6299db9ec823\cfg-if-1.0.0\src\lib.rs -- error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --e mit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ba2586 3816bc4358 -C extra-filename=-ba25863816bc4358 --out-dir e:\Temp\cargo-install1A 5GNs\release\deps -L dependency=e:\Temp\cargo-install1A5GNs\release\deps --cap-l ints allow
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: failed to build archive: permission denied
error: aborting due to previous error
error: failed to build archive: permission denied
error: aborting due to previous error
error: failed to compile racer v2.1.43
, intermediate artifacts can be found at
e:\Temp\cargo-install1A5GNs
Caused by:
build failed