Skip to content

Starting with nightly-2021-01-13 (1.51) rustc fails to build archives on Windows 7 #81051

Closed

Description

E.g. cargo check --verbose on https://github.com/japaric/ufmt

F:\ufmt-master>cargo check --verbose
   Compiling unicode-xid v0.2.1
       Fresh ufmt-write v0.1.0 (F:\ufmt-master\write)
     Running `rustc --crate-name unicode_xid F:\.cargo\registry\src\github.com-1ecc6299db9
ec823\unicode-xid-0.2.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,art
ifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -
-cfg "feature=\"default\"" -C metadata=df09097284490053 -C extra-filename=-df0909728449005
3 --out-dir F:\ufmt-master\target\debug\deps -L dependency=F:\ufmt-master\target\debug\dep
s --cap-lints allow`
       Fresh proc-macro-hack v0.5.19
   Compiling proc-macro2 v1.0.24
     Running `rustc --crate-name proc_macro2 --edition=2018 F:\.cargo\registry\src\github.
com-1ecc6299db9ec823\proc-macro2-1.0.24\src\lib.rs --error-format=json --json=diagnostic-r
endered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no
-C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=b463
43984a7d2c00 -C extra-filename=-b46343984a7d2c00 --out-dir F:\ufmt-master\target\debug\dep
s -L dependency=F:\ufmt-master\target\debug\deps --extern unicode_xid=F:\ufmt-master\targe
t\debug\deps\libunicode_xid-df09097284490053.rmeta --cap-lints allow --cfg lexerror_displa
y --cfg hygiene --cfg use_proc_macro --cfg wrap_proc_macro --cfg proc_macro_span`
error: failed to build archive: permission denied

error: aborting due to previous error

error: could not compile `unicode-xid`

Caused by:
  process didn't exit successfully: `rustc --crate-name unicode_xid F:\.cargo\registry\src
\github.com-1ecc6299db9ec823\unicode-xid-0.2.1\src\lib.rs --error-format=json --json=diagn
ostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitc
ode=no -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=df09097284490053 -C extra-fi
lename=-df09097284490053 --out-dir F:\ufmt-master\target\debug\deps -L dependency=F:\ufmt-
master\target\debug\deps --cap-lints 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: build failed
rustc 1.51.0-nightly (e38fb306b 2021-01-14)
binary: rustc
commit-hash: e38fb306b7f5e65cca34df2dab1f0db15e1defb4
commit-date: 2021-01-14
host: x86_64-pc-windows-msvc
release: 1.51.0-nightly
LLVM version: 11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.ICEBreaker-LLVMBugs identified for the LLVM ICE-breaker groupO-windowsOperating system: WindowsP-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions