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] Allocate HIR on an arena #57173

Open
wants to merge 5 commits into
base: master
from

Conversation

Projects
None yet
5 participants
@Zoxc
Copy link
Contributor

Zoxc commented Dec 28, 2018

Blocked on #56864

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Dec 28, 2018

r? @estebank

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

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Dec 28, 2018

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:11cfce18:start=1546015513514818726,finish=1546015514820234460,duration=1305415734
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:26:37]    Compiling rustc_msan v0.0.0 (/checkout/src/librustc_msan)
[00:27:08] error: Could not compile `core`.
[00:27:08] 
[00:27:08] Caused by:
[00:27:08]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name core src/libcore/lib.rs --color always --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=57ab343d0334f277 -C extra-filename=-57ab343d0334f277 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (signal: 11, SIGSEGV: invalid memory reference)
[00:27:08] expected success, got: exit code: 101
[00:27:08] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:27:08] Build completed unsuccessfully in 0:23:47
[00:27:08] Build completed unsuccessfully in 0:23:47
[00:27:08] make: *** [all] Error 1
[00:27:08] Makefile:18: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:090aa3df
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Dec 28 17:12:32 UTC 2018
---
travis_time:end:397e24dc:start=1546017152565122744,finish=1546017152573840488,duration=8717744
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:28506b80
$ 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:start:crashlog
obj/cores/core.6328.!checkout!obj!build!x86_64-unknown-linux-gnu!stage1!bin!rustc
[New LWP 6330]
[New LWP 7044]
[New LWP 7042]
[New LWP 6328]
[New LWP 7041]
warning: Could not load shared library symbols for 14 libraries, e.g. /lib/x86_64-linux-gnu/libc.so.6.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc --crate-name core'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f40fce8ca05 in core::ptr::real_drop_in_place::h81d5149b7dfc1f1d () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#0  0x00007f40fce8ca05 in core::ptr::real_drop_in_place::h81d5149b7dfc1f1d () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#1  0x00007f40fce9a19e in _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h580b56b35192f19d () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#2  0x00007f40fcf643ac in _$LT$arena..TypedArenaChunk$LT$T$GT$$GT$::destroy::ha6cad2a0610d28ec () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#3  0x00007f40fcf724e9 in core::ptr::real_drop_in_place::h723a448683407ce4 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#4  0x00007f40fcf680d5 in core::ptr::real_drop_in_place::h1234da017a7325b1 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#5  0x00007f40fcf8a24b in rustc_driver::driver::compile_input::ha6b94d074f39ba0b () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#6  0x00007f40fcef1fdb in rustc_driver::run_compiler_with_pool::hfce17a6cb542bb76 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#7  0x00007f40fcefdbd6 in _$LT$scoped_tls..ScopedKey$LT$T$GT$$GT$::set::h7d78840e1e3738d4 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#8  0x00007f40fcef0f3b in rustc_driver::run_compiler::h28a0a339a69b4c6e () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#9  0x00007f40fcefddac in _$LT$scoped_tls..ScopedKey$LT$T$GT$$GT$::set::h95de68a9ab6d5192 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#10 0x00007f40fcf97ed3 in std::sys_common::backtrace::__rust_begin_short_backtrace::h8d80b52d96ebda84 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#11 0x00007f40fcbafe5a in __rust_maybe_catch_panic () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/libstd-e7f8c0d6db30269b.so
#12 0x00007f40fcfca223 in std::panicking::try::hd3a8fc6e96deb158 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#13 0x00007f40fcfab3b6 in _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::ha5e79029992d2fd5 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-159d613c8e0e257d.so
#14 0x00007f40fcbaea8e in std::sys::unix::thread::Thread::new::thread_start::hb13a794aae91bbd2 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/libstd-e7f8c0d6db30269b.so
#15 0x00007f40f5cd16ba in ?? ()
#16 0x0000000000000000 in ?? ()
travis_time:end:28506b80:start=1546017152582259986,finish=1546017153618360965,duration=1036100979
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:04d29ae0
travis_time:start:04d29ae0
$ 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:00055e60
$ 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)

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 29, 2018

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

@Zoxc Zoxc force-pushed the Zoxc:hir-lifetime branch from 4ef5ebe to 2363852 Jan 11, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jan 11, 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:2de6f12d:start=1547184764427866001,finish=1547184767059270895,duration=2631404894
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:06:08] error: unreachable expression
[00:06:08]    --> src/libarena/lib.rs:214:9
[00:06:08]     |
[00:06:08] 214 | /         unsafe {
[00:06:08] 215 | |             let len = vec.len();
[00:06:08] 216 | |             let start_ptr = self.alloc_raw_slice(len);
[00:06:08] 217 | |             vec.as_ptr().copy_to_nonoverlapping(start_ptr, len);
[00:06:08] 221 | |             slice::from_raw_parts_mut(start_ptr, len)
[00:06:08] 222 | |         }
[00:06:08]     | |_________^
[00:06:08]     |
---
[00:06:31] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:06:31] expected success, got: exit code: 101
[00:06:31] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:06:31] Build completed unsuccessfully in 0:02:38
[00:06:31] Makefile:18: recipe for target 'all' failed
[00:06:31] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:001e7892
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Jan 11 05:39:29 UTC 2019

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)

fix
@Zoxc

This comment has been minimized.

Copy link
Contributor

Zoxc commented Jan 11, 2019

@bors try

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 11, 2019

⌛️ Trying commit 274b927 with merge 6e789d4...

bors added a commit that referenced this pull request Jan 11, 2019

Auto merge of #57173 - Zoxc:hir-lifetime, r=<try>
[WIP] Allocate HIR on an arena

Blocked on #56864
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Jan 11, 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:038e99da:start=1547186591909655815,finish=1547186594287863901,duration=2378208086
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
travis_time:start:test_incremental
Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:18:19] 
[01:18:19] running 95 tests
[01:18:33] .................F..F.....FFF..FFFF..F.F..FF.......F...........................................
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/call_expressions.rs stdout ----
[01:18:33] 
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:495:22
[01:18:33] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:495:22
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/call_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/call_expressions.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/hashes/call_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/call_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(change_to_ufcs)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/call_expressions.rs","byte_start":3945,"byte_end":4028,"line_start":156,"line_end":159,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_to_ufcs() {","highlight_start":1,"highlight_end":26},{"text":"    let s = Struct;","highlight_start":1,"highlight_end":20},{"text":"    Struct::method1(&s, 'x', true);","highlight_start":1,"highlight_end":36},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_to_ufcs)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/call_expressions.rs:156:1\n   |\nLL | / pub fn change_to_ufcs() {\nLL | |     let s = Struct;\nLL | |     Struct::method1(&s, 'x', true);\nLL | | }\n   | |_^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/call_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] thread '[incremental] incremental/hashes/call_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/closure_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/closure_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/closure_expressions.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/hashes/closure_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/closure_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_parameter)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/closure_expressions.rs","byte_start":1112,"byte_end":1184,"line_start":42,"line_end":45,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_parameter() {","highlight_start":1,"highlight_end":25},{"text":"    let x = 0u32;","highlight_start":1,"highlight_end":18},{"text":"    let _ = |x: u32| x + 1;","highlight_start":1,"highlight_end":28},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_parameter)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/closure_expressions.rs:42:1\n   |\nLL | / pub fn add_parameter() {\nLL | |     let x = 0u32;\nLL | |     let _ = |x: u32| x + 1;\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(change_parameter_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/closure_expressions.rs","byte_start":1472,"byte_end":1535,"line_start":58,"line_end":60,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_parameter_pattern() {","highlight_start":1,"highlight_end":36},{"text":"    let _ = |&x: &u32| x;","highlight_start":1,"highlight_end":26},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_parameter_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/closure_expressions.rs:58:1\n   |\nLL | / pub fn change_parameter_pattern() {\nLL | |     let _ = |&x: &u32| x;\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_type_ascription_to_parameter)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/closure_expressions.rs","byte_start":2148,"byte_end":2259,"line_start":89,"line_end":92,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_type_ascription_to_parameter() {","highlight_start":1,"highlight_end":44},{"text":"    let closure = |x: u32| x + 1u32;","highlight_start":1,"highlight_end":37},{"text":"    let _: u32 = closure(1);","highlight_start":1,"highlight_end":29},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_type_ascription_to_parameter)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/closure_expressions.rs:89:1\n   |\nLL | / pub fn add_type_ascription_to_parameter() {\nLL | |     let closure = |x: u32| x + 1u32;\nLL | |     let _: u32 = closure(1);\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/closure_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/indexing_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/indexing_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/indexing_expressions/indexing_expressions.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/hashes/indexing_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/indexing_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_lower_bound)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/indexing_expressions.rs","byte_start":2147,"byte_end":2211,"line_start":78,"line_end":80,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"fn add_lower_bound(slice: &[u32]) -> &[u32] {","highlight_start":1,"highlight_end":46},{"text":"    &slice[3..4]","highlight_start":1,"highlight_end":17},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_lower_bound)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/indexing_expressions.rs:78:1\n   |\nLL | / fn add_lower_bound(slice: &[u32]) -> &[u32] {\nLL | |     &slice[3..4]\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_upper_bound)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/indexing_expressions.rs","byte_start":2572,"byte_end":2636,"line_start":95,"line_end":97,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"fn add_upper_bound(slice: &[u32]) -> &[u32] {","highlight_start":1,"highlight_end":46},{"text":"    &slice[3..7]","highlight_start":1,"highlight_end":17},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_upper_bound)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/indexing_expressions.rs:95:1\n   |\nLL | / fn add_upper_bound(slice: &[u32]) -> &[u32] {\nLL | |     &slice[3..7]\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/indexing_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/if_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/if_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/if_expressions.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/hashes/if_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/if_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(change_condition)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/if_expressions.rs","byte_start":826,"byte_end":918,"line_start":30,"line_end":36,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_condition(x: bool) -> u32 {","highlight_start":1,"highlight_end":42},{"text":"    if !x {","highlight_start":1,"highlight_end":12},{"text":"        return 1","highlight_start":1,"highlight_end":17},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    return 0","highlight_start":1,"highlight_end":13},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_condition)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/if_expressions.rs:30:1\n   |\nLL | / pub fn change_condition(x: bool) -> u32 {\nLL | |     if !x {\nLL | |         return 1\nLL | |     }\nLL | |\nLL | |     return 0\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_else_branch)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/if_expressions.rs","byte_start":2058,"byte_end":2178,"line_start":99,"line_end":108,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_else_branch(x: bool) -> u32 {","highlight_start":1,"highlight_end":41},{"text":"    let mut ret = 1;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    if x {","highlight_start":1,"highlight_end":11},{"text":"        ret = 2;","highlight_start":1,"highlight_end":17},{"text":"    } else {","highlight_start":1,"highlight_end":13},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    ret","highlight_start":1,"highlight_end":8},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_else_branch)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/if_expressions.rs:99:1\n   |\nLL | / pub fn add_else_branch(x: bool) -> u32 {\nLL | |     let mut ret = 1;\nLL | |\nLL | |     if x {\n...  |\nLL | |     ret\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(change_then_branch_if_let)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/if_expressions.rs","byte_start":2991,"byte_end":3109,"line_start":148,"line_end":154,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_then_branch_if_let(x: Option<u32>) -> u32 {","highlight_start":1,"highlight_end":58},{"text":"    if let Some(x) = x {","highlight_start":1,"highlight_end":25},{"text":"        return x + 1","highlight_start":1,"highlight_end":21},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    0","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_then_branch_if_let)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/if_expressions.rs:148:1\n   |\nLL | / pub fn change_then_branch_if_let(x: Option<u32>) -> u32 {\nLL | |     if let Some(x) = x {\nLL | |         return x + 1\nLL | |     }\nLL | |\nLL | |     0\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_else_branch_if_let)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/if_expressions.rs","byte_start":3925,"byte_end":4073,"line_start":196,"line_end":205,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {","highlight_start":1,"highlight_end":55},{"text":"    let mut ret = 1;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    if let Some(x) = x {","highlight_start":1,"highlight_end":25},{"text":"        ret = x;","highlight_start":1,"highlight_end":17},{"text":"    } else {","highlight_start":1,"highlight_end":13},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    ret","highlight_start":1,"highlight_end":8},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_else_branch_if_let)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/if_expressions.rs:196:1\n   |\nLL | / pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {\nLL | |     let mut ret = 1;\nLL | |\nLL | |     if let Some(x) = x {\n...  |\nLL | |     ret\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/if_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/for_loops.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/for_loops.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/for_loops.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/hashes/for_loops/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/for_loops/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(change_iteration_variable_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/for_loops.rs","byte_start":1771,"byte_end":1902,"line_start":76,"line_end":82,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_iteration_variable_pattern() {","highlight_start":1,"highlight_end":45},{"text":"    let mut _x = 0;","highlight_start":1,"highlight_end":20},{"text":"    for &_i in &[0, 1, 2] {","highlight_start":1,"highlight_end":28},{"text":"        _x = 1;","highlight_start":1,"highlight_end":16},{"text":"        break;","highlight_start":1,"highlight_end":15},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_iteration_variable_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/for_loops.rs:76:1\n   |\nLL | / pub fn change_iteration_variable_pattern() {\nLL | |     let mut _x = 0;\nLL | |     for &_i in &[0, 1, 2] {\nLL | |         _x = 1;\nLL | |         break;\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_break)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/for_loops.rs","byte_start":2674,"byte_end":2773,"line_start":121,"line_end":127,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_break() {","highlight_start":1,"highlight_end":21},{"text":"    let mut _x = 0;","highlight_start":1,"highlight_end":20},{"text":"    for _ in 0..1 {","highlight_start":1,"highlight_end":20},{"text":"        _x = 1;","highlight_start":1,"highlight_end":16},{"text":"        break;","highlight_start":1,"highlight_end":15},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_break)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/for_loops.rs:121:1\n   |\nLL | / pub fn add_break() {\nLL | |     let mut _x = 0;\nLL | |     for _ in 0..1 {\nLL | |         _x = 1;\nLL | |         break;\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/for_loops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/inherent_impls.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/inherent_impls.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inherent_impls/inherent_impls.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/hashes/inherent_impls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/inherent_impls/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(Foo::method_body)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/inherent_impls.rs","byte_start":1276,"byte_end":1339,"line_start":47,"line_end":49,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    pub fn method_body() {","highlight_start":5,"highlight_end":27},{"text":"        println!(\"Hello, world!\");","highlight_start":1,"highlight_end":35},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(Foo::method_body)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/inherent_impls.rs:47:5\n   |\nLL | /     pub fn method_body() {\nLL | |         println!(\"Hello, world!\");\nLL | |     }\n   | |_____^\n\n"}
[01:18:33] {"message":"`Hir(Foo::method_body_inlined)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/inherent_impls.rs","byte_start":1797,"byte_end":1868,"line_start":69,"line_end":71,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    pub fn method_body_inlined() {","highlight_start":5,"highlight_end":35},{"text":"        println!(\"Hello, world!\");","highlight_start":1,"highlight_end":35},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(Foo::method_body_inlined)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/inherent_impls.rs:69:5\n   |\nLL | /     pub fn method_body_inlined() {\nLL | |         println!(\"Hello, world!\");\nLL | |     }\n   | |_____^\n\n"}
[01:18:33] {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/inherent_impls.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/let_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/let_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/let_expressions/let_expressions.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/hashes/let_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/let_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_type)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/let_expressions.rs","byte_start":1094,"byte_end":1139,"line_start":43,"line_end":45,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_type() {","highlight_start":1,"highlight_end":20},{"text":"    let _x: u32 = 2u32;","highlight_start":1,"highlight_end":24},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_type)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/let_expressions.rs:43:1\n   |\nLL | / pub fn add_type() {\nLL | |     let _x: u32 = 2u32;\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(change_simple_binding_to_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/let_expressions.rs","byte_start":2520,"byte_end":2596,"line_start":107,"line_end":109,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_simple_binding_to_pattern() {","highlight_start":1,"highlight_end":44},{"text":"    let (_a, _b) = (0u8, 'x');","highlight_start":1,"highlight_end":31},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_simple_binding_to_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/let_expressions.rs:107:1\n   |\nLL | / pub fn change_simple_binding_to_pattern() {\nLL | |     let (_a, _b) = (0u8, 'x');\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_amp_in_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/let_expressions.rs","byte_start":3629,"byte_end":3693,"line_start":155,"line_end":157,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_amp_in_pattern() {","highlight_start":1,"highlight_end":30},{"text":"    let (&_a, _b) = (&1u8, 'y');","highlight_start":1,"highlight_end":33},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_amp_in_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/let_expressions.rs:155:1\n   |\nLL | / pub fn add_amp_in_pattern() {\nLL | |     let (&_a, _b) = (&1u8, 'y');\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_initializer)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/let_expressions.rs","byte_start":4392,"byte_end":4444,"line_start":187,"line_end":189,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_initializer() {","highlight_start":1,"highlight_end":27},{"text":"    let _x: i16 = 3i16;","highlight_start":1,"highlight_end":24},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_initializer)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/let_expressions.rs:187:1\n   |\nLL | / pub fn add_initializer() {\nLL | |     let _x: i16 = 3i16;\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/let_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/loop_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/loop_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/loop_expressions/loop_expressions.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/hashes/loop_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/loop_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_break)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/loop_expressions.rs","byte_start":1231,"byte_end":1321,"line_start":52,"line_end":58,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_break() {","highlight_start":1,"highlight_end":21},{"text":"    let mut _x = 0;","highlight_start":1,"highlight_end":20},{"text":"    loop {","highlight_start":1,"highlight_end":11},{"text":"        _x = 1;","highlight_start":1,"highlight_end":16},{"text":"        break;","highlight_start":1,"highlight_end":15},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_break)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/loop_expressions.rs:52:1\n   |\nLL | / pub fn add_break() {\nLL | |     let mut _x = 0;\nLL | |     loop {\nLL | |         _x = 1;\nLL | |         break;\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/loop_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] thread '[incremental] incremental/hashes/loop_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/match_expressions.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/match_expressions.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/match_expressions/match_expressions.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/hashes/match_expressions/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/match_expressions/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_arm)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":845,"byte_end":964,"line_start":31,"line_end":38,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_arm(x: u32) -> u32 {","highlight_start":1,"highlight_end":32},{"text":"    match x {","highlight_start":1,"highlight_end":14},{"text":"        0 => 0,","highlight_start":1,"highlight_end":16},{"text":"        1 => 1,","highlight_start":1,"highlight_end":16},{"text":"        2 => 2,","highlight_start":1,"highlight_end":16},{"text":"        _ => 100,","highlight_start":1,"highlight_end":18},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_arm)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:31:1\n   |\nLL | / pub fn add_arm(x: u32) -> u32 {\nLL | |     match x {\nLL | |         0 => 0,\nLL | |         1 => 1,\n...  |\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_guard_clause)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":1786,"byte_end":1912,"line_start":80,"line_end":86,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_guard_clause(x: u32, y: bool) -> u32 {","highlight_start":1,"highlight_end":50},{"text":"    match x {","highlight_start":1,"highlight_end":14},{"text":"        0 => 0,","highlight_start":1,"highlight_end":16},{"text":"        1 if y => 1,","highlight_start":1,"highlight_end":21},{"text":"        _ => 100,","highlight_start":1,"highlight_end":18},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_guard_clause)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:80:1\n   |\nLL | / pub fn add_guard_clause(x: u32, y: bool) -> u32 {\nLL | |     match x {\nLL | |         0 => 0,\nLL | |         1 if y => 1,\nLL | |         _ => 100,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(change_guard_clause)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":2285,"byte_end":2415,"line_start":104,"line_end":110,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_guard_clause(x: u32, y: bool) -> u32 {","highlight_start":1,"highlight_end":53},{"text":"    match x {","highlight_start":1,"highlight_end":14},{"text":"        0 => 0,","highlight_start":1,"highlight_end":16},{"text":"        1 if !y => 1,","highlight_start":1,"highlight_end":22},{"text":"        _ => 100,","highlight_start":1,"highlight_end":18},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_guard_clause)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:104:1\n   |\nLL | / pub fn change_guard_clause(x: u32, y: bool) -> u32 {\nLL | |     match x {\nLL | |         0 => 0,\nLL | |         1 if !y => 1,\nLL | |         _ => 100,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_at_binding)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":2764,"byte_end":2876,"line_start":128,"line_end":134,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_at_binding(x: u32) -> u32 {","highlight_start":1,"highlight_end":39},{"text":"    match x {","highlight_start":1,"highlight_end":14},{"text":"        0 => 0,","highlight_start":1,"highlight_end":16},{"text":"        1 => 1,","highlight_start":1,"highlight_end":16},{"text":"        x @ _ => x,","highlight_start":1,"highlight_end":20},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_at_binding)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:128:1\n   |\nLL | / pub fn add_at_binding(x: u32) -> u32 {\nLL | |     match x {\nLL | |         0 => 0,\nLL | |         1 => 1,\nLL | |         x @ _ => x,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(change_simple_name_to_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":3712,"byte_end":3838,"line_start":175,"line_end":180,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn change_simple_name_to_pattern(x: u32) -> u32 {","highlight_start":1,"highlight_end":54},{"text":"    match (x, x & 1) {","highlight_start":1,"highlight_end":23},{"text":"        (0, 0) => 0,","highlight_start":1,"highlight_end":21},{"text":"        (x, y) => 1,","highlight_start":1,"highlight_end":21},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(change_simple_name_to_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:175:1\n   |\nLL | / pub fn change_simple_name_to_pattern(x: u32) -> u32 {\nLL | |     match (x, x & 1) {\nLL | |         (0, 0) => 0,\nLL | |         (x, y) => 1,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_amp_to_binding_in_pattern)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":5675,"byte_end":5798,"line_start":265,"line_end":270,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_amp_to_binding_in_pattern(x: u32) -> u32 {","highlight_start":1,"highlight_end":54},{"text":"    match (&x, x & 1) {","highlight_start":1,"highlight_end":24},{"text":"        (&a, 0) => 0,","highlight_start":1,"highlight_end":22},{"text":"        _ => 1,","highlight_start":1,"highlight_end":16},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_amp_to_binding_in_pattern)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:265:1\n   |\nLL | / pub fn add_amp_to_binding_in_pattern(x: u32) -> u32 {\nLL | |     match (&x, x & 1) {\nLL | |         (&a, 0) => 0,\nLL | |         _ => 1,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"`Hir(add_alternative_to_arm)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/match_expressions.rs","byte_start":6605,"byte_end":6725,"line_start":312,"line_end":318,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_alternative_to_arm(x: u32) -> u32 {","highlight_start":1,"highlight_end":47},{"text":"    match x {","highlight_start":1,"highlight_end":14},{"text":"        0 | 7 => 0,","highlight_start":1,"highlight_end":20},{"text":"        1 => 3,","highlight_start":1,"highlight_end":16},{"text":"        _ => 2,","highlight_start":1,"highlight_end":16},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_alternative_to_arm)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/match_expressions.rs:312:1\n   |\nLL | / pub fn add_alternative_to_arm(x: u32) -> u32 {\nLL | |     match x {\nLL | |         0 | 7 => 0,\nLL | |         1 => 3,\nLL | |         _ => 2,\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] {"message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/match_expressions.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/struct_constructors.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/struct_constructors.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/struct_constructors/struct_constructors.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/hashes/struct_constructors/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/struct_constructors/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_field_regular_struct)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/struct_constructors.rs","byte_start":1973,"byte_end":2184,"line_start":87,"line_end":99,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_field_regular_struct() -> RegularStruct {","highlight_start":1,"highlight_end":53},{"text":"    let struct1 = RegularStruct {","highlight_start":1,"highlight_end":34},{"text":"        x: 3,","highlight_start":1,"highlight_end":14},{"text":"        y: 4,","highlight_start":1,"highlight_end":14},{"text":"        z: 5,","highlight_start":1,"highlight_end":14},{"text":"    };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":"    RegularStruct {","highlight_start":1,"highlight_end":20},{"text":"        x: 7,","highlight_start":1,"highlight_end":14},{"text":"        y: 8,","highlight_start":1,"highlight_end":14},{"text":"        .. struct1","highlight_start":1,"highlight_end":19},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_field_regular_struct)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/struct_constructors.rs:87:1\n   |\nLL | / pub fn add_field_regular_struct() -> RegularStruct {\nLL | |     let struct1 = RegularStruct {\nLL | |         x: 3,\nLL | |         y: 4,\n...  |\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/struct_constructors.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] thread '[incremental] incremental/hashes/struct_constructors.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/trait_impls.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/trait_impls.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/trait_impls/trait_impls.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/hashes/trait_impls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/trait_impls/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(<Foo as ChangeMethodBodyTrait>::method_name)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/trait_impls.rs","byte_start":1828,"byte_end":1863,"line_start":69,"line_end":71,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    fn method_name() {","highlight_start":5,"highlight_end":23},{"text":"        ()","highlight_start":1,"highlight_end":11},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(<Foo as ChangeMethodBodyTrait>::method_name)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/trait_impls.rs:69:5\n   |\nLL | /     fn method_name() {\nLL | |         ()\nLL | |     }\n   | |_____^\n\n"}
[01:18:33] {"message":"`Hir(<Foo as ChangeMethodBodyTraitInlined>::method_name)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/trait_impls.rs","byte_start":2536,"byte_end":2577,"line_start":97,"line_end":99,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"    fn method_name() {","highlight_start":5,"highlight_end":23},{"text":"        panic!()","highlight_start":1,"highlight_end":17},{"text":"    }","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(<Foo as ChangeMethodBodyTraitInlined>::method_name)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/trait_impls.rs:97:5\n   |\nLL | /     fn method_name() {\nLL | |         panic!()\nLL | |     }\n   | |_____^\n\n"}
[01:18:33] {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"}
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/trait_impls.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/while_loops.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/while_loops.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/while_loops/while_loops.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/hashes/while_loops/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/while_loops/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_break)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/while_loops.rs","byte_start":1693,"byte_end":1789,"line_start":75,"line_end":81,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_break() {","highlight_start":1,"highlight_end":21},{"text":"    let mut _x = 0;","highlight_start":1,"highlight_end":20},{"text":"    while true {","highlight_start":1,"highlight_end":17},{"text":"        _x = 1;","highlight_start":1,"highlight_end":16},{"text":"        break;","highlight_start":1,"highlight_end":15},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_break)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/while_loops.rs:75:1\n   |\nLL | / pub fn add_break() {\nLL | |     let mut _x = 0;\nLL | |     while true {\nLL | |         _x = 1;\nLL | |         break;\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/while_loops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] thread '[incremental] incremental/hashes/while_loops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] ---- [incremental] incremental/hashes/while_let_loops.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `cfail2`: test compilation failed although it shouldn't!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/hashes/while_let_loops.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "cfail2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/while_let_loops/while_let_loops.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/hashes/while_let_loops/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-Zincremental-ignore-spans" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/hashes/while_let_loops/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"`Hir(add_break)` should be clean but is not","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/hashes/while_let_loops.rs","byte_start":1781,"byte_end":1894,"line_start":75,"line_end":81,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"pub fn add_break() {","highlight_start":1,"highlight_end":21},{"text":"    let mut _x = 0;","highlight_start":1,"highlight_end":20},{"text":"    while let Some(0u32) = None {","highlight_start":1,"highlight_end":34},{"text":"        _x = 1;","highlight_start":1,"highlight_end":16},{"text":"        break;","highlight_start":1,"highlight_end":15},{"text":"    }","highlight_start":1,"highlight_end":6},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: `Hir(add_break)` should be clean but is not\n  --> /checkout/src/test/incremental/hashes/while_let_loops.rs:75:1\n   |\nLL | / pub fn add_break() {\nLL | |     let mut _x = 0;\nLL | |     while let Some(0u32) = None {\nLL | |         _x = 1;\nLL | |         break;\nLL | |     }\nLL | | }\n   | |_^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/hashes/while_let_loops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] thread '[incremental] incremental/hashes/while_let_loops.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
[01:18:33] 
[01:18:33] ---- [incremental] incremental/issue-38222.rs stdout ----
[01:18:33] 
[01:18:33] error in revision `rpass2`: compilation failed!
[01:18:33] status: exit code: 1
[01:18:33] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/incremental/issue-38222.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "rpass2" "-C" "incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/issue-38222/issue-38222.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/issue-38222/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "query-dep-graph" "-C" "debuginfo=1" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/incremental/issue-38222/auxiliary"
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] stderr:
[01:18:33] stderr:
[01:18:33] ------------------------------------------
[01:18:33] {"message":"CGU-reuse for `issue_38222-mod1` is `No` but should be at least `PreLto`","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/incremental/issue-38222.rs","byte_start":180,"byte_end":247,"line_start":11,"line_end":11,"column_start":1,"column_end":68,"is_primary":true,"text":[{"text":"#![rustc_partition_reused(module=\"issue_38222-mod1\", cfg=\"rpass2\")]","highlight_start":1,"highlight_end":68}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: CGU-reuse for `issue_38222-mod1` is `No` but should be at least `PreLto`\n  --> /checkout/src/test/incremental/issue-38222.rs:11:1\n   |\nLL | #![rustc_partition_reused(module=\"issue_38222-mod1\", cfg=\"rpass2\")]\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:18:33] 
[01:18:33] ------------------------------------------
[01:18:33] 
[01:18:33] thread '[incremental] incremental/issue-38222.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3245:9
---
[01:18:33] test result: FAILED. 81 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out
[01:18:33] 
[01:18:33] 
[01:18:33] 
[01:18:33] 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 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -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:18:33] 
[01:18:33] 
[01:18:33] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:18:33] Build completed unsuccessfully in 0:12:11
[01:18:33] Build completed unsuccessfully in 0:12:11
[01:18:33] make: *** [check] Error 1
[01:18:33] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:217eb7c6
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Jan 11 07:21:58 UTC 2019
---
travis_time:end:2f3cf5a8:start=1547191320022891070,finish=1547191320079442575,duration=56551505
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0200982f
$ 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:04355652
$ 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)

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 11, 2019

☀️ Test successful - checks-travis
State: approved= try=True

@Zoxc

This comment has been minimized.

Copy link
Contributor

Zoxc commented Jan 11, 2019

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Jan 11, 2019

Success: Queued 6e789d4 with parent 729d3f0, comparison URL.

@rust-timer

This comment has been minimized.

Copy link

rust-timer commented Jan 11, 2019

Finished benchmarking try commit 6e789d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment