[INFO] fetching crate sidevm-macro 0.2.0-alpha.7...
[INFO] testing sidevm-macro-0.2.0-alpha.7 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate sidevm-macro 0.2.0-alpha.7 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate sidevm-macro 0.2.0-alpha.7
[INFO] finished tweaking crates.io crate sidevm-macro 0.2.0-alpha.7
[INFO] tweaked toml for crates.io crate sidevm-macro 0.2.0-alpha.7 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sidevm-macro 0.2.0-alpha.7 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 43 packages to latest compatible versions
[INFO] [stderr]       Adding heck v0.4.1 (available: v0.5.0)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (available: v3.4.0)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.114)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustfmt-snippet v0.1.2
[INFO] [stderr]   Downloaded insta v1.46.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98cf1eef5895fba4f7214c46dd47b046ee2090d0851ce4c20231855b242e6e3d
[INFO] running `Command { std: "docker" "start" "-a" "98cf1eef5895fba4f7214c46dd47b046ee2090d0851ce4c20231855b242e6e3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98cf1eef5895fba4f7214c46dd47b046ee2090d0851ce4c20231855b242e6e3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98cf1eef5895fba4f7214c46dd47b046ee2090d0851ce4c20231855b242e6e3d", kill_on_drop: false }`
[INFO] [stdout] 98cf1eef5895fba4f7214c46dd47b046ee2090d0851ce4c20231855b242e6e3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45d97f52a023eeb288902b0f66847ed3fa3f8035109e9bbef0689127adb26bb0
[INFO] running `Command { std: "docker" "start" "-a" "45d97f52a023eeb288902b0f66847ed3fa3f8035109e9bbef0689127adb26bb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling sidevm-macro v0.2.0-alpha.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.94s
[INFO] running `Command { std: "docker" "inspect" "45d97f52a023eeb288902b0f66847ed3fa3f8035109e9bbef0689127adb26bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45d97f52a023eeb288902b0f66847ed3fa3f8035109e9bbef0689127adb26bb0", kill_on_drop: false }`
[INFO] [stdout] 45d97f52a023eeb288902b0f66847ed3fa3f8035109e9bbef0689127adb26bb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c08c15bc6afebe3dd22b474e2748db09140e29d509898528eed4240cc0d5430f
[INFO] running `Command { std: "docker" "start" "-a" "c08c15bc6afebe3dd22b474e2748db09140e29d509898528eed4240cc0d5430f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling rustfmt-snippet v0.1.2
[INFO] [stderr]    Compiling sidevm-macro v0.2.0-alpha.7 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling insta v1.46.1
[INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
[INFO] [stdout]   --> src/tests.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     insta::assert_display_snapshot!(rustfmt_snippet::rustfmt_token_stream(&stream).unwrap())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
[INFO] [stdout]   --> src/tests.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     insta::assert_display_snapshot!(rustfmt_snippet::rustfmt_token_stream(&stream).unwrap())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.43s
[INFO] running `Command { std: "docker" "inspect" "c08c15bc6afebe3dd22b474e2748db09140e29d509898528eed4240cc0d5430f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c08c15bc6afebe3dd22b474e2748db09140e29d509898528eed4240cc0d5430f", kill_on_drop: false }`
[INFO] [stdout] c08c15bc6afebe3dd22b474e2748db09140e29d509898528eed4240cc0d5430f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5d2ae915791a5052174bfa98ca90777dcfc293a1cc3ee40347fa9ccccbb90bb9
[INFO] running `Command { std: "docker" "start" "-a" "5d2ae915791a5052174bfa98ca90777dcfc293a1cc3ee40347fa9ccccbb90bb9", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
[INFO] [stderr]   --> src/tests.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     insta::assert_display_snapshot!(rustfmt_snippet::rustfmt_token_stream(&stream).unwrap())
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
[INFO] [stderr]   --> src/tests.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     insta::assert_display_snapshot!(rustfmt_snippet::rustfmt_token_stream(&stream).unwrap())
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `sidevm-macro` (lib test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sidevm_macro-3c5f8757633cf9f7)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '2fd6efc32704647e64d3d646d21c4c68eae100e4'.
[INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add`
[INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`
[INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '2fd6efc32704647e64d3d646d21c4c68eae100e4'.
[INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add`
[INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`
[INFO] [stdout] test tests::test_main ... FAILED
[INFO] [stdout] test tests::test_ocall ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_main stdout ----
[INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[INFO] [stdout] Snapshot file: src/snapshots/sidevm_macro__tests__main.snap
[INFO] [stdout] Snapshot: main
[INFO] [stdout] Source: src/tests.rs:29
[INFO] [stdout] ────────────────────────────────────────────────────────────────────────────────
[INFO] [stdout] Expression: rustfmt_snippet::rustfmt_token_stream(&stream).unwrap()
[INFO] [stdout] ────────────────────────────────────────────────────────────────────────────────
[INFO] [stdout] -old snapshot
[INFO] [stdout] +new results
[INFO] [stdout] ────────────┬───────────────────────────────────────────────────────────────────
[INFO] [stdout]     1       │-#[no_mangle]
[INFO] [stdout]     2       │-fn sidevm_main_future() -> std::pin::Pin<std::boxed::Box<dyn std::future::Future<Output = ()>>> {
[INFO] [stdout]     3       │-    async fn the_main() {
[INFO] [stdout]     4       │-        sleep(1).await
[INFO] [stdout]     5       │-    }
[INFO] [stdout]     6       │-    Box::pin(the_main())
[INFO] [stdout]     7       │-}
[INFO] [stdout] ────────────┴───────────────────────────────────────────────────────────────────
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_main' (24) panicked at src/tests.rs:29:5:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/sidevm_macro__tests__main.snap.new")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x7e334fbfe952 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x7e334fc41e1a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e334fc41e1a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x7e334fc10aa6 - std[716c9a7a72e5c14e]::io::default_write_fmt::<alloc[9c68fdf4f4f29218]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e334fc10aa6 - <alloc[9c68fdf4f4f29218]::vec::Vec<u8> as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e334fbcd6df - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x7e334fbcd6df - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e334fbf0889 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5e63d73aa53e - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5e63d73aa53e - test[64760d2bdea328cc]::test_main_with_exit_callback::<test[64760d2bdea328cc]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e334fbf0af2 - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e334fbf0af2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e334fbcd798 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e334fbc3f29 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x7e334fbcefad - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e334fc426ec - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e334fc423f2 - core[c5ed12ab89cc536a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5e63d72957bf - <core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::error::Error>>>::unwrap
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5e63d72957bf - sidevm_macro[5ec9f0d6a01bec25]::tests::test_main
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:29:5
[INFO] [stdout]   22:     0x5e63d7292fc7 - sidevm_macro[5ec9f0d6a01bec25]::tests::test_main::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:23:15
[INFO] [stdout]   23:     0x5e63d7297166 - <sidevm_macro[5ec9f0d6a01bec25]::tests::test_main::{closure#0} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e63d739e8eb - <fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5e63d739e8eb - test[64760d2bdea328cc]::__rust_begin_short_backtrace::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5e63d73ab14a - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panicking::catch_unwind::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test_in_process
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5e63d73a5614 - test[64760d2bdea328cc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5e63d73a5614 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5e63d73adc42 - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5e63d73adc42 - <std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x7e334fbfbf1f - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::ops::function::FnOnce<(), Output = ()> + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x7e334fbfbf1f - <std[716c9a7a72e5c14e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7e334f96caa4 - <unknown>
[INFO] [stdout]   45:     0x7e334f9f9a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_ocall stdout ----
[INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[INFO] [stdout] Snapshot file: src/snapshots/sidevm_macro__tests__ocall.snap
[INFO] [stdout] Snapshot: ocall
[INFO] [stdout] Source: src/tests.rs:19
[INFO] [stdout] ────────────────────────────────────────────────────────────────────────────────
[INFO] [stdout] Expression: rustfmt_snippet::rustfmt_token_stream(&stream).unwrap()
[INFO] [stdout] ────────────────────────────────────────────────────────────────────────────────
[INFO] [stdout] -old snapshot
[INFO] [stdout] +new results
[INFO] [stdout] ────────────┬───────────────────────────────────────────────────────────────────
[INFO] [stdout]     1       │-pub trait Ocall {
[INFO] [stdout]     2       │-    fn call_slow(&mut self, a: i32, b: i32) -> i32;
[INFO] [stdout]     3       │-    fn call_fi(&mut self, a: i32, b: i32) -> i32;
[INFO] [stdout]     4       │-    fn call_fo(&mut self, a: i32, b: i32) -> i32;
[INFO] [stdout]     5       │-    fn poll_fi_fo(&mut self, a: i32, b: i32) -> i32;
[INFO] [stdout]     6       │-}
[INFO] [stdout]     7       │-pub mod ocall_guest {
[INFO] [stdout]     8       │-    use super::*;
[INFO] [stdout]     9       │-    pub fn call_slow(a: i32, b: i32) -> i32 {
[INFO] [stdout]    10       │-        unsafe {
[INFO] [stdout]    11       │-            let inputs = (a, b);
[INFO] [stdout]    12       │-            let mut input_buf = Buffer::default();
[INFO] [stdout]    13       │-            Encode::encode_to(&inputs, &mut input_buf);
[INFO] [stdout]    14       │-            let len = input_buf.len() as IntPtr;
[INFO] [stdout]    15       │-            let ret = do_ocall(101, input_buf.as_ptr() as IntPtr, len, 0, 0);
[INFO] [stdout]    16       │-            let len = <Result<i32> as RetDecode>::decode_ret(ret)?;
[INFO] [stdout]    17       │-            if len < 0 {
[INFO] [stdout]    18       │-                panic!("ocall returned an error");
[INFO] [stdout]    19       │-            }
[INFO] [stdout]    20       │-            let mut buf = alloc_buffer(len as _);
[INFO] [stdout]    21       │-            let ret = do_ocall_fast_return(0, buf.as_mut_ptr() as IntPtr, len as IntPtr, 0, 0);
[INFO] [stdout]    22       │-            let ret = <Result<i32> as RetDecode>::decode_ret(ret)?;
[INFO] [stdout]    23       │-            if ret != len {
[INFO] [stdout]    24       │-                panic!("ocall get return length mismatch");
[INFO] [stdout]    25       │-            }
[INFO] [stdout]    26       │-            Ok(Decode::decode(&mut buf.as_ref()).expect("Failed to decode ocall return value"))
[INFO] [stdout]    27       │-        }
[INFO] [stdout]    28       │-    }
[INFO] [stdout]    29       │-    pub fn call_fi(a: i32, b: i32) -> i32 {
[INFO] [stdout]    30       │-        unsafe {
[INFO] [stdout]    31       │-            let stack = StackedArgs::empty();
[INFO] [stdout]    32       │-            let stack = stack.push_arg(a);
[INFO] [stdout]    33       │-            let stack = stack.push_arg(b);
[INFO] [stdout]    34       │-            let args = stack.dump();
[INFO] [stdout]    35       │-            let ret = do_ocall(103, args[0], args[1], args[2], args[3]);
[INFO] [stdout]    36       │-            let len = <Result<i32> as RetDecode>::decode_ret(ret)?;
[INFO] [stdout]    37       │-            if len < 0 {
[INFO] [stdout]    38       │-                panic!("ocall returned an error");
[INFO] [stdout]    39       │-            }
[INFO] [stdout]    40       │-            let mut buf = alloc_buffer(len as _);
[INFO] [stdout]    41       │-            let ret = do_ocall_fast_return(0, buf.as_mut_ptr() as IntPtr, len as IntPtr, 0, 0);
[INFO] [stdout]    42       │-            let ret = <Result<i32> as RetDecode>::decode_ret(ret)?;
[INFO] [stdout]    43       │-            if ret != len {
[INFO] [stdout]    44       │-                panic!("ocall get return length mismatch");
[INFO] [stdout]    45       │-            }
[INFO] [stdout]    46       │-            Ok(Decode::decode(&mut buf.as_ref()).expect("Failed to decode ocall return value"))
[INFO] [stdout]    47       │-        }
[INFO] [stdout]    48       │-    }
[INFO] [stdout]    49       │-    pub fn call_fo(a: i32, b: i32) -> i32 {
[INFO] [stdout]    50       │-        unsafe {
[INFO] [stdout]    51       │-            let inputs = (a, b);
[INFO] [stdout]    52       │-            let mut input_buf = Buffer::default();
[INFO] [stdout]    53       │-            Encode::encode_to(&inputs, &mut input_buf);
[INFO] [stdout]    54       │-            let len = input_buf.len() as IntPtr;
[INFO] [stdout]    55       │-            let ret = do_ocall_fast_return(104, input_buf.as_ptr() as IntPtr, len, 0, 0);
[INFO] [stdout]    56       │-            <Result<i32> as RetDecode>::decode_ret(ret).and_then(I32Convertible::from_i32)
[INFO] [stdout]    57       │-        }
[INFO] [stdout]    58       │-    }
[INFO] [stdout]    59       │-    pub fn poll_fi_fo(a: i32, b: i32) -> i32 {
[INFO] [stdout]    60       │-        unsafe {
[INFO] [stdout]    61       │-            let stack = StackedArgs::empty();
[INFO] [stdout]    62       │-            let stack = stack.push_arg(a);
[INFO] [stdout]    63       │-            let stack = stack.push_arg(b);
[INFO] [stdout]    64       │-            let args = stack.dump();
[INFO] [stdout]    65       │-            let ret = do_ocall_fast_return(102, args[0], args[1], args[2], args[3]);
[INFO] [stdout]    66       │-            <Result<i32> as RetDecode>::decode_ret(ret).and_then(I32Convertible::from_i32)
[INFO] [stdout]    67       │-        }
[INFO] [stdout]    68       │-    }
[INFO] [stdout]    69       │-}
[INFO] [stdout]    70       │-#[allow(clippy::too_many_arguments)]
[INFO] [stdout]    71       │-pub fn dispatch_ocall<Env: Ocall + OcallEnv, Vm: VmMemory>(
[INFO] [stdout]    72       │-    fast_return: bool,
[INFO] [stdout]    73       │-    env: &mut Env,
[INFO] [stdout]    74       │-    vm: &Vm,
[INFO] [stdout]    75       │-    id: i32,
[INFO] [stdout]    76       │-    p0: IntPtr,
[INFO] [stdout]    77       │-    p1: IntPtr,
[INFO] [stdout]    78       │-    p2: IntPtr,
[INFO] [stdout]    79       │-    p3: IntPtr,
[INFO] [stdout]    80       │-) -> Result<i32> {
[INFO] [stdout]    81       │-    if fast_return {
[INFO] [stdout]    82       │-        match id {
[INFO] [stdout]    83       │-            0 => {
[INFO] [stdout]    84       │-                let buffer = env.take_return().ok_or(OcallError::NotFound)?;
[INFO] [stdout]    85       │-                let len = p1 as usize;
[INFO] [stdout]    86       │-                if buffer.len() != len {
[INFO] [stdout]    87       │-                    return Err(OcallError::InvalidParameter);
[INFO] [stdout]    88       │-                }
[INFO] [stdout]    89       │-                vm.copy_to_vm(&buffer, p0)?;
[INFO] [stdout]    90       │-                Ok(len as i32)
[INFO] [stdout]    91       │-            }
[INFO] [stdout]    92       │-            104 => {
[INFO] [stdout]    93       │-                let (a, b) = {
[INFO] [stdout]    94       │-                    let mut buf = vm.slice_from_vm(p0, p1)?;
[INFO] [stdout]    95       │-                    Decode::decode(&mut buf).or(Err(OcallError::InvalidParameter))?
[INFO] [stdout]    96       │-                };
[INFO] [stdout]    97       │-                env.call_fo(a, b).map(|x| x.to_i32())
[INFO] [stdout]    98       │-            }
[INFO] [stdout]    99       │-            102 => {
[INFO] [stdout]   100       │-                let stack =
[INFO] [stdout]   101       │-                    StackedArgs::load(&[p0, p1, p2, p3]).ok_or(OcallError::InvalidParameter)?;
[INFO] [stdout]   102       │-                let (b, stack) = stack.pop_arg(vm)?;
[INFO] [stdout]   103       │-                let (a, stack) = stack.pop_arg(vm)?;
[INFO] [stdout]   104       │-                let _: StackedArgs<()> = stack;
[INFO] [stdout]   105       │-                env.poll_fi_fo(a, b).map(|x| x.to_i32())
[INFO] [stdout]   106       │-            }
[INFO] [stdout]   107       │-            _ => Err(OcallError::UnknownCallNumber),
[INFO] [stdout]   108       │-        }
[INFO] [stdout]   109       │-    } else {
[INFO] [stdout]   110       │-        Ok(match id {
[INFO] [stdout]   111       │-            101 => {
[INFO] [stdout]   112       │-                let (a, b) = {
[INFO] [stdout]   113       │-                    let mut buf = vm.slice_from_vm(p0, p1)?;
[INFO] [stdout]   114       │-                    Decode::decode(&mut buf).or(Err(OcallError::InvalidParameter))?
[INFO] [stdout]   115       │-                };
[INFO] [stdout]   116       │-                let ret = env.call_slow(a, b);
[INFO] [stdout]   117       │-                env.put_return(ret?.encode()) as _
[INFO] [stdout]   118       │-            }
[INFO] [stdout]   119       │-            103 => {
[INFO] [stdout]   120       │-                let stack =
[INFO] [stdout]   121       │-                    StackedArgs::load(&[p0, p1, p2, p3]).ok_or(OcallError::InvalidParameter)?;
[INFO] [stdout]   122       │-                let (b, stack) = stack.pop_arg(vm)?;
[INFO] [stdout]   123       │-                let (a, stack) = stack.pop_arg(vm)?;
[INFO] [stdout]   124       │-                let _: StackedArgs<()> = stack;
[INFO] [stdout]   125       │-                let ret = env.call_fi(a, b);
[INFO] [stdout]   126       │-                env.put_return(ret?.encode()) as _
[INFO] [stdout]   127       │-            }
[INFO] [stdout]   128       │-            _ => return Err(OcallError::UnknownCallNumber),
[INFO] [stdout]   129       │-        })
[INFO] [stdout]   130       │-    }
[INFO] [stdout]   131       │-}
[INFO] [stdout]   132       │-pub fn ocall_id2name(id: i32) -> &'static str {
[INFO] [stdout]   133       │-    match id {
[INFO] [stdout]   134       │-        0 => "get_return",
[INFO] [stdout]   135       │-        101i32 => "call_slow",
[INFO] [stdout]   136       │-        103i32 => "call_fi",
[INFO] [stdout]   137       │-        104i32 => "call_fo",
[INFO] [stdout]   138       │-        102i32 => "poll_fi_fo",
[INFO] [stdout]   139       │-        _ => "unknown",
[INFO] [stdout]   140       │-    }
[INFO] [stdout]   141       │-}
[INFO] [stdout] ────────────┴───────────────────────────────────────────────────────────────────
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_ocall' (25) panicked at src/tests.rs:19:5:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/sidevm_macro__tests__ocall.snap.new")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e334fbfe952 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x7e334fbfe952 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x7e334fc41e1a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e334fc41e1a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x7e334fc10aa6 - std[716c9a7a72e5c14e]::io::default_write_fmt::<alloc[9c68fdf4f4f29218]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e334fc10aa6 - <alloc[9c68fdf4f4f29218]::vec::Vec<u8> as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e334fbcd6df - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x7e334fbcd6df - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e334fbf0889 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5e63d73aa53e - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5e63d73aa53e - test[64760d2bdea328cc]::test_main_with_exit_callback::<test[64760d2bdea328cc]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e334fbf0af2 - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e334fbf0af2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e334fbcd798 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e334fbc3f29 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x7e334fbcefad - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e334fc426ec - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e334fc423f2 - core[c5ed12ab89cc536a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5e63d7294e67 - <core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::error::Error>>>::unwrap
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5e63d7294e67 - sidevm_macro[5ec9f0d6a01bec25]::tests::test_ocall
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:19:5
[INFO] [stdout]   22:     0x5e63d7292f97 - sidevm_macro[5ec9f0d6a01bec25]::tests::test_ocall::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:3:16
[INFO] [stdout]   23:     0x5e63d7297126 - <sidevm_macro[5ec9f0d6a01bec25]::tests::test_ocall::{closure#0} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e63d739e8eb - <fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5e63d739e8eb - test[64760d2bdea328cc]::__rust_begin_short_backtrace::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5e63d73ab14a - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panicking::catch_unwind::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5e63d73ab14a - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test_in_process
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5e63d73ab14a - test[64760d2bdea328cc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5e63d73a5614 - test[64760d2bdea328cc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5e63d73a5614 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5e63d73adc42 - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5e63d73adc42 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5e63d73adc42 - <std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x7e334fbfbf1f - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::ops::function::FnOnce<(), Output = ()> + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x7e334fbfbf1f - <std[716c9a7a72e5c14e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7e334f96caa4 - <unknown>
[INFO] [stdout]   45:     0x7e334f9f9a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_main
[INFO] [stdout]     tests::test_ocall
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "5d2ae915791a5052174bfa98ca90777dcfc293a1cc3ee40347fa9ccccbb90bb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d2ae915791a5052174bfa98ca90777dcfc293a1cc3ee40347fa9ccccbb90bb9", kill_on_drop: false }`
[INFO] [stdout] 5d2ae915791a5052174bfa98ca90777dcfc293a1cc3ee40347fa9ccccbb90bb9
