You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ICE in cargo test with CARGO_INCREMENTAL=1 on Cargo #39585
$ CARGO_INCREMENTAL=1 cargo +nightly test
...
Compiling cargo v0.18.0 (file:///home/alex/code/cargo)
Compiling cargotest v0.1.0 (file:///home/alex/code/cargo/tests/cargotest)
error: failed to remove /home/alex/code/cargo/target/debug/deps/metadata-2a6cfcba5e51f525.metadata.o: No such file or directory (os error 2)
warning: Error finalizing incremental compilation session directory `/home/alex/code/cargo/target/debug/incremental/metadata-2kp13d1pc45a0/s-emvufj4cj6-1f76yqu-working`: No such file or directory (os error 2)
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
thread 'rustc' panicked at '/buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/session/mod.rs:450: Trying to invalidate IncrCompSession `InvalidBecauseOfErrors { session_directory: "/home/alex/code/cargo/target/debug/incremental/metadata-2kp13d1pc45a0/s-emvufj4cj6-1f76yqu-working" }`', /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/session/mod.rs:782
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: Could not compile `cargo`.
Build failed, waiting for other jobs to finish...
error: build failed
The compiler in use is the current latest nightly, specifically:
Activity
alexcrichton commentedon Feb 6, 2017
cc @michaelwoerister
michaelwoerister commentedon Feb 6, 2017
Thanks for the report!
Marwes commentedon Feb 7, 2017
Possible duplicate of #39508 ? Same error and it seems like both fail on testing a file called
tests/metadata.rsRollup merge of rust-lang#39619 - michaelwoerister:rename-crate-metad…
Rollup merge of rust-lang#39619 - michaelwoerister:rename-crate-metad…