Closed Bug 1376010 Opened 7 years ago Closed 7 years ago

rustc panicked at 'failed to acquire jobserver token'

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1367940

People

(Reporter: rillian, Unassigned)

References

(Blocks 1 open bug)

Details

Build with rustc 1.20.0-nightly (ab5bec255 2017-06-22) fails with an internal compiler error.

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)
Filed upstream as rust/issues#42867
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.