Skip to content

tests: Require run-fail ui tests to have an exit code (SIGABRT not ok) #143002

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Enselic
Copy link
Member

@Enselic Enselic commented Jun 25, 2025

Normally a run-fail ui test shall not be terminated by a signal like SIGABRT. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use run-fail-without-exit-code run-crash for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as SIGABRT in tests/ui/panics/panic-main.rs (shown as Aborted (core dumped) in the logs attached to that issue, and I have also been able to reproduce this locally).

TODO

Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

// try-job: aarch64-apple
try-job: x86_64-msvc-1
try-job: x86_64-gnu
try-job: dist-i586-gnu-i586-i686-musl
try-job: test-various

@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 25, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@Enselic Enselic added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 25, 2025
@rustbot rustbot added the T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. label Jun 25, 2025
@rust-log-analyzer

This comment has been minimized.

@workingjubilee
Copy link
Member

workingjubilee commented Jun 25, 2025

why not simply run-abort

also would accept run-crash

@jieyouxu
Copy link
Member

@bors2 delegate=try

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

@Enselic can now perform try builds on this pull request

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 6ad1973 to 17be091 Compare June 25, 2025 10:12
@Enselic

This comment was marked as outdated.

@rust-bors

This comment was marked as outdated.

@Enselic
Copy link
Member Author

Enselic commented Jun 25, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

⌛ Trying commit 17be091 with merge 873ecba

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 25, 2025
…try>

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use `run-fail-without-exit-code` for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [ ] what about on Windows?
- [ ] also update docs at https://rustc-dev-guide.rust-lang.org/tests/directives.html#controlling-outcome-expectations
- [ ] clean up the code

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors

This comment was marked as resolved.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 17be091 to ad4e082 Compare June 25, 2025 13:30
@Enselic
Copy link
Member Author

Enselic commented Jun 25, 2025

An only-windows test that was run-fail now must be run-crash. Fixed now. Trying again:

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

⌛ Trying commit ad4e082 with merge e685982

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 25, 2025
…try>

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use `run-fail-without-exit-code` for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [ ] **Q:** what about on Windows?
    **A:** we'll treat any exit code outside of 1 - 127 as "crashed", and we'll do the same on unix.
- [ ] also update docs at https://rustc-dev-guide.rust-lang.org/tests/directives.html#controlling-outcome-expectations
- [ ] clean up the code
- [ ] test all permutations of actual vs expected

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors

This comment was marked as resolved.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from ad4e082 to 2499dac Compare June 25, 2025 16:29
@rustbot rustbot added the A-rustc-dev-guide Area: rustc-dev-guide label Jun 25, 2025
@rust-log-analyzer

This comment has been minimized.

@Enselic
Copy link
Member Author

Enselic commented Jun 26, 2025

Here is the updated version of #143002 (comment) using this commit. I tested what run-pass, run-fail and run-crash failures look like. The below can be confirmed here for Linux and here for Windows (but with outdated wording that I have updated below).

When run-pass fails with an exit code it looks like this on both Linux and Windows:

error: test did not exit with success! code=Some(101)
status: exit status: 101

When run-pass fails with a crash it looks like this on Linux and after is how it looks on Windows:

error: test did not exit with success! code=None
status: signal: 5 (SIGTRAP) (core dumped)
error: test did not exit with success! code=Some(-1073741795)
status: exit code: 0xc000001d

when run-crash fails by exiting with success it looks like this on both Linux and Windows:

error: test did not crash! code=Some(0)
status: exit status: 0

when run-crash fails by exiting with failure it looks like this on both Linux and Windows:

error: test did not crash! code=Some(101)
status: exit status: 101

when run-fail fails with a crash it looks like this on Linux and after is how it looks on Windows:

error: test did not exit with failure! code=None
status: signal: 6 (SIGABRT) (core dumped)
error: test did not exit with failure! code=Some(-1073740791)
status: exit code: 0xc0000409

when run-fail fails by exiting with success it looks like this on both Linux and Windows:

error: test did not exit with failure! code=Some(0)
status: exit code: 0

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from f7a54fe to 64c076e Compare June 26, 2025 07:41
@Enselic
Copy link
Member Author

Enselic commented Jun 26, 2025

I'm happy with the code and how it works so this is ready for review. Summary of where we stand:

  • rustc-dev-guide is updated.
  • For both Linux and Windows we consider any i32 exit code outside of 0..=127 (and absence of any exit code) as "crashed" and that seems to work well in practice.
  • I have verified that failures are reported correctly for both Linux and Windows, see here for details.

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 26, 2025
@petrochenkov
Copy link
Contributor

r=me with the cleanup from #143002 (comment).
@bors rollup=iffy

@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 26, 2025
…t ok)

Normally a `run-fail` ui test shall not be terminated by a signal like
`SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce
and use `run-crash` for those tests.
@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 64c076e to 4573c84 Compare June 27, 2025 07:37
@Enselic
Copy link
Member Author

Enselic commented Jun 27, 2025

I'm only a member of wg-triage so I'm pretty sure I can't r this without delegate+ but let's try:

@bors r=petrochenkov

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

@Enselic: 🔑 Insufficient privileges: Not in reviewers

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

📌 Commit 4573c84 has been approved by petrochenkov

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 27, 2025
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Jun 27, 2025
…signal, r=petrochenkov

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use ~`run-fail-without-exit-code`~ `run-crash` for those tests.

This adds further (cc rust-lang#142304, rust-lang#142886) protection against the regression in rust-lang#123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [x] **Q:** what about on Windows?
    **A:** we'll treat any exit code outside of 1 - 127 as "crashed", and we'll do the same on unix.
- [x] test all permutations of actual vs expected
    **Done:** See rust-lang#143002 (comment).

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235
bors added a commit that referenced this pull request Jun 27, 2025
…rors

Rollup of 8 pull requests

Successful merges:

 - #139858 (New const traits syntax)
 - #140809 (Reduce special casing for the panic runtime)
 - #142963 (Skip unnecessary components in x64 try builds)
 - #142974 (Update stage0 to 1.89.0-beta.1)
 - #142987 (rustdoc: show attributes on enum variants)
 - #143002 (tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok))
 - #143092 (const checks for lifetime-extended temporaries: avoid 'top-level scope' terminology)
 - #143096 (tag_for_variant: properly pass TypingEnv)

r? `@ghost`
`@rustbot` modify labels: rollup
@matthiaskrgr
Copy link
Member

@bors r-
failed in #143105 (comment)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 27, 2025
@matthiaskrgr
Copy link
Member

@bors try

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

⌛ Trying commit 4573c84 with merge 0cd719d...

bors added a commit that referenced this pull request Jun 27, 2025
…try>

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use ~`run-fail-without-exit-code`~ `run-crash` for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [x] **Q:** what about on Windows?
    **A:** we'll treat any exit code outside of 1 - 127 as "crashed", and we'll do the same on unix.
- [x] test all permutations of actual vs expected
    **Done:** See #143002 (comment).

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

//  try-job: aarch64-apple
try-job: x86_64-msvc-1
try-job: x86_64-gnu
try-job: dist-i586-gnu-i586-i686-musl
try-job: test-various
@compiler-errors
Copy link
Member

Yeah, the test that failed in that rollup should?? probably be marked run-crash too

@rust-log-analyzer
Copy link
Collaborator

The job test-various failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs:15:5:
coroutine resumed after completion
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6db1 - a.wasm!abort
           1: 0x2acf - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x1508 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x14fe - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3f93 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3e04 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3d89 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2eb1 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x2deb - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x3770 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x8079 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x910d - a.wasm!core::panicking::panic_const::panic_const_coroutine_resumed::h304791294a84e568
          12:  0x5d1 - a.wasm!issue_65419_coroutine_resume_after_completion::main::{{closure}}::h15a8d89e9ff7495e
          13:  0x4a4 - a.wasm!issue_65419_coroutine_resume_after_completion::main::h12c884eb760bfb84
          14:  0x350 - a.wasm!core::ops::function::FnOnce::call_once::hddadbeaa142da754
          15:  0x31b - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::ha64b4973b0828ade
          16:  0x2f9 - a.wasm!std::rt::lang_start::{{closure}}::h02ab8719bdca0fd5
          17: 0x19a7 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          18:  0x2cd - a.wasm!std::rt::lang_start::haea2131cfb0dbe72
          19:  0x5f5 - a.wasm!__main_void
          20:  0x266 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/async-await/issues/issue-65419/issue-65419-async-fn-resume-after-completion.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-async-fn-resume-after-completion" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-async-fn-resume-after-completion/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/async-await/issues/issue-65419/issue-65419-async-fn-resume-after-completion.rs:11:16:
`async fn` resumed after completion
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-async-fn-resume-after-completion/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x79da - a.wasm!abort
           1: 0x366c - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x20a5 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x209b - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x4bbc - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x4a2d - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x49b2 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x3a4e - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x3988 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x4399 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x8ca2 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x9d8a - a.wasm!core::panicking::panic_const::panic_const_async_fn_resumed::hdae600ded6607264
          12:  0xee3 - a.wasm!issue_65419_async_fn_resume_after_completion::foo::{{closure}}::h21e83cd5d1148035
          13:  0xe0e - a.wasm!<core::pin::Pin<P> as core::future::future::Future>::poll::he5fb429555c7d6f8
          14: 0x110f - a.wasm!issue_65419_async_fn_resume_after_completion::executor::block_on::h1226afbce25d2ab7
          15:  0xfef - a.wasm!issue_65419_async_fn_resume_after_completion::main::h6516721f16d7115f
          16:  0x377 - a.wasm!core::ops::function::FnOnce::call_once::hc8013cfcd6713d8e
          17:  0x342 - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::ha2448788ef9c0526
          18:  0x320 - a.wasm!std::rt::lang_start::{{closure}}::h52cf8d5a62d230a2
          19: 0x2544 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          20:  0x2f4 - a.wasm!std::rt::lang_start::h33e00364ecd52d21
          21: 0x117e - a.wasm!__main_void
          22:  0x28d - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/hygiene/panic-location.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/hygiene/panic-location.rs:9:5:
capacity overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/hygiene/panic-location/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x861b - a.wasm!abort
           1: 0x42ad - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x2ce6 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x2cdc - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x57fd - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x566e - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x55f3 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x468f - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x45c9 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x4fda - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x98e3 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x91db - a.wasm!alloc::raw_vec::capacity_overflow::h46d75a06b3ffbaf4
          12: 0x91fa - a.wasm!alloc::raw_vec::handle_error::h5755e28b7be292c6
          13: 0x1213 - a.wasm!alloc::raw_vec::RawVecInner<A>::with_capacity_in::h88f8b6f3f0868562
          14: 0x112f - a.wasm!alloc::collections::vec_deque::VecDeque<T>::with_capacity::h16d1f7e85ccd87b4
          15: 0x1d7c - a.wasm!panic_location::main::h29ea3f54d76d0f42
          16:  0x42f - a.wasm!core::ops::function::FnOnce::call_once::hc9ce5270dcb6539c
          17:  0x3fa - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h889458890ee26b97
          18:  0x3d8 - a.wasm!std::rt::lang_start::{{closure}}::h16b6afcbbd07cd9a
          19: 0x3185 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          20:  0x3ac - a.wasm!std::rt::lang_start::h2e29a51870c94bb3
          21: 0x1dbf - a.wasm!__main_void
          22:  0x28c - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/intrinsics/const-eval-select-backtrace-std.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace-std" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace-std/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/intrinsics/const-eval-select-backtrace-std.rs:6:8:
byte index 1 is out of bounds of ``
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace-std/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x7025 - a.wasm!abort
           1: 0x2d43 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x177c - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x1772 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x4207 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x4078 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3ffd - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x30f3 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x305f - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x39e4 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x8367 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x9e08 - a.wasm!core::str::slice_error_fail_rt::hdb8e524ac501d4c0
          12: 0x994e - a.wasm!core::str::slice_error_fail::hc74dd9b942e8581a
          13:  0x76f - a.wasm!core::str::traits::<impl core::slice::index::SliceIndex<str> for core::ops::range::RangeFrom<usize>>::index::h39d7432f693993be
          14:  0x7ab - a.wasm!core::str::traits::<impl core::ops::index::Index<I> for str>::index::h995bd0f9dd7bae26
          15:  0x826 - a.wasm!const_eval_select_backtrace_std::main::haa17dc9fe0c15336
          16:  0x36d - a.wasm!core::ops::function::FnOnce::call_once::hae394e61e2e406d0
          17:  0x338 - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h3a1f882a90273c31
          18:  0x316 - a.wasm!std::rt::lang_start::{{closure}}::h3209c468b591482d
          19: 0x1c1b - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          20:  0x2ea - a.wasm!std::rt::lang_start::hc59cb0e8828f7373
          21:  0x869 - a.wasm!__main_void
          22:  0x283 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/intrinsics/const-eval-select-backtrace.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/intrinsics/const-eval-select-backtrace.rs:15:5:
Aaah!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/const-eval-select-backtrace/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6d5c - a.wasm!abort
           1: 0x2975 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x13ae - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x13a4 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3f3e - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3daf - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3c76 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2ccc - a.wasm!std::panicking::begin_panic::{{closure}}::h1d073601dc32b067
           8: 0x2c91 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hdc3562ce985d0dbb
           9:  0x532 - a.wasm!std::panicking::begin_panic::h103addb0cd4f2113
          10:  0x42a - a.wasm!const_eval_select_backtrace::uhoh::h2c366fbbebcfea3c
          11:  0x440 - a.wasm!const_eval_select_backtrace::main::hd32bc2cc8f521bb0
          12:  0x357 - a.wasm!core::ops::function::FnOnce::call_once::h721543cc4e33ef11
          13:  0x322 - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::hc8cd7d4e40e52562
          14:  0x300 - a.wasm!std::rt::lang_start::{{closure}}::ha555929f91034e4c
          15: 0x184d - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          16:  0x2d4 - a.wasm!std::rt::lang_start::h2bdd8ca5a6fa5cc5
          17:  0x464 - a.wasm!__main_void
          18:  0x26d - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/issues/issue-44216-add-instant.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-44216-add-instant" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-44216-add-instant/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at library/std/src/time.rs:421:33:
overflow when adding duration to instant
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-44216-add-instant/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6f9d - a.wasm!abort
           1: 0x29f6 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x142f - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x1425 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3fac - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3e1d - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3da2 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2e98 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x2e04 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x3789 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x8265 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x96ea - a.wasm!core::option::expect_failed::hbe3000fd3a3981d9
          12: 0x2ba9 - a.wasm!<std::time::Instant as core::ops::arith::Add<core::time::Duration>>::add::h0810e7cc93d5dad6
          13:  0x4e5 - a.wasm!issue_44216_add_instant::main::h36a7d8f136e539b6
          14:  0x3c1 - a.wasm!core::ops::function::FnOnce::call_once::h4da71d3cb6567b9d
          15:  0x38c - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::ha8ab9aa11c282cc2
          16:  0x36a - a.wasm!std::rt::lang_start::{{closure}}::hf03ce389e6391b7d
          17: 0x18ce - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          18:  0x33e - a.wasm!std::rt::lang_start::h41da6c1e8c3f1c42
          19:  0x51c - a.wasm!__main_void
          20:  0x2d7 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/loops/issue-69225-SCEVAddExpr-wrap-flag.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-SCEVAddExpr-wrap-flag" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-SCEVAddExpr-wrap-flag/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/loops/issue-69225-SCEVAddExpr-wrap-flag.rs:22:17:
index out of bounds: the len is 0 but the index is 16777216
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-SCEVAddExpr-wrap-flag/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6d51 - a.wasm!abort
           1: 0x2a6f - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x14a8 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x149e - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3f33 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3da4 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3d29 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2e1f - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x2d8b - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x3710 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x8093 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x7d3a - a.wasm!core::panicking::panic_bounds_check::hc7b0769847c4fa74
          12:  0x546 - a.wasm!issue_69225_SCEVAddExpr_wrap_flag::do_test::hd6127a23e76ed316
          13:  0x552 - a.wasm!issue_69225_SCEVAddExpr_wrap_flag::main::h937c9d6297286811
          14:  0x2ba - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h88ad2adf72b36f77
          15:  0x2ad - a.wasm!std::rt::lang_start::{{closure}}::h3967ccd778b2f12f
          16: 0x1947 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          17:  0x58b - a.wasm!__main_void
          18:  0x265 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/loops/issue-69225-layout-repeated-checked-add.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-layout-repeated-checked-add" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-layout-repeated-checked-add/a.wasm"
stdout: none
--- stderr -------------------------------
0 0 3 0

thread 'main' panicked at /checkout/tests/ui/loops/issue-69225-layout-repeated-checked-add.rs:20:35:
index out of bounds: the len is 0 but the index is 16777216
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/loops/issue-69225-layout-repeated-checked-add/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x7d5f - a.wasm!abort
           1: 0x39f1 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x1b87 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x1b7d - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x4f41 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x4db2 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x4d37 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x3da1 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x3d0d - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x471e - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x9168 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x8e0f - a.wasm!core::panicking::panic_bounds_check::hc7b0769847c4fa74
          12:  0x74e - a.wasm!issue_69225_layout_repeated_checked_add::do_test::h629707b423dfa42a
          13:  0x7a8 - a.wasm!issue_69225_layout_repeated_checked_add::main::h08abb760cb621583
          14:  0x2df - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h33613c5063290f18
          15:  0x2d2 - a.wasm!std::rt::lang_start::{{closure}}::h05c29d855092afa3
          16: 0x2026 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          17:  0x7e8 - a.wasm!__main_void
          18:  0x2ab - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/lto/issue-105637.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lto/issue-105637" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lto/issue-105637/a.wasm"
stdout: none
--- stderr -------------------------------
LTOed auxiliary crate panic hook
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/lto/issue-105637/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x889b - a.wasm!abort
           1: 0x42c7 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x245d - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x2453 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x5a7d - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x58ee - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x57b5 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x461e - a.wasm!std::panicking::begin_panic::{{closure}}::h1d073601dc32b067
           8: 0x45e3 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hdc3562ce985d0dbb
           9: 0x1173 - a.wasm!std::panicking::begin_panic::h103addb0cd4f2113
          10: 0x10f7 - a.wasm!thinlto_dylib::run_compiler::h4893716f82abe3df
          11: 0x10d1 - a.wasm!thinlto_dylib::main::hb40f5b3846402ee1
          12:  0xa30 - a.wasm!issue_105637::main::h9f08614bbaa21f47
          13:  0x3be - a.wasm!core::ops::function::FnOnce::call_once::hf7ab91ebc63b442b
          14:  0x389 - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::heff8d96e2ae33ba5
          15:  0x367 - a.wasm!std::rt::lang_start::{{closure}}::h91706476f5b47596
          16: 0x28fc - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          17:  0x33b - a.wasm!std::rt::lang_start::had7223f822a4f72a
          18:  0xa54 - a.wasm!__main_void
          19:  0x2d4 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/macros/assert-long-condition.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/macros/assert-long-condition.rs:7:5:
assertion failed: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18
                                + 19 + 20 + 21 + 22 + 23 + 24 + 25 == 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/macros/assert-long-condition/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x71a2 - a.wasm!abort
           1: 0x2ec0 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x18f9 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x18ef - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x4384 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x41f5 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x417a - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x32a2 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x31dc - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x3b61 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x846a - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x8433 - a.wasm!core::panicking::panic::h9ecec2ab3697c694
          12:  0x9c2 - a.wasm!assert_long_condition::main::h913cf011a2573e3f
          13:  0x34e - a.wasm!core::ops::function::FnOnce::call_once::h438a8df3ef28c772
          14:  0x319 - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h713a306eaa9d4c80
          15:  0x2f7 - a.wasm!std::rt::lang_start::{{closure}}::h6b863367b499ea93
          16: 0x1d98 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          17:  0x2cb - a.wasm!std::rt::lang_start::h46a1924cac97ed4d
          18:  0x9e6 - a.wasm!__main_void
          19:  0x264 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/numbers-arithmetic/location-add-assign-overflow.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-assign-overflow" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-assign-overflow/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/numbers-arithmetic/location-add-assign-overflow.rs:6:5:
attempt to add with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-assign-overflow/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6ca3 - a.wasm!abort
           1: 0x29c1 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x13fa - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x13f0 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3e85 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3cf6 - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3c7b - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2da3 - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x2cdd - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x3662 - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x7f6b - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x8fff - a.wasm!core::panicking::panic_const::panic_const_add_overflow::h59b9aaf7a682ca7d
          12:  0x458 - a.wasm!<u8 as core::ops::arith::AddAssign<&u8>>::add_assign::hf98ad6665f3c1624
          13:  0x4b0 - a.wasm!location_add_assign_overflow::main::hba1921a0f8e82a20
          14:  0x34f - a.wasm!core::ops::function::FnOnce::call_once::h264e92a4df41b6be
          15:  0x31a - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h137f3d146c6bdb86
          16:  0x2f8 - a.wasm!std::rt::lang_start::{{closure}}::h0730b0315aecee0e
          17: 0x1899 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          18:  0x2cc - a.wasm!std::rt::lang_start::h5578f7cd757fc594
          19:  0x4e7 - a.wasm!__main_void
          20:  0x265 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/numbers-arithmetic/location-add-overflow.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-overflow" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-overflow/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/numbers-arithmetic/location-add-overflow.rs:5:17:
attempt to add with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: failed to run main module `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-add-overflow/a.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x6c5b - a.wasm!abort
           1: 0x2979 - a.wasm!std::sys::pal::wasi::helpers::abort_internal::h28cc0a24929fae9c
           2: 0x13b2 - a.wasm!std::process::abort::hc55f024d92c7943b
           3: 0x13a8 - a.wasm!__rustc[1535c904b97dc6a1]::__rust_abort
           4: 0x3e3d - a.wasm!__rustc[1535c904b97dc6a1]::__rust_start_panic
           5: 0x3cae - a.wasm!__rustc[1535c904b97dc6a1]::rust_panic
           6: 0x3c33 - a.wasm!std::panicking::rust_panic_with_hook::h52c6d9bf4e56ae06
           7: 0x2d5b - a.wasm!std::panicking::begin_panic_handler::{{closure}}::h924568d9a43f1221
           8: 0x2c95 - a.wasm!std::sys::backtrace::__rust_end_short_backtrace::hedccbefb59854a16
           9: 0x361a - a.wasm!__rustc[1535c904b97dc6a1]::rust_begin_unwind
          10: 0x7f23 - a.wasm!core::panicking::panic_fmt::ha32cb5f19079811e
          11: 0x8fb7 - a.wasm!core::panicking::panic_const::panic_const_add_overflow::h59b9aaf7a682ca7d
          12:  0x453 - a.wasm!<u8 as core::ops::arith::Add<&u8>>::add::h3c555949fc6c7003
          13:  0x47a - a.wasm!location_add_overflow::main::h781f13b07fd9043f
          14:  0x34f - a.wasm!core::ops::function::FnOnce::call_once::h50d048f740b5213c
          15:  0x31a - a.wasm!std::sys::backtrace::__rust_begin_short_backtrace::h39c0acf184bb49a7
          16:  0x2f8 - a.wasm!std::rt::lang_start::{{closure}}::hb5530f4e887b70bc
          17: 0x1851 - a.wasm!std::rt::lang_start_internal::h1b8ea2250ac794f2
          18:  0x2cc - a.wasm!std::rt::lang_start::hf50e0a695c80b328
          19:  0x49f - a.wasm!__main_void
          20:  0x265 - a.wasm!_start
    2: wasm trap: wasm `unreachable` instruction executed
------------------------------------------


---- [ui] tests/ui/numbers-arithmetic/location-divide-assign-by-zero.rs stdout ----

error: test did not exit with failure! code=Some(134)
status: exit status: 134
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-divide-assign-by-zero" && RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/numbers-arithmetic/location-divide-assign-by-zero/a.wasm"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/numbers-arithmetic/location-divide-assign-by-zero.rs:6:5:

@bors
Copy link
Collaborator

bors commented Jun 27, 2025

💔 Test failed - checks-actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiletest Area: The compiletest test runner A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants