]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/panic/double_panic.stderr
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / tools / miri / tests / fail / panic / double_panic.stderr
1 thread 'main' panicked at 'first', $DIR/double_panic.rs:LL:CC
2 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3 thread 'main' panicked at 'second', $DIR/double_panic.rs:LL:CC
4 stack backtrace:
5    0: std::backtrace_rs::backtrace::miri::trace_unsynchronized
6  at RUSTLIB/std/src/../../backtrace/src/backtrace/miri.rs:LL:CC
7    1: std::backtrace_rs::backtrace::miri::trace
8  at RUSTLIB/std/src/../../backtrace/src/backtrace/miri.rs:LL:CC
9    2: std::backtrace_rs::backtrace::trace_unsynchronized
10  at RUSTLIB/std/src/../../backtrace/src/backtrace/mod.rs:LL:CC
11    3: std::sys_common::backtrace::_print_fmt
12  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
13    4: <std::sys_common::backtrace::_print::DisplayBacktrace as std::fmt::Display>::fmt
14  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
15    5: std::fmt::write
16  at RUSTLIB/core/src/fmt/mod.rs:LL:CC
17    6: <std::sys::PLATFORM::stdio::Stderr as std::io::Write>::write_fmt
18  at RUSTLIB/std/src/io/mod.rs:LL:CC
19    7: std::sys_common::backtrace::_print
20  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
21    8: std::sys_common::backtrace::print
22  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
23    9: std::panicking::default_hook::{closure#1}
24  at RUSTLIB/std/src/panicking.rs:LL:CC
25   10: std::panicking::default_hook
26  at RUSTLIB/std/src/panicking.rs:LL:CC
27   11: std::panicking::rust_panic_with_hook
28  at RUSTLIB/std/src/panicking.rs:LL:CC
29   12: std::rt::begin_panic::{closure#0}
30  at RUSTLIB/std/src/panicking.rs:LL:CC
31   13: std::sys_common::backtrace::__rust_end_short_backtrace
32  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
33   14: std::rt::begin_panic
34  at RUSTLIB/std/src/panicking.rs:LL:CC
35   15: <Foo as std::ops::Drop>::drop
36  at $DIR/double_panic.rs:LL:CC
37   16: std::ptr::drop_in_place - shim(Some(Foo))
38  at RUSTLIB/core/src/ptr/mod.rs:LL:CC
39   17: main
40  at $DIR/double_panic.rs:LL:CC
41   18: <fn() as std::ops::FnOnce<()>>::call_once - shim(fn())
42  at RUSTLIB/core/src/ops/function.rs:LL:CC
43   19: std::sys_common::backtrace::__rust_begin_short_backtrace
44  at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
45   20: std::rt::lang_start::{closure#0}
46  at RUSTLIB/std/src/rt.rs:LL:CC
47   21: std::ops::function::impls::call_once
48  at RUSTLIB/core/src/ops/function.rs:LL:CC
49   22: std::panicking::r#try::do_call
50  at RUSTLIB/std/src/panicking.rs:LL:CC
51   23: std::panicking::r#try
52  at RUSTLIB/std/src/panicking.rs:LL:CC
53   24: std::panic::catch_unwind
54  at RUSTLIB/std/src/panic.rs:LL:CC
55   25: std::rt::lang_start_internal::{closure#2}
56  at RUSTLIB/std/src/rt.rs:LL:CC
57   26: std::panicking::r#try::do_call
58  at RUSTLIB/std/src/panicking.rs:LL:CC
59   27: std::panicking::r#try
60  at RUSTLIB/std/src/panicking.rs:LL:CC
61   28: std::panic::catch_unwind
62  at RUSTLIB/std/src/panic.rs:LL:CC
63   29: std::rt::lang_start_internal
64  at RUSTLIB/std/src/rt.rs:LL:CC
65   30: std::rt::lang_start
66  at RUSTLIB/std/src/rt.rs:LL:CC
67 thread panicked while panicking. aborting.
68 error: abnormal termination: the program aborted execution
69   --> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
70    |
71 LL |     ABORT();
72    | ^ the program aborted execution
73    |
74    = note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
75    = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
76    = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
77    = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::rt::begin_panic<&str>::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
78 note: inside `<Foo as std::ops::Drop>::drop` at RUSTLIB/std/src/panic.rs:LL:CC
79   --> $DIR/double_panic.rs:LL:CC
80    |
81 LL |         panic!("second");
82    | ^
83    = note: inside `std::ptr::drop_in_place::<Foo> - shim(Some(Foo))` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
84 note: inside `main` at $DIR/double_panic.rs:LL:CC
85   --> $DIR/double_panic.rs:LL:CC
86    |
87 LL | }
88    | ^
89    = 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)
90
91 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
92
93 error: aborting due to previous error
94