Open
Bug 1570025
Opened 6 years ago
Updated 3 years ago
Rust frequently fails with "Compiler not supported"
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: mossop, Unassigned)
Details
(Keywords: dogfood, in-triage)
For the past half week or so periodically, usually during an incremental build, rust will complain that it doesn't support my compiler. It will often do it for many but not all crates. Sometimes rebuilding again works. Sometimes it gets worse.
0:07.01 Compiling lazy_static v1.2.0
0:07.01 Compiling utf8-ranges v1.0.0
0:07.01 Compiling regex-syntax v0.4.1
0:07.01 Compiling quick-error v1.2.1
0:07.01 Compiling cfg-if v0.1.6
0:07.01 Compiling either v1.1.0
0:07.01 Compiling unicode-width v0.1.4
0:07.01 Compiling strsim v0.7.0
0:07.01 Compiling linked-hash-map v0.5.1
0:07.21 Compiling unicode-xid v0.1.0
0:07.29 error: failed to execute compile
0:07.29 caused by: Compiler not supported
0:07.30 error: Could not compile `unicode-width`.
0:07.30 warning: build failed, waiting for other jobs to finish...
0:07.30 error: failed to execute compile
0:07.30 caused by: Compiler not supported
0:07.30 error: Could not compile `regex-syntax`.
0:07.30 warning: build failed, waiting for other jobs to finish...
0:07.30 error: failed to execute compile
0:07.30 caused by: Compiler not supported
0:07.30 error: failed to execute compile
0:07.31 caused by: Compiler not supported
0:07.31 error: Could not compile `strsim`.
0:07.31 warning: build failed, waiting for other jobs to finish...
0:07.31 error: failed to execute compile
0:07.31 caused by: Compiler not supported
0:07.31 error: Could not compile `either`.
0:07.32 warning: build failed, waiting for other jobs to finish...
0:07.32 error: Could not compile `quick-error`.
0:07.32 warning: build failed, waiting for other jobs to finish...
0:07.32 Compiling cc v1.0.34
0:07.32 Compiling itoa v0.4.1
0:07.33 Compiling glob v0.2.11
0:07.33 Compiling cranelift-entity v0.32.0 (https://github.com/CraneStation/Cranelift?rev=312516a69da03dc06eace32f61412389a8dcadf3#312516a6)
0:07.34 Compiling lazy_static v1.2.0
0:07.35 error: failed to execute compile
0:07.35 caused by: Compiler not supported
0:07.35 error: Could not compile `cranelift-entity`.
0:07.35 warning: build failed, waiting for other jobs to finish...
0:07.35 error: failed to execute compile
0:07.35 caused by: Compiler not supported
0:07.36 error: Could not compile `itoa`.
0:07.36 warning: build failed, waiting for other jobs to finish...
0:07.36 error: failed to execute compile
0:07.36 caused by: Compiler not supported
0:07.36 error: Could not compile `lazy_static`.
0:07.36 warning: build failed, waiting for other jobs to finish...
0:07.37 error: failed to execute compile
0:07.37 caused by: Compiler not supported
0:07.37 error: Could not compile `glob`.
0:07.37 warning: build failed, waiting for other jobs to finish...
0:07.37 error: failed to execute compile
0:07.37 caused by: Compiler not supported
0:07.37 error: Could not compile `cc`.
0:07.37 warning: build failed, waiting for other jobs to finish...
0:07.68 Compiling version_check v0.1.5
0:07.68 Compiling autocfg v0.1.2
0:07.68 Compiling nodrop v0.1.12
0:07.68 Compiling cfg-if v0.1.6
0:07.68 Compiling rand_core v0.4.0
0:07.68 Compiling lazy_static v1.2.0
0:07.69 error: failed to execute compile
0:07.69 caused by: Compiler not supported
0:07.69 error: failed to execute compile
0:07.69 caused by: Compiler not supported
0:07.69 error: failed to execute compile
0:07.70 caused by: Compiler not supported
0:07.70 error: failed to execute compile
0:07.70 caused by: Compiler not supported
0:07.70 error: failed to execute compile
0:07.70 caused by: Compiler not supported
0:07.70 error: failed to execute compile
0:07.70 caused by: Compiler not supported
0:07.70 error: Could not compile `autocfg`.
0:07.70 warning: build failed, waiting for other jobs to finish...
0:07.70 error: Could not compile `rand_core`.
0:07.70 warning: build failed, waiting for other jobs to finish...
0:07.70 error: Could not compile `version_check`.
0:07.70 warning: build failed, waiting for other jobs to finish...
0:07.70 error: Could not compile `nodrop`.
0:07.70 warning: build failed, waiting for other jobs to finish...
0:07.70 error: Could not compile `lazy_static`.
0:07.70 warning: build failed, waiting for other jobs to finish...
0:07.78 error: Could not compile `cfg-if`.
0:07.78 To learn more, run the command again with --verbose.
0:07.78 make[4]: *** [force-cargo-program-build] Error 101
0:07.78 make[3]: *** [testing/geckodriver/target] Error 2
0:07.78 make[3]: *** Waiting for unfinished jobs....
0:07.96 error: build failed
0:07.96 make[4]: *** [force-cargo-library-build] Error 101
0:07.96 make[3]: *** [js/src/rust/target] Error 2
0:07.98 error: build failed
0:07.98 make[4]: *** [force-cargo-host-program-build] Error 101
0:07.98 make[3]: *** [js/src/frontend/binast/host] Error 2
Comment 1•6 years ago
|
||
I filed https://github.com/mozilla/sccache/issues/485 for this, it looks like an issue somewhere in sccache.
Updated•3 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•