Skip to content

Conversation

@clubby789
Copy link
Contributor

r? @ghost

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 17, 2025
@clubby789
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jan 17, 2025
@clubby789 clubby789 added S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Jan 17, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 17, 2025
[EXPERIMENT] Treat `opt-level=0` as `opt-level=1`

r? `@ghost`
@bors
Copy link
Collaborator

bors commented Jan 17, 2025

⌛ Trying commit da619b2 with merge 2a413cb...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-18 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#21 exporting to docker image format
#21 sending tarball 28.4s done
#21 DONE 41.8s
##[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-18]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
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-18', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--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', '--set', 'rust.lld=false', '--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-18/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---


failures:

---- [ui] tests/ui/asm/inline-syntax.rs#arm_llvm_18 stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/inline-syntax.arm_llvm_18/inline-syntax.arm_llvm_18.stderr"


14 LL | .intel_syntax noprefix
16 
- error: unknown directive
-   --> $DIR/inline-syntax.rs:26:15
-    |
-    |
- LL |         asm!(".intel_syntax noprefix", "nop");
-    |
- note: instantiated into assembly here
- note: instantiated into assembly here
-   --> <inline asm>:1:2
- LL |     .intel_syntax noprefix
-    |     ^
- 
- error: unknown directive
- error: unknown directive
-   --> $DIR/inline-syntax.rs:30:15
-    |
- LL |         asm!(".intel_syntax aaa noprefix", "nop");
-    |
- note: instantiated into assembly here
- note: instantiated into assembly here
-   --> <inline asm>:1:2
-    |
- LL |     .intel_syntax aaa noprefix
- 
- error: unknown directive
-   --> $DIR/inline-syntax.rs:34:15
-    |
-    |
- LL |         asm!(".att_syntax noprefix", "nop");
-    |
- note: instantiated into assembly here
- note: instantiated into assembly here
-   --> <inline asm>:1:2
-    |
- LL |     .att_syntax noprefix
- 
- error: unknown directive
-   --> $DIR/inline-syntax.rs:38:15
-    |
-    |
- LL |         asm!(".att_syntax bbb noprefix", "nop");
-    |
- note: instantiated into assembly here
- note: instantiated into assembly here
-   --> <inline asm>:1:2
-    |
- LL |     .att_syntax bbb noprefix
- 
- error: unknown directive
-   --> $DIR/inline-syntax.rs:42:15
-    |
-    |
- LL |         asm!(".intel_syntax noprefix; nop");
-    |
- note: instantiated into assembly here
- note: instantiated into assembly here
-   --> <inline asm>:1:2
-    |
- LL |     .intel_syntax noprefix; nop
- 
- error: unknown directive
-   --> $DIR/inline-syntax.rs:49:13
-    |
-    |
- LL |             .intel_syntax noprefix
-    |             ^
-    |
- note: instantiated into assembly here
-   --> <inline asm>:2:13
- LL |             .intel_syntax noprefix
-    |             ^
- 
- error: aborting due to 8 previous errors
---
The actual stderr differed from the expected stderr.
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args asm/inline-syntax.rs`

error in revision `arm_llvm_18`: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/asm/inline-syntax.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" "--cfg" "arm_llvm_18" "--check-cfg" "cfg(test,FALSE,x86_64,arm_llvm_18,arm)" "--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/asm/inline-syntax.arm_llvm_18" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target" "armv7-unknown-linux-gnueabihf" "-Cpanic=abort" "--extern" "minicore=/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/inline-syntax.arm_llvm_18/libminicore.rlib"
--- stderr -------------------------------
error: unknown directive
   |
note: instantiated into assembly here
note: instantiated into assembly here
  --> <inline asm>:1:1
   |
LL | .intel_syntax noprefix

error: unknown directive
   |
note: instantiated into assembly here
note: instantiated into assembly here
  --> <inline asm>:1:1
   |
LL | .intel_syntax noprefix

error: aborting due to 2 previous errors
------------------------------------------



---- [ui] tests/ui/async-await/future-sizes/large-arg.rs stdout ----
Saved the actual stdout to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/future-sizes/large-arg/large-arg.stdout"
diff of stdout:

58 print-type-size         upvar `.t`: 1024 bytes
59 print-type-size     variant `Panicked`: 1024 bytes
60 print-type-size         upvar `.t`: 1024 bytes
+ print-type-size type: `std::task::Poll<()>`: 1 bytes, alignment: 1 bytes
+ print-type-size     discriminant: 1 bytes
+ print-type-size     variant `Ready`: 0 bytes
+ print-type-size         field `.0`: 0 bytes
+ print-type-size     variant `Pending`: 0 bytes


The actual stdout differed from the expected stdout.
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 async-await/future-sizes/large-arg.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/async-await/future-sizes/large-arg.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(test,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/async-await/future-sizes/large-arg" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "print-type-sizes" "--crate-type=lib" "--edition=2021"
--- stdout -------------------------------
print-type-size type: `{async fn body of test()}`: 3076 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Unresumed`: 0 bytes
print-type-size     variant `Suspend0`: 3075 bytes
print-type-size         local `.__awaitee`: 3075 bytes, type: {async fn body of a<[u8; 1024]>()}
print-type-size     variant `Returned`: 0 bytes
print-type-size     variant `Panicked`: 0 bytes
print-type-size type: `std::mem::ManuallyDrop<{async fn body of a<[u8; 1024]>()}>`: 3075 bytes, alignment: 1 bytes
print-type-size     field `.value`: 3075 bytes
print-type-size type: `std::mem::MaybeUninit<{async fn body of a<[u8; 1024]>()}>`: 3075 bytes, alignment: 1 bytes
print-type-size     variant `MaybeUninit`: 3075 bytes
print-type-size         field `.uninit`: 0 bytes
print-type-size         field `.value`: 3075 bytes
print-type-size type: `{async fn body of a<[u8; 1024]>()}`: 3075 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Unresumed`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Suspend0`: 3074 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size         local `.__awaitee`: 2050 bytes, type: {async fn body of b<[u8; 1024]>()}
print-type-size     variant `Returned`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Panicked`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size type: `std::mem::ManuallyDrop<{async fn body of b<[u8; 1024]>()}>`: 2050 bytes, alignment: 1 bytes
print-type-size     field `.value`: 2050 bytes
print-type-size type: `std::mem::MaybeUninit<{async fn body of b<[u8; 1024]>()}>`: 2050 bytes, alignment: 1 bytes
print-type-size     variant `MaybeUninit`: 2050 bytes
print-type-size         field `.uninit`: 0 bytes
print-type-size         field `.value`: 2050 bytes
print-type-size type: `{async fn body of b<[u8; 1024]>()}`: 2050 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Unresumed`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Suspend0`: 2049 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size         local `.__awaitee`: 1025 bytes, type: {async fn body of c<[u8; 1024]>()}
print-type-size     variant `Returned`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Panicked`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size type: `std::mem::ManuallyDrop<{async fn body of c<[u8; 1024]>()}>`: 1025 bytes, alignment: 1 bytes
print-type-size     field `.value`: 1025 bytes
print-type-size type: `std::mem::MaybeUninit<{async fn body of c<[u8; 1024]>()}>`: 1025 bytes, alignment: 1 bytes
print-type-size     variant `MaybeUninit`: 1025 bytes
print-type-size         field `.uninit`: 0 bytes
print-type-size         field `.value`: 1025 bytes
print-type-size type: `std::task::Poll<[u8; 1024]>`: 1025 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Ready`: 1024 bytes
print-type-size         field `.0`: 1024 bytes
print-type-size     variant `Pending`: 0 bytes
print-type-size type: `{async fn body of c<[u8; 1024]>()}`: 1025 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Unresumed`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Returned`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size     variant `Panicked`: 1024 bytes
print-type-size         upvar `.t`: 1024 bytes
print-type-size type: `std::task::Poll<()>`: 1 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Ready`: 0 bytes
print-type-size         field `.0`: 0 bytes
print-type-size     variant `Pending`: 0 bytes
stderr: none


---- [ui] tests/ui/codegen/overflow-during-mono.rs stdout ----
---- [ui] tests/ui/codegen/overflow-during-mono.rs stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/codegen/overflow-during-mono/overflow-during-mono.stderr"
diff of stderr:

- error[E0275]: overflow evaluating the requirement `{closure@$DIR/overflow-during-mono.rs:13:41: 13:44}: Sized`
+ error[E0275]: overflow evaluating the requirement `(&mut {closure@$DIR/overflow-during-mono.rs:13:41: 13:44},): Unpin`
2    |
3    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "64"]` attribute to your crate (`overflow_during_mono`)
-    = note: required for `Filter<std::array::IntoIter<i32, 11>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>` to implement `Iterator`
-    = note: 31 redundant requirements hidden
-    = note: required for `Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<std::array::IntoIter<i32, 11>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>` to implement `Iterator`
-    = note: required for `Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<Filter<std::array::IntoIter<i32, 11>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>, {closure@$DIR/overflow-during-mono.rs:13:41: 13:44}>` to implement `IntoIterator`
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
9 error: aborting due to 1 previous error
10 

Note: some mismatched output was normalized before being compared
Note: some mismatched output was normalized before being compared
- error[E0275]: overflow evaluating the requirement `(&mut {closure@/checkout/tests/ui/codegen/overflow-during-mono.rs:13:41: 13:44},): Unpin`
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
---
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
-   --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
+ error[E0275]: overflow evaluating the requirement `(&mut {closure@$DIR/overflow-during-mono.rs:13:41: 13:44},): Unpin`
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL
+ note: required because it's used within this closure
+   --> $SRC_DIR/core/src/iter/adapters/filter.rs:LL:COL

The actual stderr differed from the expected stderr.
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args codegen/overflow-during-mono.rs`
To only update this specific test, also pass `--test-args codegen/overflow-during-mono.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/codegen/overflow-during-mono.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(test,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/codegen/overflow-during-mono" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0275]: overflow evaluating the requirement `(&mut {closure@/checkout/tests/ui/codegen/overflow-during-mono.rs:13:41: 13:44},): Unpin`
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "64"]` attribute to your crate (`overflow_during_mono`)
  --> /rustc/FAKE_PREFIX/library/core/src/iter/traits/iterator.rs:2828:13
note: required because it's used within this closure
  --> /rustc/FAKE_PREFIX/library/core/src/iter/adapters/filter.rs:86:5
note: required because it's used within this closure
---
---- [ui] tests/ui/consts/const-eval/issue-50814.rs stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/const-eval/issue-50814/issue-50814.stderr"
diff of stderr:

10 LL |     &Sum::<U8, U8>::MAX
12 
+ note: erroneous constant encountered
+   --> $DIR/issue-50814.rs:21:6
+    |
+    |
+ LL |     &Sum::<U8, U8>::MAX
+    |
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
+ 
13 error[E0080]: evaluation of `<Sum<U8, U8> as Unsigned>::MAX` failed
15    |

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
-   --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
+ note: erroneous constant encountered
+   --> $DIR/issue-50814.rs:21:6
+    |
+ LL |     &Sum::<U8, U8>::MAX
+    |
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`


The actual stderr differed from the expected 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 consts/const-eval/issue-50814.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/consts/const-eval/issue-50814.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(test,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/consts/const-eval/issue-50814" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0080]: evaluation of `<Sum<U8, U8> as Unsigned>::MAX` failed
   |
   |
LL |     const MAX: u8 = A::MAX + B::MAX;
   |                     ^^^^^^^^^^^^^^^ attempt to compute `u8::MAX + u8::MAX`, which would overflow
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
   |
   |
LL |     &Sum::<U8, U8>::MAX

note: erroneous constant encountered
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
   |
   |
LL |     &Sum::<U8, U8>::MAX
   |
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error[E0080]: evaluation of `<Sum<U8, U8> as Unsigned>::MAX` failed
   |
   |
LL |     const MAX: u8 = A::MAX + B::MAX;
   |                     ^^^^^^^^^^^^^^^ attempt to compute `u8::MAX + u8::MAX`, which would overflow
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
   |
   |
LL |     &Sum::<U8, U8>::MAX
   |
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:5
   |
   |
LL |     &Sum::<U8, U8>::MAX

note: erroneous constant encountered
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:21:6
   |
   |
LL |     &Sum::<U8, U8>::MAX
   |
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
note: the above error was encountered while instantiating `fn foo::<i32>`
  --> /checkout/tests/ui/consts/const-eval/issue-50814.rs:26:5
   |
LL |     foo(0);
---

+ error[E0080]: evaluation of `Bar::<BITS>::ASSERT` failed
+   --> $DIR/mono-reachable-invalid-const.rs:8:9
+    |
+ LL |         ["oops"][b];
+    |         ^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
+ note: erroneous constant encountered
+   --> $DIR/mono-reachable-invalid-const.rs:8:9
+    |
+    |
+ LL |         ["oops"][b];
+ 
+ note: erroneous constant encountered
+   --> $DIR/mono-reachable-invalid-const.rs:13:19
+    |
+    |
+ LL |         let val = Self::ASSERT;
+    |                   ^^^^^^^^^^^^
+ 
1 error[E0080]: evaluation of `Bar::<0>::ASSERT` failed
3    |

9    |
10 LL |         let val = Self::ASSERT;
10 LL |         let val = Self::ASSERT;
11    |                   ^^^^^^^^^^^^
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
13 note: erroneous constant encountered
14   --> $DIR/mono-reachable-invalid-const.rs:13:19


24 LL |     Bar::<0>::assert();
26 
- error: aborting due to 1 previous error
+ error: aborting due to 2 previous errors
28 
28 
29 For more information about this error, try `rustc --explain E0080`.
30 

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:8:9
- LL |         ["oops"][b]; //~ ERROR evaluation of `Bar::<0>::ASSERT` failed
-   --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:8:9
- LL |         ["oops"][b]; //~ ERROR evaluation of `Bar::<0>::ASSERT` failed
+ error[E0080]: evaluation of `Bar::<BITS>::ASSERT` failed
+   --> $DIR/mono-reachable-invalid-const.rs:8:9
+    |
+    |
+ LL |         ["oops"][b];
+    |         ^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
+ note: erroneous constant encountered
+   --> $DIR/mono-reachable-invalid-const.rs:8:9
+    |
+    |
+ LL |         ["oops"][b];
+ 
+ note: erroneous constant encountered
+   --> $DIR/mono-reachable-invalid-const.rs:13:19
+    |
+    |
+ LL |         let val = Self::ASSERT;
+    |                   ^^^^^^^^^^^^
+ 
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`


The actual stderr differed from the expected 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 consts/mono-reachable-invalid-const.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/consts/mono-reachable-invalid-const.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(test,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/consts/mono-reachable-invalid-const" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
--- stderr -------------------------------
error[E0080]: evaluation of `Bar::<BITS>::ASSERT` failed
##[error]  --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:8:9
   |
   |
LL |         ["oops"][b]; //~ ERROR evaluation of `Bar::<0>::ASSERT` failed
   |         ^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:8:9
   |
   |
LL |         ["oops"][b]; //~ ERROR evaluation of `Bar::<0>::ASSERT` failed

note: erroneous constant encountered
  --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:13:19
   |
   |
LL |         let val = Self::ASSERT;
   |                   ^^^^^^^^^^^^

error[E0080]: evaluation of `Bar::<0>::ASSERT` failed
   |
   |
LL |         ["oops"][b]; //~ ERROR evaluation of `Bar::<0>::ASSERT` failed
   |         ^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:13:19
   |
LL |         let val = Self::ASSERT;
LL |         let val = Self::ASSERT;
   |                   ^^^^^^^^^^^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/mono-reachable-invalid-const.rs:13:19
   |
LL |         let val = Self::ASSERT;
LL |         let val = Self::ASSERT;
   |                   ^^^^^^^^^^^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

note: the above error was encountered while instantiating `fn Bar::<0>::assert`
   |
   |
LL |     Bar::<0>::assert();

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0080`.
For more information about this error, try `rustc --explain E0080`.
------------------------------------------


---- [ui] tests/ui/consts/required-consts/collect-in-promoted-const.rs#noopt stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/consts/required-consts/collect-in-promoted-const.noopt/collect-in-promoted-const.noopt.stderr"


+ error[E0080]: evaluation of `Fail::<T>::C` failed
+    |
+ LL |     const C: () = panic!();
+    |                   ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-in-promoted-const.rs:9:19
+    |
+    |
+    = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
+ 
+ note: erroneous constant encountered
+   --> $DIR/collect-in-promoted-const.rs:20:21
+    |
+ LL |         let _val = &Fail::<T>::C;
+ 
+ 
1 error[E0080]: evaluation of `Fail::<i32>::C` failed
3    |

11    |
11    |
12 LL |         let _val = &Fail::<T>::C;
+    |
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
15 note: the above error was encountered while instantiating `fn f::<i32>`
16   --> $DIR/collect-in-promoted-const.rs:25:5

18 LL |     f::<i32>();
---
24 

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:9:19
- LL |     const C: () = panic!(); //~ERROR evaluation of `Fail::<i32>::C` failed
-   --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:20:21
-   --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:20:21
+ error[E0080]: evaluation of `Fail::<T>::C` failed
+    |
+ LL |     const C: () = panic!();
+    |                   ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-in-promoted-const.rs:9:19
+    |
+    |
+    = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
+ 
+ note: erroneous constant encountered
+   --> $DIR/collect-in-promoted-const.rs:20:21
+    |
+ LL |         let _val = &Fail::<T>::C;
+ 
+    |
+    |
+    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`


The actual stderr differed from the expected 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 consts/required-consts/collect-in-promoted-const.rs`

error in revision `noopt`: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/consts/required-consts/collect-in-promoted-const.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" "--cfg" "noopt" "--check-cfg" "cfg(test,FALSE,noopt,opt)" "--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/consts/required-consts/collect-in-promoted-const.noopt" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Copt-level=0"
--- stderr -------------------------------
--- stderr -------------------------------
error[E0080]: evaluation of `Fail::<T>::C` failed
   |
   |
LL |     const C: () = panic!(); //~ERROR evaluation of `Fail::<i32>::C` failed
   |
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)

note: erroneous constant encountered
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:20:21
   |
LL |         let _val = &Fail::<T>::C;


error[E0080]: evaluation of `Fail::<i32>::C` failed
   |
   |
LL |     const C: () = panic!(); //~ERROR evaluation of `Fail::<i32>::C` failed
   |
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)

note: erroneous constant encountered
note: erroneous constant encountered
  --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:20:21
   |
LL |         let _val = &Fail::<T>::C;
   |
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
note: the above error was encountered while instantiating `fn f::<i32>`
  --> /checkout/tests/ui/consts/required-consts/collect-in-promoted-const.rs:25:5
   |
LL |     f::<i32>();
---
---- [ui] tests/ui/entry-point/imported_main_from_extern_crate.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/entry-point/imported_main_from_extern_crate.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(test,FALSE)" "-O" "--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" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/entry-point/imported_main_from_extern_crate/a" "-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/entry-point/imported_main_from_extern_crate/auxiliary"
--- stderr -------------------------------
error: linking with `cc` failed: exit status: 1
   |
   |
   = note: LC_ALL="C" PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcOkoo2n/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/entry-point/imported_main_from_extern_crate/auxiliary/libmain_functions.so" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e4e09ae8b039bc24.so" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-66c87807a824ae0c.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/entry-point/imported_main_from_extern_crate/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/entry-point/imported_main_from_extern_crate/a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-Wl,-rpath,$ORIGIN/auxiliary,-rpath,$ORIGIN/../../../../stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib,--enable-new-dtags,-z,origin"
   = note: some arguments are omitted. use `--verbose` to show all linker arguments
   = note: /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/entry-point/imported_main_from_extern_crate/a.imported_main_from_extern_crate.e0a3c12a488f24c1-cgu.0.rcgu.o: in function `main':
           imported_main_from_extern_crate.e0a3c12a488f24c1-cgu.0:(.text.main+0xa): undefined reference to `main_functions::boilerplate'
           
   = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
   = note: use the `-l` flag to specify native libraries to link

---
---- [ui] tests/ui/force-inlining/asm.rs stdout ----

error: `build-fail` test is required to pass check build, but check build failed
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/force-inlining/asm.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" "--check-cfg" "cfg(test,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/force-inlining/asm" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type=lib" "--target" "thumbv4t-none-eabi"
--- stderr -------------------------------
--- stderr -------------------------------
error: `instruction_set_a32` could not be inlined into `default` but is required to be inlined
   |
LL |     instruction_set_a32();
LL |     instruction_set_a32();
   |     ^^^^^^^^^^^^^^^^^^^^^ ...`instruction_set_a32` called here
   = note: could not be inlined due to: incompatible instruction set

error: `instruction_set_t32` could not be inlined into `default` but is required to be inlined
##[error]  --> /checkout/tests/ui/force-inlining/asm.rs:64:5
##[error]  --> /checkout/tests/ui/force-inlining/asm.rs:64:5
   |
LL |     instruction_set_t32();
   |     ^^^^^^^^^^^^^^^^^^^^^ ...`instruction_set_t32` called here
   = note: could not be inlined due to: incompatible instruction set


error: `instruction_set_a32` could not be inlined into `t32` but is required to be inlined
   |
LL |     instruction_set_a32();
LL |     instruction_set_a32();
   |     ^^^^^^^^^^^^^^^^^^^^^ ...`instruction_set_a32` called here
   = note: could not be inlined due to: incompatible instruction set


error: `inline_always_and_using_inline_asm` could not be inlined into `t32` but is required to be inlined
   |
LL |     inline_always_and_using_inline_asm();
LL |     inline_always_and_using_inline_asm();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...`inline_always_and_using_inline_asm` called here
   = note: could not be inlined due to: cannot move inline-asm across instruction sets

error: aborting due to 4 previous errors
------------------------------------------
------------------------------------------


---- [ui] tests/ui/invalid/issue-114435-layout-type-err.rs stdout ----

error: ui test did not emit an error
note: by default, ui tests are expected not to compile
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/invalid/issue-114435-layout-type-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(test,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/invalid/issue-114435-layout-type-err" "-A" "unused" "-A" "internal_features" "-Crpath" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "lib" "-Cdebuginfo=2"
stderr: none


---- [ui] tests/ui/layout/too-big-with-padding.rs stdout ----
---- [ui] tests/ui/layout/too-big-with-padding.rs stdout ----

error: ui test did not emit an error
note: by default, ui tests are expected not to compile
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/layout/too-big-with-padding.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" "--check-cfg" "cfg(test,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/layout/too-big-with-padding" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target" "i686-unknown-linux-gnu" "--crate-type" "lib"
stderr: none


---- [ui] tests/ui/linkage-attr/linkage1.rs stdout ----
---
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/linkage-attr/linkage1.rs:28:9:
assertion failed: !foo.is_null()
------------------------------------------


---- [ui] tests/ui/lint/large_assignments/copy_into_fn.rs stdout ----
---- [ui] tests/ui/lint/large_assignments/copy_into_fn.rs stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lint/large_assignments/copy_into_fn/copy_into_fn.stderr"
diff of stderr:

19    |
20    = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
- error: moving 9999 bytes
-   --> $DIR/copy_into_fn.rs:17:38
-    |
-    |
- LL |     many_args(Data([0; 9999]), true, Data([0; 9999]));
-    |
-    |
-    = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
- error: aborting due to 3 previous errors
+ error: aborting due to 2 previous errors
31 
32 
---
To only update this specific test, also pass `--test-args lint/large_assignments/copy_into_fn.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/lint/large_assignments/copy_into_fn.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(test,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/lint/large_assignments/copy_into_fn" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
--- stderr -------------------------------
error: moving 9999 bytes
##[error]  --> /checkout/tests/ui/lint/large_assignments/copy_into_fn.rs:14:13
   |
   |
LL |     one_arg(Data([0; 9999])); //~ ERROR large_assignments
   |
   |
   = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
  --> /checkout/tests/ui/lint/large_assignments/copy_into_fn.rs:5:9
   |
LL | #![deny(large_assignments)]
   |         ^^^^^^^^^^^^^^^^^
   |         ^^^^^^^^^^^^^^^^^

error: moving 9999 bytes
##[error]  --> /checkout/tests/ui/lint/large_assignments/copy_into_fn.rs:17:15
   |
LL |     many_args(Data([0; 9999]), true, Data([0; 9999]));
   |
   |
   = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
error: aborting due to 2 previous errors
------------------------------------------



---- [ui] tests/ui/mir/lint/assignment-overlap.rs stdout ----

error: `build-fail` test is required to pass check build, but check build failed
status: exit status: 101
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/mir/lint/assignment-overlap.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(test,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/assignment-overlap" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type=lib" "-Zlint-mir" "-Ztreat-err-as-bug"
--- stderr -------------------------------
note: no errors encountered even though delayed bugs were created

note: those delayed bugs will now be shown as internal compiler errors
note: those delayed bugs will now be shown as internal compiler errors

error: internal compiler error: broken MIR in Item(DefId(0:5 ~ assignment_overlap[1731]::main)) (after phase change to runtime-optimized) at bb0[0]:
                                encountered `Assign` statement with overlapping memory
   |
LL |             a = a;
   |             ^^^^^
   |
   |
note: delayed at compiler/rustc_mir_transform/src/lint.rs:86:30
         0: <rustc_errors::DiagCtxtInner>::emit_diagnostic
         1: <rustc_errors::DiagCtxtHandle>::emit_diagnostic
         2: <rustc_span::ErrorGuaranteed as rustc_errors::diagnostic::EmissionGuarantee>::emit_producing_guarantee
         3: <rustc_errors::DiagCtxtHandle>::span_delayed_bug::<rustc_span::span_encoding::Span, alloc::string::String>
         4: <rustc_mir_transform::lint::Lint>::fail::<&str>
         5: <rustc_mir_transform::lint::Lint as rustc_middle::mir::visit::Visitor>::visit_statement
         6: rustc_mir_transform::lint::lint_body
         8: rustc_mir_transform::optimized_mir
         9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 8]>>
        10: <rustc_query_impl::query_impl::optimized_mir::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::DefId)>>::call_once
        10: <rustc_query_impl::query_impl::optimized_mir::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::DefId)>>::call_once
        11: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
        12: rustc_query_impl::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
        13: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>>
        15: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::cross_crate_inlinable::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 1]>>
        15: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::cross_crate_inlinable::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 1]>>
        16: <rustc_query_impl::query_impl::cross_crate_inlinable::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::DefId)>>::call_once
        17: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
        18: rustc_query_impl::query_impl::cross_crate_inlinable::get_query_non_incr::__rust_end_short_backtrace
        19: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 1]>>>
        21: rustc_passes::reachable::reachable_set
        22: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::reachable_set::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 8]>>
        23: <rustc_query_impl::query_impl::reachable_set::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once
        24: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
        24: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
        25: rustc_query_impl::query_impl::reachable_set::get_query_non_incr::__rust_end_short_backtrace
        26: <rustc_metadata::rmeta::encoder::EncodeContext>::encode_crate_root
        27: rustc_metadata::rmeta::encoder::encode_metadata
        28: rustc_metadata::fs::encode_and_write_metadata
        29: rustc_interface::passes::start_codegen
        30: <rustc_interface::queries::Linker>::codegen_and_build_linker
        31: <rustc_middle::ty::context::TyCtxt>::create_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
        32: <rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, &std::sync::once_lock::OnceLock<rustc_middle::ty::context::GlobalCtxt>, &rustc_data_structures::sync::worker_local::WorkerLocal<rustc_middle::arena::Arena>, &rustc_data_structures::sync::worker_local::WorkerLocal<rustc_hir::Arena>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
        33: <alloc::boxed::Box<dyn for<'a> core::ops::function::FnOnce<(&'a rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, &'a std::sync::once_lock::OnceLock<rustc_middle::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures::sync::worker_local::WorkerLocal<rustc_middle::arena::Arena<'a>>, &'a rustc_data_structures::sync::worker_local::WorkerLocal<rustc_hir::Arena<'a>>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}), Output = core::option::Option<rustc_interface::queries::Linker>>> as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, &std::sync::once_lock::OnceLock<rustc_middle::ty::context::GlobalCtxt>, &rustc_data_structures::sync::worker_local::WorkerLocal<rustc_middle::arena::Arena>, &rustc_data_structures::sync::worker_local::WorkerLocal<rustc_hir::Arena>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once
        35: std::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
        36: <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
        37: <std::sys::pal::unix::thread::Thread>::new::thread_start
        38: <unknown>
---
aborting due to `-Z treat-err-as-bug=1`
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: <rustc_errors::DiagCtxtInner>::panic_if_treat_err_as_bug
   3: <rustc_errors::DiagCtxtInner>::emit_diagnostic::{closure#3}
   4: rustc_interface::callbacks::track_diagnostic::<core::option::Option<rustc_span::ErrorGuaranteed>>
   5: <rustc_errors::DiagCtxtInner>::emit_diagnostic
   6: <rustc_errors::DiagCtxtInner>::flush_delayed
   7: <rustc_errors::DiagCtxtHandle>::flush_delayed

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.86.0-nightly (ae182d029 2025-01-17) 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 --crate-type lib -Z lint-mir -Z treat-err-as-bug
query stack during panic:
end of query stack
------------------------------------------

---

3 debug!!!
4 stack backtrace:
5    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::first::{{closure}}
-    6: short_ice_remove_middle_frames::first
-    7: short_ice_remove_middle_frames::main
+    1: short_ice_remove_middle_frames::main
15 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
16 

---
------------------------------------------


---- [ui] tests/ui/panics/short-ice-remove-middle-frames-2.rs stdout ----
Saved the actual run.stderr 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"

3 debug!!!
4 stack backtrace:
5    0: std::panicking::begin_panic
5    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
-    7: core::ops::function::FnOnce::call_once
+    1: short_ice_remove_middle_frames_2::main
16 


The actual run.stderr differed from the expected run.stderr.
The actual run.stderr differed from the expected 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/short-ice-remove-middle-frames-2" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 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' panicked at /checkout/tests/ui/panics/short-ice-remove-middle-frames-2.rs:63:5:
debug!!!
debug!!!
stack backtrace:
   0: std::panicking::begin_panic::<&str>
   1: short_ice_remove_middle_frames_2::main
------------------------------------------


---- [ui] tests/ui/print_type_sizes/coroutine_discr_placement.rs stdout ----
---- [ui] tests/ui/print_type_sizes/coroutine_discr_placement.rs stdout ----
Saved the actual stdout to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/print_type_sizes/coroutine_discr_placement/coroutine_discr_placement.stdout"
diff of stdout:

15 print-type-size     variant `MaybeUninit`: 4 bytes
16 print-type-size         field `.uninit`: 0 bytes
17 print-type-size         field `.value`: 4 bytes
+ print-type-size type: `std::ops::CoroutineState<(), ()>`: 1 bytes, alignment: 1 bytes
+ print-type-size     discriminant: 1 bytes
+ print-type-size     variant `Yielded`: 0 bytes
+ print-type-size         field `.0`: 0 bytes
+ print-type-size     variant `Complete`: 0 bytes
+ print-type-size         field `.0`: 0 bytes


The actual stdout differed from the expected stdout.
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 print_type_sizes/coroutine_discr_placement.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/print_type_sizes/coroutine_discr_placement.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(test,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/print_type_sizes/coroutine_discr_placement" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "print-type-sizes" "--crate-type" "lib"
--- stdout -------------------------------
print-type-size type: `{coroutine@/checkout/tests/ui/print_type_sizes/coroutine_discr_placement.rs:13:5: 13:7}`: 8 bytes, alignment: 4 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Unresumed`: 0 bytes
print-type-size     variant `Suspend0`: 7 bytes
print-type-size         padding: 3 bytes
print-type-size         local `.w`: 4 bytes, alignment: 4 bytes
print-type-size     variant `Suspend1`: 7 bytes
print-type-size         padding: 3 bytes
print-type-size         local `.z`: 4 bytes, alignment: 4 bytes
print-type-size     variant `Returned`: 0 bytes
print-type-size     variant `Panicked`: 0 bytes
print-type-size type: `std::mem::ManuallyDrop<i32>`: 4 bytes, alignment: 4 bytes
print-type-size     field `.value`: 4 bytes
print-type-size type: `std::mem::MaybeUninit<i32>`: 4 bytes, alignment: 4 bytes
print-type-size     variant `MaybeUninit`: 4 bytes
print-type-size         field `.uninit`: 0 bytes
print-type-size         field `.value`: 4 bytes
print-type-size type: `std::ops::CoroutineState<(), ()>`: 1 bytes, alignment: 1 bytes
print-type-size     discriminant: 1 bytes
print-type-size     variant `Yielded`: 0 bytes
print-type-size         field `.0`: 0 bytes
print-type-size     variant `Complete`: 0 bytes
print-type-size         field `.0`: 0 bytes
stderr: none


---- [ui] tests/ui/simd-abi-checks-empty-list.rs stdout ----
---- [ui] tests/ui/simd-abi-checks-empty-list.rs stdout ----
Saved the actual stderr to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/simd-abi-checks-empty-list/simd-abi-checks-empty-list.stderr"
diff of stderr:

- warning: this function definition uses a SIMD vector type that is not currently supported with the chosen ABI
-   --> $DIR/simd-abi-checks-empty-list.rs:17:1
-    |
- LL | pub extern "C" fn pass_by_vec(_: SimdVec) {}
-    |
-    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
-    = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
-    = note: `#[warn(abi_unsupported_vector_types)]` on by default
-    = note: `#[warn(abi_unsupported_vector_types)]` on by default
- 
- warning: 1 warning emitted
- 
- Future incompatibility report: Future breakage diagnostic:
- warning: this function definition uses a SIMD vector type that is not currently supported with the chosen ABI
-   --> $DIR/simd-abi-checks-empty-list.rs:17:1
-    |
- LL | pub extern "C" fn pass_by_vec(_: SimdVec) {}
-    |
-    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
-    = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
-    = note: `#[warn(abi_unsupported_vector_types)]` on by default
---
To only update this specific test, also pass `--test-args simd-abi-checks-empty-list.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/simd-abi-checks-empty-list.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" "--check-cfg" "cfg(test,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/simd-abi-checks-empty-list" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target=sparc-unknown-none-elf" "--crate-type=rlib"
stderr: none


---- [ui] tests/ui/stable-mir-print/async-closure.rs stdout ----
---- [ui] tests/ui/stable-mir-print/async-closure.rs stdout ----
Saved the actual stdout to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/stable-mir-print/async-closure/async-closure.stdout"
diff of stdout:

3 fn foo() -> () {
4     let mut _0: ();
5     let  _1: i32;
-     let  _2: {async closure@$DIR/async-closure.rs:9:13: 9:21};
-     let mut _3: &i32;
+     let mut _2: &i32;
8     debug y => _1;
9     debug x => _2;
10     bb0: {
+         StorageLive(_1);
11         _1 = 0_i32;
-         _3 = &_1;
-         _3 = &_1;
-         _2 = {coroutine-closure@$DIR/async-closure.rs:9:13: 9:21}(move _3);
+         _2 = &_1;
14         return;
15     }
16 }


19     let mut _2: &i32;
20     debug y => (*((*_1).0: &i32));
21     bb0: {
-         _2 = CopyForDeref(((*_1).0: &i32));
+         _2 = ((*_1).0: &i32);
23         _0 = {coroutine@$DIR/async-closure.rs:9:22: 11:6}(_2);
25     }

30     let mut _4: &i32;
31     let mut _5: u32;
31     let mut _5: u32;
32     let mut _6: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
-     let mut _7: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
-     let mut _8: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
35     debug _task_context => _2;
36     debug y => (*((*(_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})).0: &i32));
37     debug y => _3;
38     bb0: {
38     bb0: {
-         _6 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
+         _6 = (_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6});
40         _5 = discriminant((*_6));
41         switchInt(move _5) -> [0: bb1, 1: bb2, otherwise: bb3];

43     bb1: {
43     bb1: {
-         _7 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
-         _4 = CopyForDeref(((*_7).0: &i32));
+         _4 = ((*_6).0: &i32);
46         _3 = (*_4);
-         _0 = std::task::Poll::Ready(());
-         _0 = std::task::Poll::Ready(());
-         _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
-         discriminant((*_8) = 1;
+         StorageDead(_3);
+         _0 = Poll::<()>::Ready(());
+         discriminant((*_6) = 1;
51     }
52     bb2: {

62     let mut _4: &i32;
62     let mut _4: &i32;
63     let mut _5: u32;
64     let mut _6: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
-     let mut _7: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
-     let mut _8: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
67     debug _task_context => _2;
68     debug y => (*((*(_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})).0: &i32));
69     debug y => _3;
70     bb0: {
70     bb0: {
-         _6 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
+         _6 = (_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6});
72         _5 = discriminant((*_6));
73         switchInt(move _5) -> [0: bb1, 1: bb2, otherwise: bb3];

75     bb1: {
75     bb1: {
-         _7 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
-         _4 = CopyForDeref(((*_7).0: &i32));
+         _4 = ((*_6).0: &i32);
78         _3 = (*_4);
-         _0 = std::task::Poll::Ready(());
-         _0 = std::task::Poll::Ready(());
-         _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
-         discriminant((*_8) = 1;
+         StorageDead(_3);
+         _0 = Poll::<()>::Ready(());
+         discriminant((*_6) = 1;
83     }
84     bb2: {

Note: some mismatched output was normalized before being compared
Note: some mismatched output was normalized before being compared
-         _6 = (_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6});
-         _6 = (_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6});
+     let mut _2: &i32;
+         _2 = &_1;
+         StorageDead(_1);
+         _2 = ((*_1).0: &i32);
+         _2 = ((*_1).0: &i32);
+         _6 = (_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6});
+         _4 = ((*_6).0: &i32);
+         StorageDead(_3);
+         StorageDead(_3);
+         _0 = Poll::<()>::Ready(());
+         discriminant((*_6) = 1;
+         _6 = (_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6});
+         _4 = ((*_6).0: &i32);
+         StorageDead(_3);
+         StorageDead(_3);
+         _0 = Poll::<()>::Ready(());
+         discriminant((*_6) = 1;

The actual stdout differed from the expected stdout.
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args stable-mir-print/async-closure.rs`
To only update this specific test, also pass `--test-args stable-mir-print/async-closure.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/stable-mir-print/async-closure.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(test,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/stable-mir-print/async-closure" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "unpretty=stable-mir" "--crate-type" "lib" "-C" "panic=abort" "--edition=2024"
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir.
fn foo() -> () {
    let mut _0: ();
    let  _1: i32;
    let mut _2: &i32;
    debug y => _1;
    debug x => _2;
    bb0: {
        _1 = 0_i32;
        _2 = &_1;
        StorageDead(_1);
        return;
        return;
    }
}
fn foo::{closure#0}(_1: &{async closure@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:13: 9:21}) -> {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6} {
    let mut _0: {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6};
    let mut _2: &i32;
    debug y => (*((*_1).0: &i32));
    bb0: {
        _2 = ((*_1).0: &i32);
        _0 = {coroutine@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6}(_2);
    }
}
}
fn foo::{closure#0}::{closure#0}(_1: Pin<&mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6}>, _2: &mut Context<'_>) -> Poll<()> {
    let mut _0: Poll<()>;
    let  _3: i32;
    let mut _4: &i32;
    let mut _5: u32;
    let mut _6: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6};
    debug _task_context => _2;
    debug y => (*((*(_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6})).0: &i32));
    debug y => _3;
    bb0: {
        _6 = (_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6});
        _5 = discriminant((*_6));
        switchInt(move _5) -> [0: bb1, 1: bb2, otherwise: bb3];
    bb1: {
        StorageLive(_3);
        _4 = ((*_6).0: &i32);
        _3 = (*_4);
        _3 = (*_4);
        StorageDead(_3);
        _0 = Poll::<()>::Ready(());
        discriminant((*_6) = 1;
    }
    bb2: {
    bb2: {
        assert(false, `async fn` resumed after completion) -> [success: bb2, unwind unreachable];
    bb3: {
        unreachable;
    }
}
}
fn foo::{closure#0}::{closure#1}(_1: Pin<&mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6}>, _2: &mut Context<'_>) -> Poll<()> {
    let mut _0: Poll<()>;
    let  _3: i32;
    let mut _4: &i32;
    let mut _5: u32;
    let mut _6: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6};
    debug _task_context => _2;
    debug y => (*((*(_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6})).0: &i32));
    debug y => _3;
    bb0: {
        _6 = (_1.0: &mut {async closure body@/checkout/tests/ui/stable-mir-print/async-closure.rs:9:22: 11:6});
        _5 = discriminant((*_6));
        switchInt(move _5) -> [0: bb1, 1: bb2, otherwise: bb3];
    bb1: {
        StorageLive(_3);
        _4 = ((*_6).0: &i32);
        _3 = (*_4);
        _3 = (*_4);
        StorageDead(_3);
        _0 = Poll::<()>::Ready(());
        discriminant((*_6) = 1;
    }
    bb2: {
    bb2: {
        assert(false, `async fn` resumed after completion) -> [success: bb2, unwind unreachable];
    bb3: {
        unreachable;
    }
}
---
---- [ui] tests/ui/stable-mir-print/basic_function.rs stdout ----
Saved the actual stdout to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/stable-mir-print/basic_function/basic_function.stdout"
diff of stdout:

2 // If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir.
3 fn foo(_1: i32) -> i32 {
4     let mut _0: i32;
-     let mut _2: (i32, bool);
6     debug i => _1;
7     bb0: {
-         _2 = CheckedAdd(_1, 1_i32);
-         assert(!move (_2.1: bool), "attempt to compute `{} + {}`, which would overflow", _1, 1_i32) -> [success: bb1, unwind continue];
-     bb1: {
-     bb1: {
-         _0 = move (_2.0: i32);
+         _0 = Add(_1, 1_i32);
14     }
15 }

22     debug vec => _1;
22     debug vec => _1;
23     debug new_vec => _2;
24     bb0: {
+         StorageLive(_2);
+         StorageLive(_3);
25         _3 = &(*_1);
26         _2 = <Vec<i32> as Clone>::clone(move _3) -> [return: bb1, unwind continue];

28     bb1: {
+         StorageDead(_3);
+         StorageLive(_5);
+         StorageLive(_5);
29         _5 = &mut _2;
30         _4 = Vec::<i32>::push(move _5, 1_i32) -> [return: bb2, unwind: bb3];

32     bb2: {
+         StorageDead(_5);
33         _0 = move _2;
---
To only update this specific test, also pass `--test-args stable-mir-print/basic_function.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/stable-mir-print/basic_function.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(test,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/stable-mir-print/basic_function" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "unpretty=stable-mir" "-Z" "mir-opt-level=3"
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir.
fn foo(_1: i32) -> i32 {
    let mut _0: i32;
    debug i => _1;
    bb0: {
        _0 = Add(_1, 1_i32);
    }
}
fn bar(_1: &mut Vec<i32>) -> Vec<i32> {
    let mut _0: Vec<i32>;
    let mut _0: Vec<i32>;
    let mut _2: Vec<i32>;
    let mut _3: &Vec<i32>;
    let  _4: ();
    let mut _5: &mut Vec<i32>;
    debug vec => _1;
    debug new_vec => _2;
    bb0: {
        StorageLive(_3);
        _3 = &(*_1);
        _3 = &(*_1);
        _2 = <Vec<i32> as Clone>::clone(move _3) -> [return: bb1, unwind continue];
    bb1: {
        StorageDead(_3);
        StorageLive(_5);
        _5 = &mut _2;
        _5 = &mut _2;
        _4 = Vec::<i32>::push(move _5, 1_i32) -> [return: bb2, unwind: bb3];
    bb2: {
        StorageDead(_5);
        _0 = move _2;
        StorageDead(_2);
        StorageDead(_2);
        return;
    }
    bb3: {
        drop(_2) -> [return: bb4, unwind terminate];
    bb4: {
        resume;
    }
}
}
fn demux(_1: u8) -> u8 {
    let mut _0: u8;
    debug input => _1;
    bb0: {
        switchInt(_1) -> [0: bb4, 1: bb3, 2: bb2, otherwise: bb1];
    bb1: {
        _0 = 0_u8;
        goto -> bb5;
    }
---
---- [ui] tests/ui/stable-mir-print/operands.rs stdout ----
Saved the actual stdout to "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/stable-mir-print/operands/operands.stdout"
diff of stdout:

4     let mut _0: ();
5     let  _2: [u8; 10];
6     let  _3: u8;
-     let  _4: usize;
-     let mut _5: bool;
-     let  _6: u8;
-     let  _7: usize;
-     let mut _8: (usize, bool);
-     let mut _9: bool;
-     let mut _10: (&u8, &u8);
-     let mut _11: &u8;
-     let mut _12: &u8;
-     let  _13: &u8;
-     let  _14: &u8;
-     let mut _15: bool;
-     let mut _16: u8;
+     let  _4: u8;
+     let mut _5: &u8;
+     let mut _6: &u8;
+     let mut _7: bool;
+     let mut _8: u8;
+     let mut _9: u8;
+     let  _10: !;
+     let mut _11: Option<Arguments<'_>>;
+     let  _12: &u8;
+     let  _13: u8;
+     let mut _14: &u8;
+     let mut _15: &u8;
+     let mut _16: bool;
20     let mut _17: u8;
-     let  _18: core::panicking::AssertKind;
+     let mut _18: u8;
22     let  _19: !;
23     let mut _20: Option<Arguments<'_>>;
-     let  _21: &u8;
+     let  _21: u8;
25     let  _22: u8;
-     let mut _23: (&u8, &u8);
+     let mut _23: &u8;
27     let mut _24: &u8;
-     let mut _25: &u8;
-     let  _26: &u8;
-     let  _27: &u8;
-     let mut _28: bool;
-     let mut _29: u8;
-     let mut _30: u8;
-     let  _31: core::panicking::AssertKind;
-     let  _32: !;
-     let mut _33: Option<Arguments<'_>>;
-     let  _34: (u8, u8);
-     let  _35: u8;
-     let  _36: u8;
-     let mut _37: (&u8, &u8);
-     let mut _38: &u8;
-     let mut _39: &u8;
-     let  _40: &u8;
-     let  _41: &u8;
-     let mut _42: bool;
-     let mut _43: u8;
-     let mut _44: u8;
-     let  _45: core::panicking::AssertKind;
-     let  _46: !;
-     let mut _47: Option<Arguments<'_>>;
-     let  _48: usize;
-     let mut _49: &[u8];
-     let mut _50: &[u8; 10];
-     let  _51: usize;
-     let  _52: &usize;
-     let mut _53: (&usize, &usize);
-     let mut _54: &usize;
-     let mut _55: &usize;
-     let  _56: &usize;
-     let  _57: &usize;
-     let mut _58: bool;
-     let mut _59: usize;
-     let mut _60: usize;
-     let  _61: core::panicking::AssertKind;
-     let  _62: !;
-     let mut _63: Option<Arguments<'_>>;
+     let mut _25: bool;
+     let mut _26: u8;
+     let mut _27: u8;
+     let  _28: !;
+     let mut _29: Option<Arguments<'_>>;
+     let  _30: usize;
+     let  _31: usize;
+     let  _32: &usize;
+     let mut _33: &usize;
+     let mut _34: &usize;
+     let mut _35: bool;
+     let mut _36: usize;
+     let mut _37: usize;
+     let  _38: !;
+     let mut _39: Option<Arguments<'_>>;
67     debug val => _1;
68     debug array => _2;
69     debug first => _3;
-     debug last => _6;
-     debug left_val => _13;
-     debug left_val => _13;
-     debug right_val => _14;
-     debug kind => _18;
-     debug reference => _21;
-     debug dereferenced => _22;
-     debug left_val => _26;
-     debug right_val => _27;
-     debug kind => _31;
-     debug tuple => _34;
-     debug first_again => _35;
-     debug first_again_again => _36;
-     debug left_val => _40;
-     debug right_val => _41;
-     debug kind => _45;
-     debug length => _48;
-     debug size_of => _51;
-     debug left_val => _56;
-     debug right_val => _57;
-     debug kind => _61;
+     debug last => _4;
+     debug left_val => _5;
+     debug right_val => _6;
+     debug kind => core::panicking::AssertKind::Eq;
+     debug reference => _12;
+     debug dereferenced => _13;
+     debug left_val => _14;
+     debug right_val => _15;
+     debug kind => core::panicking::AssertKind::Eq;
+     debug tuple => _1;
+     debug tuple => _1;
+     debug first_again => _21;
+     debug first_again_again => _22;
+     debug left_val => _23;
+     debug right_val => _24;
+     debug kind => core::panicking::AssertKind::Eq;
+     debug length => _30;
+     debug size_of => _31;
+     debug left_val => _33;
+     debug right_val => _34;
+     debug kind => core::panicking::AssertKind::Eq;
90     bb0: {
+         StorageLive(_2);
91         _2 = [_1; 10];
-         _4 = 0_usize;
-         _5 = Lt(_4, 10_usize);
-         assert(move _5, "index out of bounds: the length is {} but the index is {}", 10_usize, _4) -> [success: bb1, unwind unreachable];
+         _3 = _1;
+         StorageLive(_4);
+         _4 = _1;
+         _5 = &_3;
+         _5 = &_3;
+         _6 = &_4;
+         StorageLive(_7);
+         StorageLive(_8);
+         _8 = (*_5);
+         StorageLive(_9);
+         _9 = (*_6);
+         _7 = Eq(move _8, move _9);
+         switchInt(move _7) -> [0: bb2, otherwise: bb1];
96     bb1: {
-         _3 = _2[_4];
-         _3 = _2[_4];
-         _8 = CheckedSub(10_usize, 1_usize);
-         assert(!move (_8.1: bool), "attempt to compute `{} - {}`, which would overflow", 10_usize, 1_usize) -> [success: bb2, unwind unreachable];
+         StorageDead(_8);
+         StorageDead(_7);
+         StorageLive(_12);
+         _12 = &_3;
---
+         StorageLive(_16);
+         StorageLive(_17);
+         _17 = (*_14);
+         StorageLive(_18);
+         _18 = (*_15);
+         _16 = Eq(move _17, move _18);
+         switchInt(move _16) -> [0: bb4, otherwise: bb3];
101     bb2: {
101     bb2: {
-         _7 = move (_8.0: usize);
-         _9 = Lt(_7, 10_usize);
-         assert(move _9, "index out of bounds: the length is {} but the index is {}", 10_usize, _7) -> [success: bb3, unwind unreachable];
+         StorageDead(_8);
+         StorageLive(_11);
+         _11 = std::option::Option::None;
+         _11 = std::option::Option::None;
+         _10 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _5, move _6, move _11) -> unwind unreachable;
106     bb3: {
-         _6 = _2[_7];
-         _11 = &_3;
-         _12 = &_6;
-         _12 = &_6;
-         _10 = (move _11, move _12);
-         _13 = (_10.0: &u8);
-         _14 = (_10.1: &u8);
-         _16 = (*_13);
-         _17 = (*_14);
-         _15 = Eq(move _16, move _17);
-         switchInt(move _15) -> [0: bb5, otherwise: bb4];
+         StorageDead(_17);
+         StorageDead(_16);
+         StorageLive(_21);
+         _21 = _1;
---
+         StorageLive(_25);
+         StorageLive(_26);
+         _26 = (*_23);
+         StorageLive(_27);
+         _27 = (*_24);
+         _25 = Eq(move _26, move _27);
+         switchInt(move _25) -> [0: bb6, otherwise: bb5];
118     bb4: {
-         _21 = &_3;
-         _22 = (*_21);
-         _24 = &_22;
-         _24 = &_22;
-         _25 = &_3;
-         _23 = (move _24, move _25);
-         _26 = (_23.0: &u8);
-         _27 = (_23.1: &u8);
-         _29 = (*_26);
-         _30 = (*_27);
-         _28 = Eq(move _29, move _30);
-         switchInt(move _28) -> [0: bb7, otherwise: bb6];
+         StorageDead(_17);
+         StorageLive(_20);
+         _20 = std::option::Option::None;
+         _20 = std::option::Option::None;
+         _19 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _14, move _15, move _20) -> unwind unreachable;
131     bb5: {
-         _18 = core::panicking::AssertKind::Eq;
-         _20 = std::option::Option::None;
-         _20 = std::option::Option::None;
-         _19 = core::panicking::assert_failed::<u8, u8>(move _18, _13, _14, move _20) -> unwind unreachable;
+         StorageDead(_26);
+         StorageDead(_25);
+         StorageLive(_30);
+         _30 = 10_usize;
+         _30 = 10_usize;
+         StorageLive(_31);
+         _32 = &_30;
+         _31 = std::mem::size_of_val::<usize>(move _32) -> [return: bb7, unwind unreachable];
136     bb6: {
-         _34 = (_3, _6);
-         _35 = (_34.0: u8);
-         _36 = (_34.0: u8);
-         _36 = (_34.0: u8);
-         _38 = &_35;
-         _39 = &_36;
-         _37 = (move _38, move _39);
-         _40 = (_37.0: &u8);
-         _41 = (_37.1: &u8);
-         _43 = (*_40);
-         _44 = (*_41);
-         _42 = Eq(move _43, move _44);
-         switchInt(move _42) -> [0: bb9, otherwise: bb8];
+         StorageDead(_26);
+         StorageLive(_29);
+         _29 = std::option::Option::None;
+         _29 = std::option::Option::None;
+         _28 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _23, move _24, move _29) -> unwind unreachable;
150     bb7: {
-         _31 = core::panicking::AssertKind::Eq;
-         _33 = std::option::Option::None;
-         _33 = std::option::Option::None;
-         _32 = core::panicking::assert_failed::<u8, u8>(move _31, _26, _27, move _33) -> unwind unreachable;
+         _33 = &_30;
+         _34 = &_31;
+         StorageLive(_36);
+         _36 = (*_33);
+         StorageLive(_37);
+         _37 = (*_34);
+         _37 = (*_34);
+         _35 = Eq(move _36, move _37);
+         switchInt(move _35) -> [0: bb9, otherwise: bb8];
155     bb8: {
-         _50 = &_2;
-         _50 = &_2;
-         _49 = move _50 as &[u8];
-         _48 = PtrMetadata(move _49);
-         _52 = &_48;
-         _51 = std::mem::size_of_val::<usize>(_52) -> [return: bb10, unwind unreachable];
+         StorageDead(_36);
+         StorageDead(_35);
+         StorageDead(_31);
+         StorageDead(_30);
---
161     }
162     bb9: {
-         _45 = core::panicking::AssertKind::Eq;
-         _47 = std::option::Option::None;
-         _46 = core::panicking::assert_failed::<u8, u8>(move _45, _40, _41, move _47) -> unwind unreachable;
+         StorageDead(_36);
+         StorageLive(_39);
+         _39 = std::option::Option::None;
+         _39 = std::option::Option::None;
+         _38 = core::panicking::assert_failed::<usize, usize>(core::panicking::AssertKind::Eq, move _33, move _34, move _39) -> unwind unreachable;
-     bb10: {
-         _54 = &_48;
-         _55 = &_51;
-         _55 = &_51;
-         _53 = (move _54, move _55);
-         _56 = (_53.0: &usize);
-         _57 = (_53.1: &usize);
-         _59 = (*_56);
-         _60 = (*_57);
-         _58 = Eq(move _59, move _60);
-         switchInt(move _58) -> [0: bb12, otherwise: bb11];
-     bb11: {
-         return;
-     }
-     bb12: {
-     bb12: {
-         _61 = core::panicking::AssertKind::Eq;
-         _63 = std::option::Option::None;
-         _62 = core::panicking::assert_failed::<usize, usize>(move _61, _56, _57, move _63) -> unwind unreachable;
186 }
186 }
187 fn operands::{constant#0}() -> usize {
188     let mut _0: usize;
193 }
193 }
194 fn more_operands() -> [Ctors; 3] {
195     let mut _0: [Ctors; 3];
-     let  _1: Dummy;
+     let  _1: Ctors;
197     let  _2: Ctors;
198     let  _3: Ctors;
-     let  _4: Ctors;
-     debug dummy => _1;
-     debug unit => _2;
-     debug struct_like => _3;
-     debug tup_like => _4;
+     debug dummy => Dummy {{ c: 'a', i: i32::MIN }};
+     debug unit => _1;
+     debug struct_like => _2;
+     debug tup_like => _3;
204     bb0: {
-         _1 = Dummy('a', core::num::<impl i32>::MIN);
-         _2 = Ctors::Unit;
-         _3 = Ctors::StructLike(move _1);
-         _4 = Ctors::TupLike(false);
-         _0 = [move _2, move _3, move _4];
+         _1 = Ctors::Unit;
+         _2 = Ctors::StructLike(Dummy {{ c: 'a', i: i32::MIN }});
+         _3 = Ctors::TupLike(false);
+         _0 = [_1, _2, _3];
211     }
212 }


234     debug x => (_1.0: bool);
235     debug z => (_1.1: bool);
236     bb0: {
+         StorageLive(_4);
237         _4 = (_1.0: bool);
237         _4 = (_1.0: bool);
238         _3 = BitXor(move _4, _2);
239         switchInt(move _3) -> [0: bb2, otherwise: bb1];
240     }
241     bb1: {
+         StorageDead(_4);
242         _0 = true;
---
To only update this specific test, also pass `--test-args stable-mir-print/operands.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/stable-mir-print/operands.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(test,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/stable-mir-print/operands" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "unpretty=stable-mir" "--crate-type" "lib" "-C" "panic=abort"
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// WARNING: This is highly experimental output it's intended for stable-mir developers only.
// If you find a bug or want to improve the output open a issue at https://github.com/rust-lang/project-stable-mir.
fn operands(_1: u8) -> () {
    let mut _0: ();
    let  _2: [u8; 10];
    let  _3: u8;
    let  _4: u8;
    let mut _5: &u8;
    let mut _6: &u8;
    let mut _7: bool;
    let mut _8: u8;
    let mut _9: u8;
    let  _10: !;
    let mut _11: Option<Arguments<'_>>;
    let  _12: &u8;
    let  _13: u8;
    let mut _14: &u8;
    let mut _15: &u8;
    let mut _16: bool;
    let mut _17: u8;
    let mut _18: u8;
    let  _19: !;
    let mut _20: Option<Arguments<'_>>;
    let  _21: u8;
    let  _22: u8;
    let mut _23: &u8;
    let mut _24: &u8;
    let mut _25: bool;
    let mut _26: u8;
    let mut _27: u8;
    let  _28: !;
    let mut _29: Option<Arguments<'_>>;
    let  _30: usize;
    let  _31: usize;
    let  _32: &usize;
    let mut _33: &usize;
    let mut _34: &usize;
    let mut _35: bool;
    let mut _36: usize;
    let mut _37: usize;
    let  _38: !;
    let mut _39: Option<Arguments<'_>>;
    debug val => _1;
    debug array => _2;
    debug first => _3;
    debug last => _4;
    debug left_val => _5;
    debug right_val => _6;
    debug kind => core::panicking::AssertKind::Eq;
    debug reference => _12;
    debug dereferenced => _13;
    debug left_val => _14;
    debug right_val => _15;
    debug kind => core::panicking::AssertKind::Eq;
    debug tuple => _1;
    debug tuple => _1;
    debug first_again => _21;
    debug first_again_again => _22;
    debug left_val => _23;
    debug right_val => _24;
    debug kind => core::panicking::AssertKind::Eq;
    debug length => _30;
    debug size_of => _31;
    debug left_val => _33;
    debug right_val => _34;
    debug kind => core::panicking::AssertKind::Eq;
    bb0: {
        StorageLive(_2);
        _2 = [_1; 10];
        _3 = _1;
        StorageLive(_4);
        _4 = _1;
        _5 = &_3;
        _5 = &_3;
        _6 = &_4;
        StorageLive(_7);
        StorageLive(_8);
        _8 = (*_5);
        StorageLive(_9);
        _9 = (*_6);
        _7 = Eq(move _8, move _9);
        switchInt(move _7) -> [0: bb2, otherwise: bb1];
    bb1: {
        StorageDead(_9);
        StorageDead(_8);
        StorageDead(_7);
---
        StorageLive(_16);
        StorageLive(_17);
        _17 = (*_14);
        StorageLive(_18);
        _18 = (*_15);
        _16 = Eq(move _17, move _18);
        switchInt(move _16) -> [0: bb4, otherwise: bb3];
    bb2: {
        StorageDead(_9);
        StorageDead(_8);
        StorageLive(_11);
        StorageLive(_11);
        _11 = std::option::Option::None;
        _10 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _5, move _6, move _11) -> unwind unreachable;
    bb3: {
        StorageDead(_18);
        StorageDead(_17);
        StorageDead(_16);
---
        StorageLive(_25);
        StorageLive(_26);
        _26 = (*_23);
        StorageLive(_27);
        _27 = (*_24);
        _25 = Eq(move _26, move _27);
        switchInt(move _25) -> [0: bb6, otherwise: bb5];
    bb4: {
        StorageDead(_18);
        StorageDead(_17);
        StorageLive(_20);
        StorageLive(_20);
        _20 = std::option::Option::None;
        _19 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _14, move _15, move _20) -> unwind unreachable;
    bb5: {
        StorageDead(_27);
        StorageDead(_26);
        StorageDead(_25);
        StorageDead(_25);
        StorageLive(_30);
        _30 = 10_usize;
        StorageLive(_31);
        _32 = &_30;
        _31 = std::mem::size_of_val::<usize>(move _32) -> [return: bb7, unwind unreachable];
    bb6: {
        StorageDead(_27);
        StorageDead(_26);
        StorageLive(_29);
        StorageLive(_29);
        _29 = std::option::Option::None;
        _28 = core::panicking::assert_failed::<u8, u8>(core::panicking::AssertKind::Eq, move _23, move _24, move _29) -> unwind unreachable;
    bb7: {
        _33 = &_30;
        _34 = &_31;
        StorageLive(_35);
        StorageLive(_35);
        StorageLive(_36);
        _36 = (*_33);
        StorageLive(_37);
        _37 = (*_34);
        _35 = Eq(move _36, move _37);
        switchInt(move _35) -> [0: bb9, otherwise: bb8];
    bb8: {
        StorageDead(_37);
        StorageDead(_36);
        StorageDead(_35);
---
        StorageDead(_37);
        StorageDead(_36);
        StorageLive(_39);
        _39 = std::option::Option::None;
        _38 = core::panicking::assert_failed::<usize, usize>(core::panicking::AssertKind::Eq, move _33, move _34, move _39) -> unwind unreachable;
}
}
fn operands::{constant#0}() -> usize {
    let mut _0: usize;
    bb0: {
        _0 = 10_usize;
    }
}
}
fn more_operands() -> [Ctors; 3] {
    let mut _0: [Ctors; 3];
    let  _1: Ctors;
    let  _2: Ctors;
    let  _3: Ctors;
    debug dummy => Dummy {{ c: 'a', i: i32::MIN }};
    debug unit => _1;
    debug struct_like => _2;
    debug tup_like => _3;
    bb0: {
        _1 = Ctors::Unit;
        _2 = Ctors::StructLike(Dummy {{ c: 'a', i: i32::MIN }});
        _3 = Ctors::TupLike(false);
        _0 = [_1, _2, _3];
    }
}
}
fn more_operands::{constant#0}() -> usize {
    let mut _0: usize;
    bb0: {
        _0 = 3_usize;
    }
}
}
fn closures(_1: bool, _2: bool) -> {closure@/checkout/tests/ui/stable-mir-print/operands.rs:47:5: 47:19} {
    let mut _0: {closure@/checkout/tests/ui/stable-mir-print/operands.rs:47:5: 47:19};
    debug x => _1;
    debug z => _2;
    bb0: {
        _0 = {closure@/checkout/tests/ui/stable-mir-print/operands.rs:47:5: 47:19}(_1, _2);
    }
}
}
fn closures::{closure#0}(_1: {closure@/checkout/tests/ui/stable-mir-print/operands.rs:47:5: 47:19}, _2: bool) -> bool {
    let mut _0: bool;
    let mut _3: bool;
    let mut _4: bool;
    debug y => _2;
    debug x => (_1.0: bool);
    debug z => (_1.1: bool);
    bb0: {
        StorageLive(_4);
        _4 = (_1.0: bool);
        _4 = (_1.0: bool);
        _3 = BitXor(move _4, _2);
        switchInt(move _3) -> [0: bb2, otherwise: bb1];
    bb1: {
        StorageDead(_4);
        _0 = true;
        goto -> bb3;
---
        StorageDead(_3);
        return;
    }
}
fn Ctors::TupLike(_1: bool) -> Ctors {
    let mut _0: Ctors;
    bb0: {
        _0 = Ctors::TupLike(move _1);
    }
}
------------------------------------------
stderr: none
stderr: none


---- [ui] tests/ui/statics/const_generics.rs#noopt stdout ----

error in revision `noopt`: test run failed!
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/statics/const_generics.noopt" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="16" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/statics/const_generics.noopt/a"
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/statics/const_generics.rs:20:5:
assertion `left == right` failed

@bors
Copy link
Collaborator

bors commented Jan 17, 2025

☀️ Try build successful - checks-actions
Build commit: 2a413cb (2a413cbc3b3049ae9bd8b13a1b4212d327f8bb3c)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (2a413cb): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
123.0% [0.1%, 3291.8%] 151
Regressions ❌
(secondary)
24.2% [0.1%, 963.2%] 114
Improvements ✅
(primary)
-1.5% [-7.5%, -0.2%] 37
Improvements ✅
(secondary)
-7.2% [-23.1%, -0.3%] 18
All ❌✅ (primary) 98.5% [-7.5%, 3291.8%] 188

Max RSS (memory usage)

Results (primary 15.5%, secondary 3.9%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
17.2% [0.5%, 133.7%] 71
Regressions ❌
(secondary)
5.7% [2.2%, 18.9%] 22
Improvements ✅
(primary)
-2.2% [-3.7%, -0.5%] 7
Improvements ✅
(secondary)
-3.7% [-7.1%, -1.5%] 5
All ❌✅ (primary) 15.5% [-3.7%, 133.7%] 78

Cycles

Results (primary 191.9%, secondary 55.7%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
245.1% [1.3%, 3095.4%] 77
Regressions ❌
(secondary)
72.6% [2.1%, 996.2%] 39
Improvements ✅
(primary)
-3.0% [-7.6%, -0.6%] 21
Improvements ✅
(secondary)
-10.3% [-19.1%, -3.4%] 10
All ❌✅ (primary) 191.9% [-7.6%, 3095.4%] 98

Binary size

Results (primary 7.8%, secondary -4.4%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
15.9% [0.1%, 55.3%] 63
Regressions ❌
(secondary)
6.7% [0.2%, 25.0%] 24
Improvements ✅
(primary)
-11.0% [-35.9%, -0.3%] 27
Improvements ✅
(secondary)
-13.0% [-58.4%, -0.0%] 31
All ❌✅ (primary) 7.8% [-35.9%, 55.3%] 90

Bootstrap: 764.673s -> 835.35s (9.24%)
Artifact size: 326.10 MiB -> 325.25 MiB (-0.26%)

@rustbot rustbot added the perf-regression Performance regression. label Jan 17, 2025
@clubby789
Copy link
Contributor Author

Sounds about right, good to have the numbers

@clubby789 clubby789 closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf-regression Performance regression. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants