Closed
Description
Failure building Firefox with rustc 1.20.0-nightly (ab5bec2 2017-06-22).
I can't reproduced on a local build with --enable-stylo
so it's something to do with the sccache wrapper or the build environment.
checking for rustc... /home/worker/workspace/build/src/rustc/bin/rustc
checking for cargo... /home/worker/workspace/build/src/rustc/bin/cargo
checking rustc version... 1.20.0-nightly
checking cargo version... 0.21.0
[...]
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.20.0-nightly (ab5bec255 2017-06-22) running on x86_64-unknown-linux-gnu
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'failed to acquire jobserver token: Error { repr: Os { code: 9, message: "Bad file descriptor" } }', /checkout/src/libcore/result.rs:860
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at /checkout/src/libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/sys_common/backtrace.rs:60
at /checkout/src/libstd/panicking.rs:355
3: std::panicking::default_hook
at /checkout/src/libstd/panicking.rs:365
4: std::panicking::rust_panic_with_hook
at /checkout/src/libstd/panicking.rs:549
5: std::panicking::begin_panic
at /checkout/src/libstd/panicking.rs:511
6: std::panicking::begin_panic_fmt
at /checkout/src/libstd/panicking.rs:495
7: rust_begin_unwind
at /checkout/src/libstd/panicking.rs:471
8: core::panicking::panic_fmt
at /checkout/src/libcore/panicking.rs:69
9: core::result::unwrap_failed
10: rustc_trans::back::write::execute_work
11: rustc_trans::back::write::run_passes
12: rustc_driver::driver::phase_5_run_llvm_passes
13: rustc_driver::driver::compile_input
14: rustc_driver::run_compiler
error: Could not compile `rustc-serialize`.
Caused by:
process didn't exit successfully: `/home/worker/workspace/build/src/sccache2/sccache /home/worker/workspace/build/src/rustc/bin/rustc --crate-name rustc_serialize /home/worker/workspace/build/src/third_party/rust/rustc-serialize/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C metadata=eaa267b04fe4074c -C extra-filename=-eaa267b04fe4074c --out-dir /home/worker/workspace/build/src/obj-firefox/toolkit/library/release/deps -C linker=/home/worker/workspace/build/src/build/cargo-linker -L dependency=/home/worker/workspace/build/src/obj-firefox/toolkit/library/release/deps --cap-lints allow` (exit code: 101)