[INFO] fetching crate pink-macro 0.4.0... [INFO] testing pink-macro-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate pink-macro 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate pink-macro 0.4.0 [INFO] finished tweaking crates.io crate pink-macro 0.4.0 [INFO] tweaked toml for crates.io crate pink-macro 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pink-macro 0.4.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding ink_ir v4.3.0 (available: v5.1.1) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded console v0.16.3 [INFO] [stderr] Downloaded rustfmt-snippet v0.1.2 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded unzip3 v1.0.0 [INFO] [stderr] Downloaded insta v1.47.2 [INFO] [stderr] Downloaded ink_ir v4.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9765b335454b8b04e74c9a490beb1ff4e2b1d92bcc75ad1a1333363dd8793e4e [INFO] running `Command { std: "docker" "start" "-a" "9765b335454b8b04e74c9a490beb1ff4e2b1d92bcc75ad1a1333363dd8793e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9765b335454b8b04e74c9a490beb1ff4e2b1d92bcc75ad1a1333363dd8793e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9765b335454b8b04e74c9a490beb1ff4e2b1d92bcc75ad1a1333363dd8793e4e", kill_on_drop: false }` [INFO] [stdout] 9765b335454b8b04e74c9a490beb1ff4e2b1d92bcc75ad1a1333363dd8793e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cfb2b10ea9aba815ed591f7c7fff5e9f0478b42aa6966f66822a71edf529339 [INFO] running `Command { std: "docker" "start" "-a" "3cfb2b10ea9aba815ed591f7c7fff5e9f0478b42aa6966f66822a71edf529339", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling pink-macro v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.90s [INFO] running `Command { std: "docker" "inspect" "3cfb2b10ea9aba815ed591f7c7fff5e9f0478b42aa6966f66822a71edf529339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfb2b10ea9aba815ed591f7c7fff5e9f0478b42aa6966f66822a71edf529339", kill_on_drop: false }` [INFO] [stdout] 3cfb2b10ea9aba815ed591f7c7fff5e9f0478b42aa6966f66822a71edf529339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 693a5c1ca872bbe062b3bed4c54202aa2e0c18e616095481a819ccb930f8e5f1 [INFO] running `Command { std: "docker" "start" "-a" "693a5c1ca872bbe062b3bed4c54202aa2e0c18e616095481a819ccb930f8e5f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rustfmt-snippet v0.1.2 [INFO] [stderr] Compiling pink-macro v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling console v0.16.3 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling insta v1.47.2 [INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/driver_system.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "693a5c1ca872bbe062b3bed4c54202aa2e0c18e616095481a819ccb930f8e5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693a5c1ca872bbe062b3bed4c54202aa2e0c18e616095481a819ccb930f8e5f1", kill_on_drop: false }` [INFO] [stdout] 693a5c1ca872bbe062b3bed4c54202aa2e0c18e616095481a819ccb930f8e5f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1094759cc32acfa7181c2ff2097046f3ca295384b6b29b1c5ea8375feae83efb [INFO] running `Command { std: "docker" "start" "-a" "1094759cc32acfa7181c2ff2097046f3ca295384b6b29b1c5ea8375feae83efb", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stderr] --> src/driver_system.rs:337:9 [INFO] [stderr] | [INFO] [stderr] 337 | 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: `pink-macro` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pink_macro-35c2efd99bf80ddd) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '562dee4820c458d823175268e41601d4c060588a'. [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 '562dee4820c458d823175268e41601d4c060588a'. [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 '562dee4820c458d823175268e41601d4c060588a'. [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 driver_system::tests::first_arg_must_be_self ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '562dee4820c458d823175268e41601d4c060588a'. [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 contract::tests::test_invalid_config ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '562dee4820c458d823175268e41601d4c060588a'. [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 driver_system::tests::not_ident_args_is_not_allowed ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '562dee4820c458d823175268e41601d4c060588a'. [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 contract::tests::it_works_with_inner ... FAILED [INFO] [stdout] test driver_system::tests::show_patch_result ... FAILED [INFO] [stdout] test contract::tests::it_works_without_inner ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- driver_system::tests::first_arg_must_be_self stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'driver_system::tests::first_arg_must_be_self' (20) panicked at src/driver_system.rs:355:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: "::core::compile_error! { \"First arg must be self\" }\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d253 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5b79d1eb3d6d - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5b79d1ecb9ea - pink_macro[a00e2443a82d9dfe]::driver_system::tests::first_arg_must_be_self [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:355:9 [INFO] [stdout] 22: 0x5b79d1ec9257 - pink_macro[a00e2443a82d9dfe]::driver_system::tests::first_arg_must_be_self::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:341:32 [INFO] [stdout] 23: 0x5b79d1ebccd6 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- contract::tests::test_invalid_config stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::test_invalid_config' (19) panicked at src/contract.rs:152:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: "::core::compile_error! { \"expected `,`\" }\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d253 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5b79d1eb3d6d - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5b79d1eb8b97 - pink_macro[a00e2443a82d9dfe]::contract::tests::test_invalid_config [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:152:9 [INFO] [stdout] 22: 0x5b79d1eb3e87 - pink_macro[a00e2443a82d9dfe]::contract::tests::test_invalid_config::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:128:29 [INFO] [stdout] 23: 0x5b79d1ebcd96 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- driver_system::tests::not_ident_args_is_not_allowed stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'driver_system::tests::not_ident_args_is_not_allowed' (21) panicked at src/driver_system.rs:372:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: "::core::compile_error! { \"Only ident is allowed\" }\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d253 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5b79d1eb3d6d - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5b79d1ecc101 - pink_macro[a00e2443a82d9dfe]::driver_system::tests::not_ident_args_is_not_allowed [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:372:9 [INFO] [stdout] 22: 0x5b79d1ec9287 - pink_macro[a00e2443a82d9dfe]::driver_system::tests::not_ident_args_is_not_allowed::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:359:39 [INFO] [stdout] 23: 0x5b79d1ebcd16 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- contract::tests::it_works_with_inner stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/pink_macro__contract__tests__it_works_with_inner.snap [INFO] [stdout] Snapshot: it_works_with_inner [INFO] [stdout] Source: src/contract.rs:96 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: rustfmt_snippet::rustfmt_token_stream(&output).unwrap() [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-# [ink :: contract (env = PinkEnvironment)] [INFO] [stdout] 2 │-#[ink::contract] [INFO] [stdout] 3 │-mod test { [INFO] [stdout] 4 │- #[ink(storage)] [INFO] [stdout] 5 │- pub struct Test { [INFO] [stdout] 6 │- flag: String, [INFO] [stdout] 7 │- } [INFO] [stdout] 8 │- impl Test { [INFO] [stdout] 9 │- #[ink(constructor)] [INFO] [stdout] 10 │- pub fn new() -> Self { [INFO] [stdout] 11 │- Self { [INFO] [stdout] 12 │- flag: String::new(), [INFO] [stdout] 13 │- } [INFO] [stdout] 14 │- } [INFO] [stdout] 15 │- #[ink(message)] [INFO] [stdout] 16 │- pub fn flag(&self) -> String { [INFO] [stdout] 17 │- self.flag.clone() [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │-} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::it_works_with_inner' (17) panicked at src/contract.rs:96:9: [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/pink_macro__contract__tests__it_works_with_inner.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d0d2 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5b79d1eb798e - >>::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5b79d1eb798e - pink_macro[a00e2443a82d9dfe]::contract::tests::it_works_with_inner [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:96:9 [INFO] [stdout] 22: 0x5b79d1eb3e57 - pink_macro[a00e2443a82d9dfe]::contract::tests::it_works_with_inner::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:69:29 [INFO] [stdout] 23: 0x5b79d1ebcd56 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- driver_system::tests::show_patch_result stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/pink_macro__driver_system__tests__show_patch_result.snap [INFO] [stdout] Snapshot: show_patch_result [INFO] [stdout] Source: src/driver_system.rs:337 [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 │-#[doc = "**The doc is messed up by the ink macro. See [`SystemForDoc`] for a clean version**\n\n"] [INFO] [stdout] 2 │-#[ink::trait_definition(namespace = "pink_system")] [INFO] [stdout] 3 │-pub trait System { [INFO] [stdout] 4 │- #[ink(message)] [INFO] [stdout] 5 │- fn get_driver(&self, name: String) -> Option; [INFO] [stdout] 6 │- #[ink(message)] [INFO] [stdout] 7 │- fn set_driver(&self, name: String, driver: AccountId); [INFO] [stdout] 8 │- #[ink(message)] [INFO] [stdout] 9 │- fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()>; [INFO] [stdout] 10 │-} [INFO] [stdout] 11 │-#[cfg(doc)] [INFO] [stdout] 12 │-#[doc = "**This is the clean version doc of [`System`]**\n\n"] [INFO] [stdout] 13 │-pub trait SystemForDoc { [INFO] [stdout] 14 │- fn get_driver(&self, name: String) -> Option; [INFO] [stdout] 15 │- fn set_driver(&self, name: String, driver: AccountId); [INFO] [stdout] 16 │- fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()>; [INFO] [stdout] 17 │-} [INFO] [stdout] 18 │-pub use _pink_system_impl::SystemRef; [INFO] [stdout] 19 │-mod _pink_system_impl { [INFO] [stdout] 20 │- use super::*; [INFO] [stdout] 21 │- use ink::env::call::FromAccountId; [INFO] [stdout] 22 │- use ink::env::CallFlags; [INFO] [stdout] 23 │- use ink::{codegen::TraitCallForwarder, reflect::TraitDefinitionRegistry}; [INFO] [stdout] 24 │- use pink::PinkEnvironment; [INFO] [stdout] 25 │- type Balance = ::Balance; [INFO] [stdout] 26 │- type TraitInfo = as System>::__ink_TraitInfo; [INFO] [stdout] 27 │- type Forwarder = ::Forwarder; [INFO] [stdout] 28 │- #[derive(Clone)] [INFO] [stdout] 29 │- pub enum SystemRef { [INFO] [stdout] 30 │- Instance { [INFO] [stdout] 31 │- address: AccountId, [INFO] [stdout] 32 │- call_flags: CallFlags, [INFO] [stdout] 33 │- value: Balance, [INFO] [stdout] 34 │- }, [INFO] [stdout] 35 │- #[cfg(feature = "std")] [INFO] [stdout] 36 │- Mock { value: Balance }, [INFO] [stdout] 37 │- } [INFO] [stdout] 38 │- #[cfg(feature = "std")] [INFO] [stdout] 39 │- enum MockObj { [INFO] [stdout] 40 │- Boxed( [INFO] [stdout] 41 │- Box< [INFO] [stdout] 42 │- dyn System< [INFO] [stdout] 43 │- Env = PinkEnvironment, [INFO] [stdout] 44 │- __ink_TraitInfo = TraitInfo, [INFO] [stdout] 45 │- getDriverOutput = Option, [INFO] [stdout] 46 │- setDriverOutput = (), [INFO] [stdout] 47 │- deploySidevmToOutput = Result<()>, [INFO] [stdout] 48 │- >, [INFO] [stdout] 49 │- >, [INFO] [stdout] 50 │- ), [INFO] [stdout] 51 │- Ref( [INFO] [stdout] 52 │- &'static mut dyn System< [INFO] [stdout] 53 │- Env = PinkEnvironment, [INFO] [stdout] 54 │- __ink_TraitInfo = TraitInfo, [INFO] [stdout] 55 │- getDriverOutput = Option, [INFO] [stdout] 56 │- setDriverOutput = (), [INFO] [stdout] 57 │- deploySidevmToOutput = Result<()>, [INFO] [stdout] 58 │- >, [INFO] [stdout] 59 │- ), [INFO] [stdout] 60 │- } [INFO] [stdout] 61 │- #[cfg(feature = "std")] [INFO] [stdout] 62 │- thread_local! { static MOCK : core :: cell :: RefCell < Option < (AccountId , MockObj) > , > = Default :: default () ; } [INFO] [stdout] 63 │- impl SystemRef { [INFO] [stdout] 64 │- #[cfg(feature = "std")] [INFO] [stdout] 65 │- pub fn mock_with( [INFO] [stdout] 66 │- contract: impl System< [INFO] [stdout] 67 │- Env = PinkEnvironment, [INFO] [stdout] 68 │- __ink_TraitInfo = TraitInfo, [INFO] [stdout] 69 │- getDriverOutput = Option, [INFO] [stdout] 70 │- setDriverOutput = (), [INFO] [stdout] 71 │- deploySidevmToOutput = Result<()>, [INFO] [stdout] 72 │- > + 'static, [INFO] [stdout] 73 │- ) { [INFO] [stdout] 74 │- MOCK.with(|x| { [INFO] [stdout] 75 │- let callee = ink::env::test::callee::(); [INFO] [stdout] 76 │- *x.borrow_mut() = Some((callee, MockObj::Boxed(Box::new(contract)))); [INFO] [stdout] 77 │- }); [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- #[cfg(feature = "std")] [INFO] [stdout] 80 │- pub unsafe fn unsafe_mock_with( [INFO] [stdout] 81 │- contract: &mut dyn System< [INFO] [stdout] 82 │- Env = PinkEnvironment, [INFO] [stdout] 83 │- __ink_TraitInfo = TraitInfo, [INFO] [stdout] 84 │- getDriverOutput = Option, [INFO] [stdout] 85 │- setDriverOutput = (), [INFO] [stdout] 86 │- deploySidevmToOutput = Result<()>, [INFO] [stdout] 87 │- >, [INFO] [stdout] 88 │- ) { [INFO] [stdout] 89 │- MOCK.with(|x| { [INFO] [stdout] 90 │- let callee = ink::env::test::callee::(); [INFO] [stdout] 91 │- *x.borrow_mut() = Some((callee, MockObj::Ref(core::mem::transmute(contract)))); [INFO] [stdout] 92 │- }); [INFO] [stdout] 93 │- } [INFO] [stdout] 94 │- pub fn set_call_flags(&mut self, flags: CallFlags) { [INFO] [stdout] 95 │- if let Self::Instance { call_flags, .. } = self { [INFO] [stdout] 96 │- *call_flags = flags; [INFO] [stdout] 97 │- } [INFO] [stdout] 98 │- } [INFO] [stdout] 99 │- pub fn set_value_transferred(&self, transferred_value: Balance) -> Self { [INFO] [stdout] 100 │- let mut me = self.clone(); [INFO] [stdout] 101 │- match &mut me { [INFO] [stdout] 102 │- Self::Instance { value, .. } => { [INFO] [stdout] 103 │- *value = transferred_value; [INFO] [stdout] 104 │- } [INFO] [stdout] 105 │- #[cfg(feature = "std")] [INFO] [stdout] 106 │- Self::Mock { value } => { [INFO] [stdout] 107 │- *value = transferred_value; [INFO] [stdout] 108 │- } [INFO] [stdout] 109 │- } [INFO] [stdout] 110 │- me [INFO] [stdout] 111 │- } [INFO] [stdout] 112 │- pub fn instance() -> Self { [INFO] [stdout] 113 │- Self::instance_with_call_flags(CallFlags::default()) [INFO] [stdout] 114 │- } [INFO] [stdout] 115 │- pub fn instance_with_call_flags(call_flags: CallFlags) -> Self { [INFO] [stdout] 116 │- #[cfg(feature = "std")] [INFO] [stdout] 117 │- if MOCK.with(|x| x.borrow_mut().is_some()) { [INFO] [stdout] 118 │- return Self::Mock { value: 0 }; [INFO] [stdout] 119 │- } [INFO] [stdout] 120 │- Self::Instance { [INFO] [stdout] 121 │- address: pink::ext().system_contract_id(), [INFO] [stdout] 122 │- call_flags, [INFO] [stdout] 123 │- value: 0, [INFO] [stdout] 124 │- } [INFO] [stdout] 125 │- } [INFO] [stdout] 126 │- } [INFO] [stdout] 127 │- impl SystemRef { [INFO] [stdout] 128 │- pub fn get_driver(&self, name: String) -> Option { [INFO] [stdout] 129 │- match self { [INFO] [stdout] 130 │- SystemRef::Instance { [INFO] [stdout] 131 │- address, [INFO] [stdout] 132 │- call_flags, [INFO] [stdout] 133 │- value, [INFO] [stdout] 134 │- } => { [INFO] [stdout] 135 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 136 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 137 │- forwarder [INFO] [stdout] 138 │- .call() [INFO] [stdout] 139 │- .get_driver(name) [INFO] [stdout] 140 │- .transferred_value(*value) [INFO] [stdout] 141 │- .call_flags(call_flags.clone()) [INFO] [stdout] 142 │- .invoke() [INFO] [stdout] 143 │- } [INFO] [stdout] 144 │- #[cfg(feature = "std")] [INFO] [stdout] 145 │- SystemRef::Mock { value } => MOCK.with(move |x| { [INFO] [stdout] 146 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 147 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 148 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 149 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 150 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 151 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 152 │- ink::env::test::set_value_transferred::(*value); [INFO] [stdout] 153 │- let ret = match forwarder { [INFO] [stdout] 154 │- MockObj::Boxed(contract) => contract.get_driver(name), [INFO] [stdout] 155 │- MockObj::Ref(contract) => contract.get_driver(name), [INFO] [stdout] 156 │- }; [INFO] [stdout] 157 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 158 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 159 │- ink::env::test::set_value_transferred::(0); [INFO] [stdout] 160 │- ret [INFO] [stdout] 161 │- }), [INFO] [stdout] 162 │- } [INFO] [stdout] 163 │- } [INFO] [stdout] 164 │- pub fn set_driver(&self, name: String, driver: AccountId) { [INFO] [stdout] 165 │- match self { [INFO] [stdout] 166 │- SystemRef::Instance { [INFO] [stdout] 167 │- address, [INFO] [stdout] 168 │- call_flags, [INFO] [stdout] 169 │- value, [INFO] [stdout] 170 │- } => { [INFO] [stdout] 171 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 172 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 173 │- forwarder [INFO] [stdout] 174 │- .call() [INFO] [stdout] 175 │- .set_driver(name, driver) [INFO] [stdout] 176 │- .transferred_value(*value) [INFO] [stdout] 177 │- .call_flags(call_flags.clone()) [INFO] [stdout] 178 │- .invoke() [INFO] [stdout] 179 │- } [INFO] [stdout] 180 │- #[cfg(feature = "std")] [INFO] [stdout] 181 │- SystemRef::Mock { value } => MOCK.with(move |x| { [INFO] [stdout] 182 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 183 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 184 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 185 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 186 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 187 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 188 │- ink::env::test::set_value_transferred::(*value); [INFO] [stdout] 189 │- let ret = match forwarder { [INFO] [stdout] 190 │- MockObj::Boxed(contract) => contract.set_driver(name, driver), [INFO] [stdout] 191 │- MockObj::Ref(contract) => contract.set_driver(name, driver), [INFO] [stdout] 192 │- }; [INFO] [stdout] 193 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 194 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 195 │- ink::env::test::set_value_transferred::(0); [INFO] [stdout] 196 │- ret [INFO] [stdout] 197 │- }), [INFO] [stdout] 198 │- } [INFO] [stdout] 199 │- } [INFO] [stdout] 200 │- pub fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()> { [INFO] [stdout] 201 │- match self { [INFO] [stdout] 202 │- SystemRef::Instance { [INFO] [stdout] 203 │- address, [INFO] [stdout] 204 │- call_flags, [INFO] [stdout] 205 │- value, [INFO] [stdout] 206 │- } => { [INFO] [stdout] 207 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 208 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 209 │- forwarder [INFO] [stdout] 210 │- .call() [INFO] [stdout] 211 │- .deploy_sidevm_to(code_hash, contract_id) [INFO] [stdout] 212 │- .transferred_value(*value) [INFO] [stdout] 213 │- .call_flags(call_flags.clone()) [INFO] [stdout] 214 │- .invoke() [INFO] [stdout] 215 │- } [INFO] [stdout] 216 │- #[cfg(feature = "std")] [INFO] [stdout] 217 │- SystemRef::Mock { value } => MOCK.with(move |x| { [INFO] [stdout] 218 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 219 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 220 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 221 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 222 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 223 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 224 │- ink::env::test::set_value_transferred::(*value); [INFO] [stdout] 225 │- let ret = match forwarder { [INFO] [stdout] 226 │- MockObj::Boxed(contract) => { [INFO] [stdout] 227 │- contract.deploy_sidevm_to(code_hash, contract_id) [INFO] [stdout] 228 │- } [INFO] [stdout] 229 │- MockObj::Ref(contract) => contract.deploy_sidevm_to(code_hash, contract_id), [INFO] [stdout] 230 │- }; [INFO] [stdout] 231 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 232 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 233 │- ink::env::test::set_value_transferred::(0); [INFO] [stdout] 234 │- ret [INFO] [stdout] 235 │- }), [INFO] [stdout] 236 │- } [INFO] [stdout] 237 │- } [INFO] [stdout] 238 │- } [INFO] [stdout] 239 │-} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'driver_system::tests::show_patch_result' (22) panicked at src/driver_system.rs:337:9: [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/pink_macro__driver_system__tests__show_patch_result.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d0d2 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5b79d1ecb095 - >>::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5b79d1ecb095 - pink_macro[a00e2443a82d9dfe]::driver_system::tests::show_patch_result [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:337:9 [INFO] [stdout] 22: 0x5b79d1ec9227 - pink_macro[a00e2443a82d9dfe]::driver_system::tests::show_patch_result::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:319:27 [INFO] [stdout] 23: 0x5b79d1ebcc96 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- contract::tests::it_works_without_inner stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/pink_macro__contract__tests__it_works_without_inner.snap [INFO] [stdout] Snapshot: it_works_without_inner [INFO] [stdout] Source: src/contract.rs:124 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: rustfmt_snippet::rustfmt_token_stream(&output).unwrap() [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-# [ink :: contract (env = PinkEnvironment)] [INFO] [stdout] 2 │-#[ink::contract] [INFO] [stdout] 3 │-mod test { [INFO] [stdout] 4 │- #[ink(storage)] [INFO] [stdout] 5 │- pub struct Test { [INFO] [stdout] 6 │- flag: String, [INFO] [stdout] 7 │- } [INFO] [stdout] 8 │- impl Test { [INFO] [stdout] 9 │- #[ink(constructor)] [INFO] [stdout] 10 │- pub fn new() -> Self { [INFO] [stdout] 11 │- Self { [INFO] [stdout] 12 │- flag: String::new(), [INFO] [stdout] 13 │- } [INFO] [stdout] 14 │- } [INFO] [stdout] 15 │- #[ink(message)] [INFO] [stdout] 16 │- pub fn flag(&self) -> String { [INFO] [stdout] 17 │- self.flag.clone() [INFO] [stdout] 18 │- } [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │-} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::it_works_without_inner' (18) panicked at src/contract.rs:124:9: [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/pink_macro__contract__tests__it_works_without_inner.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7382ed5ea94a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7382ed5ea94a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x7382ed5ea94a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x7382ed62c9ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x7382ed62c9ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x7382ed5fbed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7382ed5fbed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x7382ed5ba1af - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x7382ed5ba1af - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x7382ed5dcbc9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5b79d1fda30c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5b79d1fda30c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7382ed5dce42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x7382ed5dce42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x7382ed5ba268 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x7382ed5ae309 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x7382ed5bb94d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x7382ed62d3cc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7382ed62d0d2 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5b79d1eb9fb1 - >>::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5b79d1eb9fb1 - pink_macro[a00e2443a82d9dfe]::contract::tests::it_works_without_inner [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:124:9 [INFO] [stdout] 22: 0x5b79d1eb3eb7 - pink_macro[a00e2443a82d9dfe]::contract::tests::it_works_without_inner::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:100:32 [INFO] [stdout] 23: 0x5b79d1ebcdd6 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b79d1fce3eb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b79d1fce3eb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b79d1fdaddb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5b79d1fdaddb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b79d1fdaddb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b79d1fd5234 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b79d1fd5234 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5b79d1fdd9e2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b79d1fdd9e2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5b79d1fdd9e2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7382ed5e802f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x7382ed5e802f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7382ed35faa4 - [INFO] [stdout] 45: 0x7382ed3eca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] contract::tests::it_works_with_inner [INFO] [stdout] contract::tests::it_works_without_inner [INFO] [stdout] contract::tests::test_invalid_config [INFO] [stdout] driver_system::tests::first_arg_must_be_self [INFO] [stdout] driver_system::tests::not_ident_args_is_not_allowed [INFO] [stdout] driver_system::tests::show_patch_result [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1094759cc32acfa7181c2ff2097046f3ca295384b6b29b1c5ea8375feae83efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1094759cc32acfa7181c2ff2097046f3ca295384b6b29b1c5ea8375feae83efb", kill_on_drop: false }` [INFO] [stdout] 1094759cc32acfa7181c2ff2097046f3ca295384b6b29b1c5ea8375feae83efb