Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Make dep node indices persistent between sessions #62038

Open
wants to merge 5 commits into
base: master
from

Conversation

@Zoxc
Copy link
Contributor

commented Jun 21, 2019

This makes marking dep nodes green faster (and lock free in the case with no diagnostics). This change is split out from #60035.

Unlike #60035 this makes loading the dep graph slower because it loads 2 copies of the dep graph, one immutable and one mutable.

Based on #61845, #61779 and #61923.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Jun 21, 2019

r? @zackmdavis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Jun 21, 2019

⚠️ Warning ⚠️

  • These commits modify submodules.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 8d5361e to 6227219 Jun 21, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Jun 21, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:02af8f28:start=1561155629675043354,finish=1561155632237822597,duration=2562779243
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
[00:07:41]    Compiling syntax_pos v0.0.0 (/checkout/src/libsyntax_pos)
[00:07:45]    Compiling rustc_errors v0.0.0 (/checkout/src/librustc_errors)
[00:07:45]    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
[00:08:57]    Compiling syntax_ext v0.0.0 (/checkout/src/libsyntax_ext)
[00:09:11] error[E0599]: no method named `is_none` found for type `dep_graph::graph::DepNodeState` in the current scope
[00:09:11]    --> src/librustc/dep_graph/graph.rs:792:59
[00:09:11] 59  | pub enum DepNodeState {
[00:09:11]     | --------------------- method `is_none` not found for this
[00:09:11] ...
[00:09:11] ...
[00:09:11] 792 |             debug_assert!(data.colors.get(dep_node_index).is_none());
[00:09:11] 
[00:09:29] error: aborting due to previous error
[00:09:29] 
[00:09:29] For more information about this error, try `rustc --explain E0599`.
---
travis_time:end:04bf8e98:start=1561156214333698866,finish=1561156214338742184,duration=5043318
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:15e54686
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:09b9d842
travis_time:start:09b9d842
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:07039368
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 6227219 to fe1e346 Jun 22, 2019

Cargo.lock Outdated
@@ -2893,6 +2893,7 @@ name = "rustc_data_structures"
version = "0.0.0"
dependencies = [
"cfg-if 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",

This comment has been minimized.

Copy link
@Centril

Centril Jun 22, 2019

Member

I would prefer to not use crossbream-utils until such time that it has a more reasonable policy towards soundness and does not include both get_mut and compare_exchange. Since it seems that we want get_mut but not compare_exchange it seems preferable to make an in-house copy of AtomicCell for now.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Jun 22, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:0150b445:start=1561162379948371095,finish=1561162382207479340,duration=2259108245
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
travis_time:start:test_assembly
Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:06:40] 
[01:06:40] running 9 tests
[01:06:40] iiiiiiiii
[01:06:40] 
[01:06:40]  finished in 0.150
[01:06:40] travis_fold:end:test_assembly


[01:06:40] travis_time:end:test_assembly:start=1561166393677918645,finish=1561166393828453727,duration=150535082

[01:06:40] travis_fold:start:test_incremental
travis_time:start:test_incremental
Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:06:40] 
[01:06:40] running 104 tests
[01:06:50] F.FFFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFF.FFF..FFFFFFFFFFFFFFFFFF..FFFFFFFFFFFFFFF 100/104
[01:06:50] FFFF
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_add_field/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_add_field/struct_point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_add_field/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_add_field/struct_point" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_add_field/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/add_private_fn_at_krate_root_cc/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: auxiliary build of "/checkout/src/test/incremental/add_private_fn_at_krate_root_cc/auxiliary/point.rs" failed to compile: 
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/add_private_fn_at_krate_root_cc/auxiliary/point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/auxiliary" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/add_private_fn_at_krate_root_cc/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 --crate-type dylib
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/callee_caller_cross_crate/b.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass2`: auxiliary build of "/checkout/src/test/incremental/callee_caller_cross_crate/auxiliary/a.rs" failed to compile: 
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/callee_caller_cross_crate/auxiliary/a.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/callee_caller_cross_crate/b/b.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/callee_caller_cross_crate/b/auxiliary" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/callee_caller_cross_crate/b/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 --crate-type dylib
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_crate_dep_kind.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_crate_dep_kind.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_dep_kind/change_crate_dep_kind.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_dep_kind" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Cpanic=unwind" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_dep_kind/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 -C panic=unwind
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_name_of_static_in_fn.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass2`: compilation failed!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_name_of_static_in_fn.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/change_name_of_static_in_fn.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_name_of_static_in_fn/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_private_fn/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_private_fn/struct_point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn/struct_point" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_crate_order/main.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass2`: auxiliary build of "/checkout/src/test/incremental/change_crate_order/auxiliary/a.rs" failed to compile: 
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_crate_order/auxiliary/a.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/main.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/auxiliary" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_crate_order/main/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 --crate-type dylib
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_private_impl_method/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_private_impl_method/struct_point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method/struct_point" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_private_fn_cc/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: auxiliary build of "/checkout/src/test/incremental/change_private_fn_cc/auxiliary/point.rs" failed to compile: 
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_private_fn_cc/auxiliary/point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn_cc/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn_cc/struct_point/auxiliary" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_fn_cc/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 --crate-type dylib
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_private_impl_method_cc/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: auxiliary build of "/checkout/src/test/incremental/change_private_impl_method_cc/auxiliary/point.rs" failed to compile: 
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_private_impl_method_cc/auxiliary/point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method_cc/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method_cc/struct_point/auxiliary" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_private_impl_method_cc/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0 --crate-type dylib
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_pub_inherent_method_body/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_pub_inherent_method_body/struct_point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_body/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_body/struct_point" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_body/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_pub_inherent_method_sig/struct_point.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_pub_inherent_method_sig/struct_point.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_sig/struct_point/struct_point.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_sig/struct_point" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_pub_inherent_method_sig/struct_point/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/change_symbol_export_status.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass2`: compilation failed!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/change_symbol_export_status.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_symbol_export_status/change_symbol_export_status.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_symbol_export_status/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zquery-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/change_symbol_export_status/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] warning: lint `private_no_mangle_fns` has been removed: `no longer a warning, #[no_mangle] functions always exported`
[01:06:50]    |
[01:06:50]    |
[01:06:50] LL | #![allow(private_no_mangle_fns)]
[01:06:50]    |
[01:06:50]    = note: #[warn(renamed_and_removed_lints)] on by default
[01:06:50] 
[01:06:50] 
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/crate_hash_reorder.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass2`: compilation failed!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/crate_hash_reorder.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/crate_hash_reorder/crate_hash_reorder.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/crate_hash_reorder/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/crate_hash_reorder/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/cyclic-trait-hierarchy.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: Error: expected failure status (Some(1)) but received status Some(101).
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/cyclic-trait-hierarchy.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/cyclic-trait-hierarchy/cyclic-trait-hierarchy.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/cyclic-trait-hierarchy" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/cyclic-trait-hierarchy/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/dirty_clean.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `cfail2`: Error: expected failure status (Some(1)) but received status Some(101).
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/dirty_clean.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/dirty_clean/dirty_clean.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/dirty_clean" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/dirty_clean/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] stderr:
[01:06:50] stderr:
[01:06:50] ------------------------------------------
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:06:50] thread 'rustc' panicked at 'assertion failed: !data.current.node_to_node_index.get_shard_by_value(dep_node).lock().contains_key(dep_node)', src/librustc/dep_graph/graph.rs:787:13
[01:06:50] error: internal compiler error: unexpected panic
[01:06:50] 
[01:06:50] note: the compiler unexpectedly panicked. this is a bug.
[01:06:50] 
[01:06:50] 
[01:06:50] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:06:50] 
[01:06:50] note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
[01:06:50] 
[01:06:50] note: compiler flags: -Z threads=1 -Z incremental-verify-ich -Z incremental-queries -Z ui-testing -Z unstable-options -Z query-dep-graph -C incremental -C prefer-dynamic -C rpath -C debuginfo=0
[01:06:50] 
[01:06:50] ------------------------------------------
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] ---- [incremental] incremental/commandline-args.rs stdout ----
[01:06:50] 
[01:06:50] error in revision `rpass3`: compilation failed!
[01:06:50] status: exit code: 101
[01:06:50] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/commandline-args.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass3" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/commandline-args.inc" "-Z" "incremental-verify-ich" "-Z" "incremental-queries" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-C" "debuginfo=2" "--verbose" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/commandline-args/auxiliary"
[01:06:50] ------------------------------------------
[01:06:50] 
---
[01:06:50] test result: FAILED. 8 passed; 96 failed; 0 ignored; 0 measured; 0 filtered out
[01:06:50] 
[01:06:50] 
[01:06:50] 
[01:06:50] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/incremental" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "incremental" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:06:50] 
[01:06:50] 
[01:06:50] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:06:50] Build completed unsuccessfully in 1:01:47
---
travis_time:end:33143178:start=1561166406657108687,finish=1561166406662054023,duration=4945336
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:080d0400
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0fe9b95e
travis_time:start:0fe9b95e
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0d4ea6f4
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from fe1e346 to 75725a6 Jun 22, 2019

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

☔️ The latest upstream changes (presumably #62018) made this pull request unmergeable. Please resolve the merge conflicts.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 75725a6 to 94f8dc6 Jun 22, 2019

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout pre-gc-dep-graph (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self pre-gc-dep-graph --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
warning: Cannot merge binary files: Cargo.lock (HEAD vs. heads/homu-tmp)
Removing src/librustc_data_structures/interner.rs
Auto-merging src/librustc/ty/context.rs
Auto-merging Cargo.lock
CONFLICT (content): Merge conflict in Cargo.lock
Automatic merge failed; fix conflicts and then commit the result.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 94f8dc6 to 290912a Jun 22, 2019

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

⌛️ Trying commit 290912a with merge b397c11...

bors added a commit that referenced this pull request Jun 22, 2019

Auto merge of #62038 - Zoxc:pre-gc-dep-graph, r=<try>
[WIP] Make dep node indices persistent between sessions

This makes marking dep nodes green faster (and lock free in the case with no diagnostics). This change is split out from #60035.

Unlike #60035 this makes loading the dep graph slower because it loads 2 copies of the dep graph, one immutable and one mutable.

Based on #61845, #61779 and #61923.
@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

☀️ Try build successful - checks-travis
Build commit: b397c11

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

@rust-timer

This comment has been minimized.

Copy link

commented Jun 22, 2019

Success: Queued b397c11 with parent e562b24, comparison URL.

@rust-timer

This comment has been minimized.

Copy link

commented Jun 22, 2019

Finished benchmarking try commit b397c11, comparison URL.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 290912a to fe23b60 Jun 22, 2019

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

⌛️ Trying commit fe23b60 with merge 7830cae...

bors added a commit that referenced this pull request Jun 22, 2019

Auto merge of #62038 - Zoxc:pre-gc-dep-graph, r=<try>
[WIP] Make dep node indices persistent between sessions

This makes marking dep nodes green faster (and lock free in the case with no diagnostics). This change is split out from #60035.

Unlike #60035 this makes loading the dep graph slower because it loads 2 copies of the dep graph, one immutable and one mutable.

Based on #61845, #61779 and #61923.
@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

☀️ Try build successful - checks-travis
Build commit: 7830cae

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

@rust-timer

This comment has been minimized.

Copy link

commented Jun 22, 2019

Success: Queued 7830cae with parent 4a365a2, comparison URL.

@rust-timer

This comment has been minimized.

Copy link

commented Jun 23, 2019

Finished benchmarking try commit 7830cae, comparison URL.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch 2 times, most recently from ba5eb2c to 6e64af1 Jul 1, 2019

@bors

This comment has been minimized.

Copy link
Contributor

commented Jul 4, 2019

☔️ The latest upstream changes (presumably #62355) made this pull request unmergeable. Please resolve the merge conflicts.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 6e64af1 to 3e9b6aa Jul 5, 2019

@bors

This comment has been minimized.

Copy link
Contributor

commented Jul 11, 2019

☔️ The latest upstream changes (presumably #62580) made this pull request unmergeable. Please resolve the merge conflicts.

@Zoxc Zoxc force-pushed the Zoxc:pre-gc-dep-graph branch from 3e9b6aa to a6eef08 Jul 11, 2019

@bors

This comment has been minimized.

Copy link
Contributor

commented Jul 13, 2019

☔️ The latest upstream changes (presumably #62659) made this pull request unmergeable. Please resolve the merge conflicts.

@Zoxc

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2019

@bors

This comment has been minimized.

Copy link
Contributor

commented Jul 26, 2019

☔️ The latest upstream changes (presumably #62990) made this pull request unmergeable. Please resolve the merge conflicts.

@ProgrammaticNajel

This comment has been minimized.

Copy link

commented Aug 2, 2019

Ping from triage. @michaelwoerister @Centril any updates on this? Thanks.

@joelpalmer

This comment has been minimized.

Copy link

commented Aug 12, 2019

Another ping from triage. @michaelwoerister @Centril any updates on this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.