Print thread ID in panic message by tgross35 · Pull Request #115746 · rust-lang/rust (original) (raw)
#16 exporting to docker image format
#16 sending tarball 24.9s done
#16 DONE 36.0s
##[endgroup]
Setting extra environment values for docker: --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure:
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id := 99999999
---
---- [ui] tests/ui/const-generics/generic_const_exprs/issue-80742.rs stdout ----
diff of stderr:
1 error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:LL:CC: SizeOf MIR operator called for unsized type dyn Debug
2 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL
3
+ thread 'rustc' (3) panicked at compiler/rustc_const_eval/src/interpret/step.rs:241:21:
5 query stack during panic:
5 query stack during panic:
6 #0 [eval_to_allocation_raw] const-evaluating + checking `<impl at $DIR/issue-80742.rs:26:1: 28:32>::{constant#0}`
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/generic_const_exprs/issue-80742/issue-80742.stderr
To update references, rerun the tests and pass the `--bless` flag
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args const-generics/generic_const_exprs/issue-80742.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/const-generics/generic_const_exprs/issue-80742.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/generic_const_exprs/issue-80742" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/generic_const_exprs/issue-80742/auxiliary"
--- stderr -------------------------------
--- stderr -------------------------------
##[error]error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:241:21: SizeOf MIR operator called for unsized type dyn Debug
thread 'rustc' (3) panicked at compiler/rustc_const_eval/src/interpret/step.rs:241:21:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [eval_to_allocation_raw] const-evaluating + checking `<impl at /checkout/tests/ui/const-generics/generic_const_exprs/issue-80742.rs:26:1: 28:32>::{constant#0}`
#1 [eval_to_valtree] evaluating type-level constant
error: aborting due to 1 previous error
------------------------------------------
---- [ui] tests/ui/extern/extern-types-field-offset.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+ thread 'main' (1) panicked at library/core/src/panicking.rs:$LINE:$COL:
2 attempted to compute the size or alignment of extern type `Opaque`
4 thread caused non-unwinding panic. aborting.
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-field-offset/extern-types-field-offset.run.stderr
error: 1 errors occurred comparing run output.
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-field-offset" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-field-offset/a"
--- stderr -------------------------------
thread 'main' (1) panicked at library/core/src/panicking.rs:221:5:
attempted to compute the size or alignment of extern type `Opaque`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------
---- [ui] tests/ui/extern/extern-types-size_of_val.rs#align stdout ----
diff of run.stderr:
- thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+ thread 'main' (1) panicked at library/core/src/panicking.rs:$LINE:$COL:
2 attempted to compute the size or alignment of extern type `A`
4 thread caused non-unwinding panic. aborting.
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.align/extern-types-size_of_val.align.run.stderr
error in revision `align`: 1 errors occurred comparing run output.
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.align" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.align/a"
--- stderr -------------------------------
thread 'main' (1) panicked at library/core/src/panicking.rs:221:5:
attempted to compute the size or alignment of extern type `A`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------
---- [ui] tests/ui/extern/extern-types-size_of_val.rs#size stdout ----
diff of run.stderr:
- thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+ thread 'main' (1) panicked at library/core/src/panicking.rs:$LINE:$COL:
2 attempted to compute the size or alignment of extern type `A`
4 thread caused non-unwinding panic. aborting.
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.size/extern-types-size_of_val.size.run.stderr
error in revision `size`: 1 errors occurred comparing run output.
error in revision `size`: 1 errors occurred comparing run output.
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.size" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-size_of_val.size/a"
--- stderr -------------------------------
thread 'main' (1) panicked at library/core/src/panicking.rs:221:5:
attempted to compute the size or alignment of extern type `A`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------
---- [ui] tests/ui/hygiene/panic-location.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at library/alloc/src/raw_vec.rs:LL:CC:
+ thread 'main' (1) panicked at library/alloc/src/raw_vec.rs:LL:CC:
2 capacity overflow
4
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location/panic-location.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location/a"
stdout: none
---
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace/const-eval-select-backtrace.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace/a"
stdout: none
---
To only update this specific test, also pass `--test-args intrinsics/not-overridden.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/intrinsics/not-overridden.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/not-overridden" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/not-overridden/auxiliary"
--- stderr -------------------------------
##[error]error: internal compiler error: /checkout/compiler/rustc_codegen_ssa/src/mir/block.rs:990:29: intrinsic const_deallocate must be overridden by codegen backend, but isn't
--> /checkout/tests/ui/intrinsics/not-overridden.rs:16:14
|
---
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
error: aborting due to 1 previous error
------------------------------------------
---
5 Once instance has previously been poisoned
6
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-87707/issue-87707.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-87707" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-87707/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/issues/issue-87707.rs:14:24:
Here Once instance is poisoned.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
3
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/layout/valid_range_oob/valid_range_oob.stderr
To only update this specific test, also pass `--test-args layout/valid_range_oob.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/layout/valid_range_oob.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/layout/valid_range_oob" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/layout/valid_range_oob/auxiliary"
--- stderr -------------------------------
thread 'rustc' (3) panicked at /checkout/compiler/rustc_abi/src/layout.rs:413:17:
257 > 255
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: the compiler unexpectedly panicked. this is a bug.
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
#0 [layout_of] computing layout of `Foo`
#0 [layout_of] computing layout of `Foo`
#1 [eval_to_allocation_raw] const-evaluating + checking `FOO`
------------------------------------------
---- [ui] tests/ui/macros/assert-long-condition.rs stdout ----
---
3 + 19 + 20 + 21 + 22 + 23 + 24 + 25 == 0
4 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition/assert-long-condition.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition/a"
stdout: none
---
11 LL | StorageLive(a);
12 | ^^^^^^^^^^^^^^
13
+ thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
14 aborting due to `-Z treat-err-as-bug=1`
16
The actual stderr differed from the expected stderr.
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/lint/storage-live/storage-live.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args mir/lint/storage-live.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/mir/lint/storage-live.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/lint/storage-live" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/lint/storage-live/auxiliary" "-Zlint-mir" "-Ztreat-err-as-bug"
--- stderr -------------------------------
--- stderr -------------------------------
note: no errors encountered even though delayed bugs were created
note: those delayed bugs will now be shown as internal compiler errors
error: internal compiler error: broken MIR in Item(DefId(0:8 ~ storage_live[e681]::multiple_storage)) (after pass CheckPackedRef) at bb0[1]:
StorageLive(_1) which already has storage here
|
LL | StorageLive(a);
| ^^^^^^^^^^^^^^
|
|
note: delayed at compiler/rustc_mir_transform/src/lint.rs:97:26 - disabled backtrace
--> /checkout/tests/ui/mir/lint/storage-live.rs:23:13
|
LL | StorageLive(a);
| ^^^^^^^^^^^^^^
thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
aborting due to `-Z treat-err-as-bug=1`
error: the compiler unexpectedly panicked. this is a bug.
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z lint-mir -Z treat-err-as-bug
query stack during panic:
end of query stack
------------------------------------------
---- [ui] tests/ui/nll/issue-51345-2.rs stdout ----
error: error pattern 'thread 'main' panicked' not found!
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/nll/issue-51345-2" && RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/nll/issue-51345-2/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/nll/issue-51345-2.rs:8:26:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
---- [ui] tests/ui/numbers-arithmetic/overflowing-sub.rs stdout ----
error: error pattern 'thread 'main' panicked' not found!
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/overflowing-sub" && RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/overflowing-sub/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/numbers-arithmetic/overflowing-sub.rs:10:14:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
4 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/fmt-only-once/fmt-only-once.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/fmt-only-once" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/fmt-only-once/a"
stdout: none
---
3 stack backtrace:
4 0: std::panicking::begin_panic
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.legacy/issue-47429-short-backtraces.legacy.run.stderr
error in revision `legacy`: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.legacy" && RUST_BACKTRACE="1" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.legacy/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/issue-47429-short-backtraces.rs:23:5:
explicit panic
stack backtrace:
---
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-column/location-detail-panic-no-column.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-column" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-column/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/location-detail-panic-no-column.rs:7:0:
column-redacted
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
3 stack backtrace:
4 0: std::panicking::begin_panic::<&str>
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.v0/issue-47429-short-backtraces.v0.run.stderr
error in revision `v0`: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.v0" && RUST_BACKTRACE="1" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/issue-47429-short-backtraces.v0/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/issue-47429-short-backtraces.rs:23:5:
explicit panic
stack backtrace:
---
---- [ui] tests/ui/panics/location-detail-panic-no-file.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at <redacted>:7:5:
+ thread 'main' (1) panicked at <redacted>:7:5:
2 file-redacted
4
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-file/location-detail-panic-no-file.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-file" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-file/a"
stdout: none
--- stderr -------------------------------
thread 'main' (1) panicked at <redacted>:7:5:
file-redacted
------------------------------------------
---- [ui] tests/ui/panics/location-detail-unwrap-no-file.rs stdout ----
---- [ui] tests/ui/panics/location-detail-unwrap-no-file.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at <redacted>:8:9:
+ thread 'main' (1) panicked at <redacted>:8:9:
2 called `Option::unwrap()` on a `None` value
4
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-unwrap-no-file/location-detail-unwrap-no-file.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-unwrap-no-file" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-unwrap-no-file/a"
stdout: none
--- stderr -------------------------------
thread 'main' (1) panicked at <redacted>:8:9:
called `Option::unwrap()` on a `None` value
------------------------------------------
---- [ui] tests/ui/panics/location-detail-panic-no-location-info.rs stdout ----
---- [ui] tests/ui/panics/location-detail-panic-no-location-info.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at <redacted>:0:0:
+ thread 'main' (1) panicked at <redacted>:0:0:
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-location-info/location-detail-panic-no-location-info.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-location-info" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-location-info/a"
stdout: none
stdout: none
--- stderr -------------------------------
thread 'main' (1) panicked at <redacted>:0:0:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------
---
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-line/location-detail-panic-no-line.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-line" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/location-detail-panic-no-line/a"
stdout: none
---
---- [ui] tests/ui/panics/main-panic.rs stdout ----
error: error pattern 'thread 'main' panicked at' not found!
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/main-panic" && RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/main-panic/a"
stdout: none
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/main-panic.rs:6:5:
---
- thread 'main' panicked at $DIR/panic-in-cleanup.rs:16:9:
+ thread 'main' (1) panicked at $DIR/panic-in-cleanup.rs:16:9:
5 BOOM
6 stack backtrace:
- thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+ thread 'main' (1) panicked at library/core/src/panicking.rs:$LINE:$COL:
8 panic in a destructor during cleanup
9 thread caused non-unwinding panic. aborting.
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-cleanup/panic-in-cleanup.run.stderr
error: 1 errors occurred comparing run output.
error: 1 errors occurred comparing run output.
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-cleanup" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-cleanup/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/panic-in-cleanup.rs:22:5:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
4: 0x7f799074d975 - std[a8c82c70e1792198]::panicking::default_hook::{closure#1}
5: 0x7f799074d53c - std[a8c82c70e1792198]::panicking::default_hook
6: 0x7f799074e212 - std[a8c82c70e1792198]::panicking::rust_panic_with_hook
7: 0x5574dd06326a - std::panicking::begin_panic::{{closure}}::hfeef5d96fb9d6114
8: 0x5574dd0631d6 - std::sys::backtrace::__rust_end_short_backtrace::hdd4861a76b1f228c
9: 0x5574dd063217 - std::panicking::begin_panic::hfae16e0a71d98c5c
10: 0x5574dd063a89 - <panic_in_cleanup::Bomb as core::ops::drop::Drop>::drop::h0dae05f7693d1e72
11: 0x5574dd0633e6 - core::ptr::drop_in_place<panic_in_cleanup::Bomb>::h611269a68dfb58e5
12: 0x5574dd063ab8 - panic_in_cleanup::main::h6ff1a6f085b80f0f
14: 0x5574dd0631e6 - std::sys::backtrace::__rust_begin_short_backtrace::hbf32c0edcdbd0688
15: 0x5574dd0631b9 - std::rt::lang_start::{{closure}}::h2b77e12bf21862ea
16: 0x7f799072f15a - std[a8c82c70e1792198]::rt::lang_start_internal
17: 0x5574dd063197 - std::rt::lang_start::h9421885746a92d47
---
- thread 'main' panicked at $DIR/panic-in-ffi.rs:13:5:
+ thread 'main' (1) panicked at $DIR/panic-in-ffi.rs:13:5:
2 Test
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
- thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+ thread 'main' (1) panicked at library/core/src/panicking.rs:$LINE:$COL:
6 stack backtrace:
7 thread caused non-unwinding panic. aborting.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-ffi/panic-in-ffi.run.stderr
error: 1 errors occurred comparing run output.
error: 1 errors occurred comparing run output.
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-ffi" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-ffi/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/panic-in-ffi.rs:13:5:
Test
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' (1) panicked at library/core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x7fa74edd2b8f - <std[a8c82c70e1792198]::sys::backtrace::_print::DisplayBacktrace as core[bb4eb896225c941f]::fmt::Display>::fmt
1: 0x7fa74ee2d830 - core[bb4eb896225c941f]::fmt::write
2: 0x7fa74edc7cd9 - <std[a8c82c70e1792198]::sys::pal::unix::stdio::Stderr as std[a8c82c70e1792198]::io::Write>::write_fmt
3: 0x7fa74edd2990 - std[a8c82c70e1792198]::sys::backtrace::print
4: 0x7fa74edd5975 - std[a8c82c70e1792198]::panicking::default_hook::{closure#1}
5: 0x7fa74edd553c - std[a8c82c70e1792198]::panicking::default_hook
6: 0x7fa74edd6212 - std[a8c82c70e1792198]::panicking::rust_panic_with_hook
7: 0x7fa74edd5dd3 - std[a8c82c70e1792198]::panicking::begin_panic_handler::{closure#0}
8: 0x7fa74edd3159 - std[a8c82c70e1792198]::sys::backtrace::__rust_end_short_backtrace::<std[a8c82c70e1792198]::panicking::begin_panic_handler::{closure#0}, !>
10: 0x7fa74ed8dbd5 - core[bb4eb896225c941f]::panicking::panic_nounwind_fmt
11: 0x7fa74ed8dc62 - core[bb4eb896225c941f]::panicking::panic_nounwind
12: 0x7fa74ed8de86 - core[bb4eb896225c941f]::panicking::panic_cannot_unwind
12: 0x7fa74ed8de86 - core[bb4eb896225c941f]::panicking::panic_cannot_unwind
13: 0x562b212e0a84 - panic_in_ffi::panic_in_ffi::h83f3e7214b5341d4
14: 0x562b212e0a96 - panic_in_ffi::main::h47f95a7b66e4046f
15: 0x562b212e0333 - core::ops::function::FnOnce::call_once::h6155e369b5add61f
16: 0x562b212e01e6 - std::sys::backtrace::__rust_begin_short_backtrace::h4138f8c607618e34
18: 0x7fa74edb715a - std[a8c82c70e1792198]::rt::lang_start_internal
19: 0x562b212e0197 - std::rt::lang_start::h1a745ea6cfcd2d88
20: 0x562b212e0ab5 - main
21: 0x7fa74eb39150 - <unknown>
---
---- [ui] tests/ui/panics/panic-take-handler-nop.rs stdout ----
error: error pattern 'thread 'main' panicked' not found!
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-take-handler-nop" && RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-take-handler-nop/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/panic-take-handler-nop.rs:10:5:
foobar
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---
3 stack backtrace:
4 0: std::panicking::begin_panic::<&str>
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.v0/runtime-switch.v0.run.stderr
error in revision `v0`: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.v0" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.v0/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/runtime-switch.rs:26:5:
explicit panic
stack backtrace:
---
3 stack backtrace:
4 0: std::panicking::begin_panic
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.legacy/runtime-switch.legacy.run.stderr
error in revision `legacy`: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.legacy" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/runtime-switch.legacy/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/runtime-switch.rs:26:5:
explicit panic
stack backtrace:
---
3 stack backtrace:
4 0: std::panicking::begin_panic
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/short-ice-remove-middle-frames-2/short-ice-remove-middle-frames-2.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/short-ice-remove-middle-frames-2" && RUST_BACKTRACE="1" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/short-ice-remove-middle-frames-2/a"
--- stderr -------------------------------
thread 'main' (1) panicked at /checkout/tests/ui/panics/short-ice-remove-middle-frames-2.rs:56:5:
debug!!!
stack backtrace:
stack backtrace:
0: std::panicking::begin_panic
1: short_ice_remove_middle_frames_2::eight
2: short_ice_remove_middle_frames_2::seven::{{closure}}
[... omitted 3 frames ...]
3: short_ice_remove_middle_frames_2::fifth
4: short_ice_remove_middle_frames_2::fourth::{{closure}}
[... omitted 4 frames ...]
5: short_ice_remove_middle_frames_2::first
6: short_ice_remove_middle_frames_2::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
------------------------------------------
---
thread 'main' (1) panicked at /checkout/tests/ui/panics/short-ice-remove-middle-frames.rs:52:5:
debug!!!
stack backtrace:
0: std::panicking::begin_panic
1: short_ice_remove_middle_frames::seven
2: short_ice_remove_middle_frames::sixth
3: short_ice_remove_middle_frames::fifth::{{closure}}
[... omitted 4 frames ...]
4: short_ice_remove_middle_frames::second
5: short_ice_remove_middle_frames:🥇:{{closure}}
6: short_ice_remove_middle_frames::first
7: short_ice_remove_middle_frames::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
------------------------------------------
---
---- [ui] tests/ui/process/println-with-broken-pipe.rs stdout ----
diff of run.stderr:
- thread 'main' panicked at library/std/src/io/stdio.rs:LL:CC:
+ thread 'main' (1) panicked at library/std/src/io/stdio.rs:LL:CC:
2 failed printing to stdout: Broken pipe (os error 32)
4
The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/process/println-with-broken-pipe/println-with-broken-pipe.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 0
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/process/println-with-broken-pipe" && RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/process/println-with-broken-pipe/a"
--- stdout -------------------------------
---
---- [ui] tests/ui/resolve/multiple_definitions_attribute_merging.rs stdout ----
diff of stderr:
16 LL | struct Dealigned<T>(u8, T);
18 |
- = Box<dyn Any>
+ = thread 'rustc' (3) panicked at compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21:
+ Box<dyn Any>
+ Box<dyn Any>
20 query stack during panic:
21 #0 [mir_built] building MIR for `<impl at $DIR/multiple_definitions_attribute_merging.rs:15:10: 15:19>::eq`
22 #1 [check_unsafety] unsafety-checking `<impl at $DIR/multiple_definitions_attribute_merging.rs:15:10: 15:19>::eq`
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/multiple_definitions_attribute_merging/multiple_definitions_attribute_merging.stderr
To update references, rerun the tests and pass the `--bless` flag
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args resolve/multiple_definitions_attribute_merging.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/multiple_definitions_attribute_merging" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/multiple_definitions_attribute_merging/auxiliary"
--- stderr -------------------------------
error[E0428]: the name `Dealigned` is defined multiple times
##[error] --> /checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs:17:1
|
|
LL | struct Dealigned<T>(u8, T);
| --------------------------- previous definition of the type `Dealigned` here
...
LL | struct Dealigned<T>(u8, T);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Dealigned` redefined here
= note: `Dealigned` must be defined only once in the type namespace of this module
##[error]error: internal compiler error: compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21: builtin derive created an unaligned reference
--> /checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs:17:25
--> /checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs:17:25
|
LL | #[derive(PartialEq)]
| --------- in this derive macro expansion
LL | #[repr(C)]
LL | struct Dealigned<T>(u8, T);
|
= note: this error: internal compiler error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
thread 'rustc' (3) panicked at compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21:
---
note: please make sure that you have updated to the latest nightly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [mir_built] building MIR for `<impl at /checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs:15:10: 15:19>::eq`
#1 [check_unsafety] unsafety-checking `<impl at /checkout/tests/ui/resolve/multiple_definitions_attribute_merging.rs:15:10: 15:19>::eq`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0428`.
------------------------------------------
------------------------------------------
---- [ui] tests/ui/resolve/proc_macro_generated_packed.rs stdout ----
diff of stderr:
7 LL | struct Dealigned<T>(u8, T);
9 |
- = Box<dyn Any>
+ = thread 'rustc' (3) panicked at compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21:
+ Box<dyn Any>
+ Box<dyn Any>
11 query stack during panic:
12 #0 [mir_built] building MIR for `<impl at $DIR/proc_macro_generated_packed.rs:15:10: 15:19>::eq`
13 #1 [check_unsafety] unsafety-checking `<impl at $DIR/proc_macro_generated_packed.rs:15:10: 15:19>::eq`
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/proc_macro_generated_packed/proc_macro_generated_packed.stderr
To update references, rerun the tests and pass the `--bless` flag
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args resolve/proc_macro_generated_packed.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/resolve/proc_macro_generated_packed.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/proc_macro_generated_packed" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/resolve/proc_macro_generated_packed/auxiliary"
--- stderr -------------------------------
##[error]error: internal compiler error: compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21: builtin derive created an unaligned reference
--> /checkout/tests/ui/resolve/proc_macro_generated_packed.rs🔞25
|
|
LL | #[derive(PartialEq)]
| --------- in this derive macro expansion
...
LL | struct Dealigned<T>(u8, T);
|
= note: this error: internal compiler error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
thread 'rustc' (3) panicked at compiler/rustc_mir_transform/src/check_packed_ref.rs:50:21:
---
note: please make sure that you have updated to the latest nightly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [mir_built] building MIR for `<impl at /checkout/tests/ui/resolve/proc_macro_generated_packed.rs:15:10: 15:19>::eq`
#1 [check_unsafety] unsafety-checking `<impl at /checkout/tests/ui/resolve/proc_macro_generated_packed.rs:15:10: 15:19>::eq`
error: aborting due to 1 previous error
------------------------------------------
---- [ui] tests/ui/test-attrs/test-thread-capture.rs stdout ----
diff of run.stdout:
10 fie
11 foe
12 fum
- thread 'thready_fail' panicked at $DIR/test-thread-capture.rs:32:5:
+ thread 'thready_fail' (2) panicked at $DIR/test-thread-capture.rs:32:5:
15 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
16
The actual run.stdout differed from the expected run.stdout.
Actual run.stdout saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-capture/test-thread-capture.run.stdout
error: 1 errors occurred comparing run output.
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-capture" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-capture/a" "--test-threads=1"
--- stdout -------------------------------
---
fee
fie
foe
fum
thread 'thready_fail' (2) panicked at /checkout/tests/ui/test-attrs/test-thread-capture.rs:32:5:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
---
---- [ui] tests/ui/test-attrs/test-thread-nocapture.rs stdout ----
diff of run.stderr:
- thread 'thready_fail' panicked at $DIR/test-thread-nocapture.rs:32:5:
+ thread 'thready_fail' (2) panicked at $DIR/test-thread-nocapture.rs:32:5:
3 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-nocapture/test-thread-nocapture.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-nocapture" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-thread-nocapture/a" "--test-threads=1" "--nocapture"
running 2 tests
test thready_fail ... fee
fie
---
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
------------------------------------------
--- stderr -------------------------------
thread 'thready_fail' (2) panicked at /checkout/tests/ui/test-attrs/test-thread-nocapture.rs:32:5:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------
---
8 left: 2
9 right: 4
The actual run.stderr differed from the expected run.stderr.
Actual run.stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-panic-abort-nocapture/test-panic-abort-nocapture.run.stderr
error: 1 errors occurred comparing run output.
status: exit status: 101
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-panic-abort-nocapture" && RUST_BACKTRACE="0" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/test-attrs/test-panic-abort-nocapture/a" "--test-threads=1" "--nocapture"
running 4 tests
test it_fails ... about to fail
FAILED
---
---- [ui] tests/ui/track-diagnostics/track.rs stdout ----
diff of stderr:
24 = note: rustc <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>V</mi><mi>E</mi><mi>R</mi><mi>S</mi><mi>I</mi><mi>O</mi><mi>N</mi><mi>r</mi><mi>u</mi><mi>n</mi><mi>n</mi><mi>i</mi><mi>n</mi><mi>g</mi><mi>o</mi><mi>n</mi></mrow><annotation encoding="application/x-tex">VERSION running on </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.8778em;vertical-align:-0.1944em;"></span><span class="mord mathnormal" style="margin-right:0.22222em;">V</span><span class="mord mathnormal" style="margin-right:0.05764em;">ERS</span><span class="mord mathnormal" style="margin-right:0.07847em;">I</span><span class="mord mathnormal" style="margin-right:0.10903em;">ON</span><span class="mord mathnormal" style="margin-right:0.02778em;">r</span><span class="mord mathnormal">u</span><span class="mord mathnormal">nnin</span><span class="mord mathnormal" style="margin-right:0.03588em;">g</span><span class="mord mathnormal">o</span><span class="mord mathnormal">n</span></span></span></span>TARGET
25 = note: compiler flags: ... -Z ui-testing ... -Z track-diagnostics
- thread 'rustc' panicked at compiler/rustc_hir_typeck/src/lib.rs:LL:CC:
- thread 'rustc' panicked at compiler/rustc_hir_typeck/src/lib.rs:LL:CC:
+ thread 'rustc' (3) panicked at compiler/rustc_hir_typeck/src/lib.rs:LL:CC:
29 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
30
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/track-diagnostics/track/track.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args track-diagnostics/track.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/track-diagnostics/track.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/track-diagnostics/track" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/track-diagnostics/track/auxiliary" "-Z" "track-diagnostics"
--- stderr -------------------------------
error[E0425]: cannot find value `rust` in this scope
##[error] --> /checkout/tests/ui/track-diagnostics/track.rs:17:11
|
|
LL | break rust
| ^^^^ not found in this scope
-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:424:36
error[E0268]: `break` outside of a loop or labeled block
|
LL | break rust
LL | break rust
| ^^^^^^^^^^ cannot `break` outside of a loop or labeled block
-Ztrack-diagnostics: created at compiler/rustc_passes/src/loops.rs:357:33
error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
|
LL | break rust
| ^^^^^^^^^^
-Ztrack-diagnostics: created at compiler/rustc_hir_typeck/src/lib.rs:400:24
-Ztrack-diagnostics: created at compiler/rustc_hir_typeck/src/lib.rs:400:24
|
= note: the compiler expectedly panicked. this is a feature.
= note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-320764675
= note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
= note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z track-diagnostics
thread 'rustc' (3) panicked at compiler/rustc_hir_typeck/src/lib.rs:416:10:
Box<dyn Any>
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z track-diagnostics
query stack during panic:
query stack during panic:
#0 [typeck] type-checking `main`
end of query stack
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0268, E0425.
Some errors have detailed explanations: E0268, E0425.
For more information about an error, try `rustc --explain E0268`.
------------------------------------------
---- [ui] tests/ui/treat-err-as-bug/err.rs stdout ----
diff of stderr:
4 LL | pub static C: u32 = 0 - 1;
6
+ thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
+ thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
+ aborting due to `-Z treat-err-as-bug=1`
8
9 query stack during panic:
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/err.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args treat-err-as-bug/err.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/treat-err-as-bug/err.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/auxiliary" "-Ztreat-err-as-bug"
--- stderr -------------------------------
error: internal compiler error[E0080]: could not evaluate static initializer
##[error] --> /checkout/tests/ui/treat-err-as-bug/err.rs:11:21
|
|
LL | pub static C: u32 = 0 - 1;
thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
aborting due to `-Z treat-err-as-bug=1`
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z treat-err-as-bug
query stack during panic:
query stack during panic:
#0 [eval_static_initializer] evaluating initializer of static `C`
end of query stack
------------------------------------------
---- [ui] tests/ui/treat-err-as-bug/span_delayed_bug.rs stdout ----
diff of stderr:
4 LL | fn main() {}
5 | ^^^^^^^^^
6
+ thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
+ aborting due to `-Z treat-err-as-bug=1`
8
9 query stack during panic:
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/span_delayed_bug/span_delayed_bug.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args treat-err-as-bug/span_delayed_bug.rs`
error: 1 errors occurred comparing output.
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/treat-err-as-bug/span_delayed_bug.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/span_delayed_bug" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/span_delayed_bug/auxiliary" "-Ztreat-err-as-bug" "-Zeagerly-emit-delayed-bugs"
--- stderr -------------------------------
--- stderr -------------------------------
error: internal compiler error: delayed bug triggered by #[rustc_error(delayed_bug_from_inside_query)]
|
LL | fn main() {}
| ^^^^^^^^^
thread 'rustc' (3) panicked at compiler/rustc_errors/src/lib.rs:1757:17:
aborting due to `-Z treat-err-as-bug=1`
error: the compiler unexpectedly panicked. this is a bug.
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly
note: rustc 1.81.0-nightly (0b3b4acef 2024-06-19) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -Z ignore-directory-in-diagnostics-source-blocks=/checkout/vendor -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z treat-err-as-bug -Z eagerly-emit-delayed-bugs
query stack during panic:
query stack during panic:
#0 [trigger_delayed_bug] triggering a delayed bug for testing incremental
------------------------------------------