Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Created August 1, 2018 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnkfelix/1d49a599cdaac9030bb15518463b8fd8 to your computer and use it in GitHub Desktop.
Save pnkfelix/1d49a599cdaac9030bb15518463b8fd8 to your computer and use it in GitHub Desktop.
-*- mode: compilation; default-directory: "~/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/" -*-
Compilation started at Wed Aug 1 16:53:04
time python /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/.git/../x.py test --stage 1 src/tools/tidy && time python /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/.git/../x.py build --stage 1 src/libstd && time python /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/.git/../x.py test --stage 1 src/test/{compile-fail,ui,run-pass,mir-opt}
Updating only changed submodules
Submodules updated in 0.02 seconds
Finished dev [unoptimized] target(s) in 0.18s
Building stage0 tool tidy (x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
tidy check
* 553 error codes
* highest error code: E0710
* 211 features
Build completed successfully in 0:00:02
real 0m2.372s
user 0m2.031s
sys 0m0.335s
Updating only changed submodules
Submodules updated in 0.02 seconds
Finished dev [unoptimized] target(s) in 0.18s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.18s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling rustc_mir v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_mir)
Compiling rustc_lint v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_lint)
Compiling rustc_codegen_utils v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_codegen_utils)
Compiling rustc_passes v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_passes)
Compiling rustc_borrowck v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_borrowck)
Compiling rustc_driver v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_driver)
Compiling rustc-main v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/rustc)
Finished release [optimized] target(s) in 2m 22s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
Compiling rustc_codegen_llvm v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_codegen_llvm)
Finished release [optimized] target(s) in 39.31s
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling core v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libcore)
Compiling unwind v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libunwind)
Compiling compiler_builtins v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/rustc/compiler_builtins_shim)
Compiling alloc_jemalloc v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/liballoc_jemalloc)
Compiling rustc_lsan v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_lsan)
Compiling rustc_asan v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_asan)
Compiling rustc_msan v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_msan)
Compiling rustc_tsan v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/librustc_tsan)
Compiling std v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libstd)
Compiling libc v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/rustc/libc_shim)
Compiling alloc v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/liballoc)
Compiling std_unicode v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libstd_unicode)
Compiling alloc_system v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/liballoc_system)
Compiling panic_abort v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libpanic_abort)
Compiling panic_unwind v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libpanic_unwind)
Finished release [optimized] target(s) in 41.39s
Copying stage1 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Build completed successfully in 0:03:44
real 3m44.628s
user 12m0.683s
sys 0m10.241s
Updating only changed submodules
Submodules updated in 0.02 seconds
Finished dev [unoptimized] target(s) in 0.18s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.22s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
Finished release [optimized] target(s) in 0.20s
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.20s
Copying stage1 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage1 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling term v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libterm)
Compiling getopts v0.2.17
Compiling test v0.0.0 (file:///home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/libtest)
Finished release [optimized] target(s) in 8.56s
Copying stage1 test from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 tool compiletest (x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.21s
Check compiletest suite=compile-fail mode=compile-fail (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
running 1880 tests
..........................i.........................................................................
....................................................................................................
......................................................................................F.............
.............................FFFF.F.................................................................
...................................................F.F.F.............F..F..............i............
...............................................ii.iii...............................................
................................................................................i...................
..........................i.........................................................................
....................................................................................................
.....................F.............................i................................................
..............................................i..ii.................................................
....................................................................................................
....................................................................................................
....................................................................................................
..............................i.....................................................................
....................................................................................................
....................................................................................................
....................................................................................................
................................................................................
failures:
---- [compile-fail] compile-fail/borrowck/borrowck-storage-dead.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/borrowck-storage-dead.rs:28: unexpected error: '28:17: 28:18: use of moved value: `x` (Mir) [E0382]'
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/borrowck-storage-dead.rs:28: expected error not found: (Mir) [E0381]
error: 1 unexpected errors found, 1 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/borrowck-storage-dead.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/borrowck-storage-dead/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=compare" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/borrowck-storage-dead/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 28,
kind: Some(
Error
),
msg: "28:17: 28:18: use of moved value: `x` (Mir) [E0382]"
}
]
not found errors (from test file): [
Error {
line_num: 28,
kind: Some(
Error
),
msg: "(Mir) [E0381]"
}
]
thread '[compile-fail] compile-fail/borrowck/borrowck-storage-dead.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.
---- [compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference.rs#nll_target stdout ----
error in revision `nll_target`: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll_target" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-reservation-sharing-interference.nll_target/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-Z" "two-phase-borrows" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-reservation-sharing-interference.nll_target/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _13: bb18[1] and bb16[3]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference.rs","byte_start":2418,"byte_end":2419,"line_start":58,"line_end":58,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":" delay.push(2);","highlight_start":17,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _13: bb18[1] and bb16[3]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference.rs:58:17\n |\nLL | delay.push(2);\n | ^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -Z borrowck=mir -Z two-phase-borrows -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference.rs#nll_target' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
---- [compile-fail] compile-fail/borrowck/two-phase-across-loop.rs stdout ----
error: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-across-loop.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-across-loop/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-across-loop/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _26: bb34[0] and bb29[5]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-across-loop.rs","byte_start":854,"byte_end":855,"line_start":29,"line_end":29,"column_start":37,"column_end":38,"is_primary":true,"text":[{"text":" strings.push(foo.get_string()); //~ ERROR cannot borrow `foo` as mutable","highlight_start":37,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _26: bb34[0] and bb29[5]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-across-loop.rs:29:37\n |\nLL | strings.push(foo.get_string()); //~ ERROR cannot borrow `foo` as mutable\n | ^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/borrowck/two-phase-across-loop.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
---- [compile-fail] compile-fail/borrowck/two-phase-nonrecv-autoref.rs#nll stdout ----
error in revision `nll`: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-nonrecv-autoref.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-nonrecv-autoref.nll/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-Z" "two-phase-borrows" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-nonrecv-autoref.nll/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _3: bb4[0] and bb0[4]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-nonrecv-autoref.rs","byte_start":1494,"byte_end":1495,"line_start":41,"line_end":41,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":" foo(x, *x);","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _3: bb4[0] and bb0[4]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-nonrecv-autoref.rs:41:14\n |\nLL | foo(x, *x);\n | ^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -Z borrowck=mir -Z two-phase-borrows -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/borrowck/two-phase-nonrecv-autoref.rs#nll' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
---- [compile-fail] compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs stdout ----
error: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-Z" "two-phase-borrows" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _11: bb15[1] and bb13[4]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs","byte_start":918,"byte_end":919,"line_start":26,"line_end":26,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":" vec.push(2);","highlight_start":19,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _11: bb15[1] and bb13[4]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs:26:19\n |\nLL | vec.push(2);\n | ^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -Z borrowck=mir -Z two-phase-borrows -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
---- [compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs stdout ----
error: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-reservation-sharing-interference-2/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "borrowck=mir" "-Z" "two-phase-borrows" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/borrowck/two-phase-reservation-sharing-interference-2/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _7: bb14[1] and bb11[0]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs","byte_start":1171,"byte_end":1191,"line_start":31,"line_end":31,"column_start":5,"column_end":25,"is_primary":true,"text":[{"text":" v.push(shared.len());","highlight_start":5,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _7: bb14[1] and bb11[0]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs:31:5\n |\nLL | v.push(shared.len());\n | ^^^^^^^^^^^^^^^^^^^^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -Z borrowck=mir -Z two-phase-borrows -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
---- [compile-fail] compile-fail/const-block-non-item-statement-2.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement-2.rs:22: unexpected error: '22:1: 22:35: let bindings in constants are unstable (see issue #48821) [E0658]'
error: 1 unexpected errors found, 0 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement-2.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement-2/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement-2/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 22,
kind: Some(
Error
),
msg: "22:1: 22:35: let bindings in constants are unstable (see issue #48821) [E0658]"
}
]
thread '[compile-fail] compile-fail/const-block-non-item-statement-2.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
---- [compile-fail] compile-fail/const-block-non-item-statement-3.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement-3.rs:11: unexpected error: '11:20: 11:37: let bindings in constants are unstable (see issue #48821) [E0658]'
error: 1 unexpected errors found, 0 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement-3.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement-3/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement-3/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 11,
kind: Some(
Error
),
msg: "11:20: 11:37: let bindings in constants are unstable (see issue #48821) [E0658]"
}
]
thread '[compile-fail] compile-fail/const-block-non-item-statement-3.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
---- [compile-fail] compile-fail/const-block-non-item-statement.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement.rs:12: unexpected error: '12:11: 12:27: let bindings in constants are unstable (see issue #48821) [E0658]'
error: 1 unexpected errors found, 0 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-block-non-item-statement.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-block-non-item-statement/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 12,
kind: Some(
Error
),
msg: "12:11: 12:27: let bindings in constants are unstable (see issue #48821) [E0658]"
}
]
thread '[compile-fail] compile-fail/const-block-non-item-statement.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
---- [compile-fail] compile-fail/const-fn-destructuring-arg.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-fn-destructuring-arg.rs:25: unexpected error: '25:1: 25:2: let bindings in constant functions are unstable (see issue #48821) [E0658]'
error: 1 unexpected errors found, 0 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-fn-destructuring-arg.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-fn-destructuring-arg/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-fn-destructuring-arg/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 25,
kind: Some(
Error
),
msg: "25:1: 25:2: let bindings in constant functions are unstable (see issue #48821) [E0658]"
}
]
thread '[compile-fail] compile-fail/const-fn-destructuring-arg.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
---- [compile-fail] compile-fail/const-fn-not-safe-for-const.rs stdout ----
error: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-fn-not-safe-for-const.rs:49: unexpected error: '49:1: 49:2: let bindings in constant functions are unstable (see issue #48821) [E0658]'
error: 1 unexpected errors found, 0 expected errors not found
status: exit code: 1
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/const-fn-not-safe-for-const.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-fn-not-safe-for-const/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/const-fn-not-safe-for-const/auxiliary" "-A" "unused"
unexpected errors (from JSON output): [
Error {
line_num: 49,
kind: Some(
Error
),
msg: "49:1: 49:2: let bindings in constant functions are unstable (see issue #48821) [E0658]"
}
]
thread '[compile-fail] compile-fail/const-fn-not-safe-for-const.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:1285:13
---- [compile-fail] compile-fail/lint-unused-mut-variables.rs#nll stdout ----
error in revision `nll`: Error: expected failure status (Some(1)) but received status Some(101).
status: exit code: 101
command: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/lint-unused-mut-variables.rs" "--target=x86_64-unknown-linux-gnu" "--cfg" "nll" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/lint-unused-mut-variables.nll/a" "-Crpath" "-Zunstable-options" "-Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail/lint-unused-mut-variables.nll/auxiliary" "-A" "unused"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
{"message":"librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _44: bb69[0] and bb67[5]","code":null,"level":"error: internal compiler error","spans":[{"file_name":"/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/lint-unused-mut-variables.rs","byte_start":3627,"byte_end":3628,"line_start":86,"line_end":86,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":" v.push(());","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: internal compiler error: librustc_mir/borrow_check/borrow_set.rs:221: found two uses for 2-phase borrow temporary _44: bb69[0] and bb67[5]\n --> /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail/lint-unused-mut-variables.rs:86:14\n |\nLL | v.push(());\n | ^\n\n"}
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:518:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath
------------------------------------------
thread '[compile-fail] compile-fail/lint-unused-mut-variables.rs#nll' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3141:9
failures:
[compile-fail] compile-fail/borrowck/borrowck-storage-dead.rs
[compile-fail] compile-fail/borrowck/two-phase-across-loop.rs
[compile-fail] compile-fail/borrowck/two-phase-cannot-nest-mut-self-calls.rs
[compile-fail] compile-fail/borrowck/two-phase-nonrecv-autoref.rs#nll
[compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference-2.rs
[compile-fail] compile-fail/borrowck/two-phase-reservation-sharing-interference.rs#nll_target
[compile-fail] compile-fail/const-block-non-item-statement-2.rs
[compile-fail] compile-fail/const-block-non-item-statement-3.rs
[compile-fail] compile-fail/const-block-non-item-statement.rs
[compile-fail] compile-fail/const-fn-destructuring-arg.rs
[compile-fail] compile-fail/const-fn-not-safe-for-const.rs
[compile-fail] compile-fail/lint-unused-mut-variables.rs#nll
test result: FAILED. 1854 passed; 12 failed; 14 ignored; 0 measured; 0 filtered out
thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:498:22
command did not execute successfully: "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/lib" "--run-lib-path" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "--src-base" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/src/test/compile-fail" "--build-base" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/test/compile-fail" "--stage-id" "stage1-x86_64-unknown-linux-gnu" "--mode" "compile-fail" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--host-rustcflags" "-Crpath -Zunstable-options " "--target-rustcflags" "-Crpath -Zunstable-options -Lnative=/home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python" "--lldb-python" "/usr/bin/python" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0svn\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" ""
expected success, got: exit code: 101
failed to run: /home/pnkfelix/Dev/Mozilla/issue45696/rust-45696/objdir-dbgopt/build/bootstrap/debug/bootstrap test --stage 1 src/test/compile-fail src/test/ui src/test/run-pass src/test/mir-opt
Build completed unsuccessfully in 0:00:41
real 0m41.654s
user 2m51.340s
sys 0m39.271s
Compilation exited abnormally with code 1 at Wed Aug 1 16:57:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment