[INFO] fetching crate near-sdk-witgen 0.0.2...
[INFO] testing near-sdk-witgen-0.0.2 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate near-sdk-witgen 0.0.2 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate near-sdk-witgen 0.0.2 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate near-sdk-witgen 0.0.2
[INFO] finished tweaking crates.io crate near-sdk-witgen 0.0.2
[INFO] tweaked toml for crates.io crate near-sdk-witgen 0.0.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 667766209a16267f8755f855d8a31b5385157866e9391b64dea58235d0862b26
[INFO] running `Command { std: "docker" "start" "-a" "667766209a16267f8755f855d8a31b5385157866e9391b64dea58235d0862b26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "667766209a16267f8755f855d8a31b5385157866e9391b64dea58235d0862b26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "667766209a16267f8755f855d8a31b5385157866e9391b64dea58235d0862b26", kill_on_drop: false }`
[INFO] [stdout] 667766209a16267f8755f855d8a31b5385157866e9391b64dea58235d0862b26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5c834f2197b08c563a065757303e4ee22253369b6df6b0bb4af3655fdff380b
[INFO] running `Command { std: "docker" "start" "-a" "f5c834f2197b08c563a065757303e4ee22253369b6df6b0bb4af3655fdff380b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling near-sdk-witgen v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.32s
[INFO] running `Command { std: "docker" "inspect" "f5c834f2197b08c563a065757303e4ee22253369b6df6b0bb4af3655fdff380b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5c834f2197b08c563a065757303e4ee22253369b6df6b0bb4af3655fdff380b", kill_on_drop: false }`
[INFO] [stdout] f5c834f2197b08c563a065757303e4ee22253369b6df6b0bb4af3655fdff380b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57fb430ef3694244e4e25c76568dbb5180794bebab13b4e7c68acfb9eec195b2
[INFO] running `Command { std: "docker" "start" "-a" "57fb430ef3694244e4e25c76568dbb5180794bebab13b4e7c68acfb9eec195b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling near-sdk-witgen v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.72s
[INFO] running `Command { std: "docker" "inspect" "57fb430ef3694244e4e25c76568dbb5180794bebab13b4e7c68acfb9eec195b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57fb430ef3694244e4e25c76568dbb5180794bebab13b4e7c68acfb9eec195b2", kill_on_drop: false }`
[INFO] [stdout] 57fb430ef3694244e4e25c76568dbb5180794bebab13b4e7c68acfb9eec195b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1ae45844776862ccf32441a77b69707c656b029684387b603b851e804c797941
[INFO] running `Command { std: "docker" "start" "-a" "1ae45844776862ccf32441a77b69707c656b029684387b603b851e804c797941", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_sdk_witgen-94dde647240e4168)
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::args_return_mut_borsh ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::callback_args_mixed_serialization ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::arg_no_return_no_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::args_no_return_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::arg_mut_ref ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::arg_ref ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::args_return_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::callback_args_only ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::callback_args ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::callback_args_results ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::args_return_ref ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::init_ignore_state ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::init_payable ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::trait_implt ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::no_args_no_return_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::no_args_no_return_mut_payable ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::marshall_one_arg ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::marshall_borsh ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::callback_args_vec ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::private_method ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::mut_owned_no_args_no_return ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::init_no_return ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::no_args_no_return_no_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::simple_init ... ok
[INFO] [stdout] test core_impl::code_generator::item_impl_info::tests::owned_no_args_no_return_no_mut ... ok
[INFO] [stdout] test core_impl::code_generator::item_trait_info::tests::serialize_with_borsh ... FAILED
[INFO] [stdout] test core_impl::code_generator::item_trait_info::tests::standard ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- core_impl::code_generator::item_trait_info::tests::serialize_with_borsh stdout ----
[INFO] [stdout] thread 'core_impl::code_generator::item_trait_info::tests::serialize_with_borsh' panicked at 'assertion failed: `(left == right)`
[INFO] [stdout]   left: `"pub mod TestExt { use super :: * ; use near_sdk :: { Gas , Balance , AccountId , Promise } ; pub fn test (v : Vec < String > , __account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { # [derive (near_sdk :: borsh :: BorshSerialize)] struct Input { v : Vec < String > , } let args = Input { v , } ; let args = near_sdk :: borsh :: BorshSerialize :: try_to_vec (& args) . expect (\"Failed to serialize the cross contract args using Borsh.\") ; near_sdk :: Promise :: new (__account_id) . function_call (\"test\" . to_string () , args , __balance , __gas ,) } }"`,
[INFO] [stdout]  right: `"pub mod test_ext { use super :: * ; use near_sdk :: { Gas , Balance , AccountId , Promise } ; pub fn test (v : Vec < String > , __account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { # [derive (near_sdk :: borsh :: BorshSerialize)] struct Input { v : Vec < String > , } let args = Input { v , } ; let args = near_sdk :: borsh :: BorshSerialize :: try_to_vec (& args) . expect (\"Failed to serialize the cross contract args using Borsh.\") ; near_sdk :: Promise :: new (__account_id) . function_call (\"test\" . to_string () , args , __balance , __gas ,) } }"`', src/core_impl/code_generator/item_trait_info.rs:130:9
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5565139b2f1a - std::backtrace_rs::backtrace::libunwind::trace::h2f05d0192276a8f6
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x5565139b2f1a - std::backtrace_rs::backtrace::trace_unsynchronized::hedc23dff7a1af150
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5565139b2f1a - std::sys_common::backtrace::_print_fmt::h17541ef7592f3ce2
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:65:5
[INFO] [stdout]    3:     0x5565139b2f1a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h20f75df5ab0c0792
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5565139d6eff - core::fmt::write::h78109e6f466b3af6
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/fmt/mod.rs:1254:17
[INFO] [stdout]    5:     0x5565139b0255 - std::io::Write::write_fmt::hd24bfb68a1b35a25
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/io/mod.rs:1698:15
[INFO] [stdout]    6:     0x5565139b2ce5 - std::sys_common::backtrace::_print::h8dac57a9f8fbf9a5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    7:     0x5565139b2ce5 - std::sys_common::backtrace::print::hf9ecbf41d1aa712f
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    8:     0x5565139b499e - std::panicking::default_hook::{{closure}}::h04c07acfc84ca028
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:269:22
[INFO] [stdout]    9:     0x5565139b46d1 - std::panicking::default_hook::h01f6bb23e1eceb2c
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:285:9
[INFO] [stdout]   10:     0x5565138170eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h87fe9f7b2fd49e4c
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1987:9
[INFO] [stdout]   11:     0x5565138170eb - test::test_main::{{closure}}::he94d679243a7531b
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5565139b5084 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3f2d6d8b14c4769f
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1987:9
[INFO] [stdout]   13:     0x5565139b5084 - std::panicking::rust_panic_with_hook::h2bb3722bbaf2f6df
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:695:13
[INFO] [stdout]   14:     0x5565139b4df9 - std::panicking::begin_panic_handler::{{closure}}::h91bc7f36a4be011b
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:582:13
[INFO] [stdout]   15:     0x5565139b3386 - std::sys_common::backtrace::__rust_end_short_backtrace::h8b3d3717114f9e59
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:150:18
[INFO] [stdout]   16:     0x5565139b4b52 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:578:5
[INFO] [stdout]   17:     0x55651379f693 - core::panicking::panic_fmt::hfd368e3fbdabea26
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panicking.rs:67:14
[INFO] [stdout]   18:     0x55651379fa5f - core::panicking::assert_failed_inner::haef49168e1798a91
[INFO] [stdout]   19:     0x5565137e311a - core::panicking::assert_failed::h397a890ac9180841
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panicking.rs:228:5
[INFO] [stdout]   20:     0x5565137d9c9c - near_sdk_witgen::core_impl::code_generator::item_trait_info::tests::serialize_with_borsh::habcbf30640c9a258
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core_impl/code_generator/item_trait_info.rs:130:9
[INFO] [stdout]   21:     0x5565137d8297 - near_sdk_witgen::core_impl::code_generator::item_trait_info::tests::serialize_with_borsh::{{closure}}::h53daaaefe1a177a5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core_impl/code_generator/item_trait_info.rs:92:31
[INFO] [stdout]   22:     0x5565137e1225 - core::ops::function::FnOnce::call_once::h5374647d2470e09c
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55651381bfbf - core::ops::function::FnOnce::call_once::ha6a70e79f7481a7e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55651381bfbf - test::__rust_begin_short_backtrace::hce33033019b61e69
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:655:18
[INFO] [stdout]   25:     0x5565137e97ac - test::run_test::{{closure}}::h858d3528838ae3e5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:646:30
[INFO] [stdout]   26:     0x5565137e97ac - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8ac2b00f01ae79e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x55651381b096 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h8093d25b522725ef
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   28:     0x55651381b096 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h5c334c204e4a3913
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   29:     0x55651381b096 - std::panicking::try::do_call::ha8b740c7b9478074
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stdout]   30:     0x55651381b096 - std::panicking::try::h5d34f63d0e41b64e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stdout]   31:     0x55651381b096 - std::panic::catch_unwind::hcfbb511e1aa7fc67
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stdout]   32:     0x55651381b096 - test::run_test_in_process::h9abda90f802eaf21
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:678:27
[INFO] [stdout]   33:     0x55651381b096 - test::run_test::run_test_inner::{{closure}}::h0f058de91f6c6edf
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:572:39
[INFO] [stdout]   34:     0x5565137e3fb5 - test::run_test::run_test_inner::{{closure}}::h5ca48a4c59c6c1fb
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:599:37
[INFO] [stdout]   35:     0x5565137e3fb5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32bd51e1495d4a33
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:134:18
[INFO] [stdout]   36:     0x5565137e94f1 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc086fae9b128b2db
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/thread/mod.rs:526:17
[INFO] [stdout]   37:     0x5565137e94f1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb66571888d270d43
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   38:     0x5565137e94f1 - std::panicking::try::do_call::h4fa2ef4f6e51fecf
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stdout]   39:     0x5565137e94f1 - std::panicking::try::h1e9e22b8584489b5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stdout]   40:     0x5565137e94f1 - std::panic::catch_unwind::h44698a3de0e0769e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stdout]   41:     0x5565137e94f1 - std::thread::Builder::spawn_unchecked_::{{closure}}::h50153abde3fe239e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/thread/mod.rs:525:30
[INFO] [stdout]   42:     0x5565137e94f1 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbe5bbf6f38394364
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5565139b95e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0d83cb2920a49046
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   44:     0x5565139b95e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hbe0a008aa7d9ef59
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   45:     0x5565139b95e5 - std::sys::unix::thread::Thread::new::thread_start::h3a466996bdf6b1f9
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fedf0993b43 - <unknown>
[INFO] [stdout]   47:     0x7fedf0a24bb4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- core_impl::code_generator::item_trait_info::tests::standard stdout ----
[INFO] [stdout] thread 'core_impl::code_generator::item_trait_info::tests::standard' panicked at 'assertion failed: `(left == right)`
[INFO] [stdout]   left: `"pub mod ExternalCrossContract { use super :: * ; use near_sdk :: { Gas , Balance , AccountId , Promise } ; pub fn merge_sort (arr : Vec < u8 > , __account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { # [derive (near_sdk :: serde :: Serialize)] # [serde (crate = \"near_sdk::serde\")] struct Input { arr : Vec < u8 > , } let args = Input { arr , } ; let args = near_sdk :: serde_json :: to_vec (& args) . expect (\"Failed to serialize the cross contract args using JSON.\") ; near_sdk :: Promise :: new (__account_id) . function_call (\"merge_sort\" . to_string () , args , __balance , __gas ,) } pub fn merge (__account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { let args = vec ! [] ; near_sdk :: Promise :: new (__account_id) . function_call (\"merge\" . to_string () , args , __balance , __gas ,) } }"`,
[INFO] [stdout]  right: `"pub mod external_cross_contract { use super :: * ; use near_sdk :: { Gas , Balance , AccountId , Promise } ; pub fn merge_sort (arr : Vec < u8 > , __account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { # [derive (near_sdk :: serde :: Serialize)] # [serde (crate = \"near_sdk::serde\")] struct Input { arr : Vec < u8 > , } let args = Input { arr , } ; let args = near_sdk :: serde_json :: to_vec (& args) . expect (\"Failed to serialize the cross contract args using JSON.\") ; near_sdk :: Promise :: new (__account_id) . function_call (\"merge_sort\" . to_string () , args , __balance , __gas ,) } pub fn merge (__account_id : AccountId , __balance : near_sdk :: Balance , __gas : near_sdk :: Gas) -> near_sdk :: Promise { let args = vec ! [] ; near_sdk :: Promise :: new (__account_id) . function_call (\"merge\" . to_string () , args , __balance , __gas ,) } }"`', src/core_impl/code_generator/item_trait_info.rs:88:9
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5565139b2f1a - std::backtrace_rs::backtrace::libunwind::trace::h2f05d0192276a8f6
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x5565139b2f1a - std::backtrace_rs::backtrace::trace_unsynchronized::hedc23dff7a1af150
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5565139b2f1a - std::sys_common::backtrace::_print_fmt::h17541ef7592f3ce2
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:65:5
[INFO] [stdout]    3:     0x5565139b2f1a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h20f75df5ab0c0792
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5565139d6eff - core::fmt::write::h78109e6f466b3af6
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/fmt/mod.rs:1254:17
[INFO] [stdout]    5:     0x5565139b0255 - std::io::Write::write_fmt::hd24bfb68a1b35a25
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/io/mod.rs:1698:15
[INFO] [stdout]    6:     0x5565139b2ce5 - std::sys_common::backtrace::_print::h8dac57a9f8fbf9a5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    7:     0x5565139b2ce5 - std::sys_common::backtrace::print::hf9ecbf41d1aa712f
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    8:     0x5565139b499e - std::panicking::default_hook::{{closure}}::h04c07acfc84ca028
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:269:22
[INFO] [stdout]    9:     0x5565139b46d1 - std::panicking::default_hook::h01f6bb23e1eceb2c
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:285:9
[INFO] [stdout]   10:     0x5565138170eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h87fe9f7b2fd49e4c
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1987:9
[INFO] [stdout]   11:     0x5565138170eb - test::test_main::{{closure}}::he94d679243a7531b
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5565139b5084 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3f2d6d8b14c4769f
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1987:9
[INFO] [stdout]   13:     0x5565139b5084 - std::panicking::rust_panic_with_hook::h2bb3722bbaf2f6df
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:695:13
[INFO] [stdout]   14:     0x5565139b4df9 - std::panicking::begin_panic_handler::{{closure}}::h91bc7f36a4be011b
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:582:13
[INFO] [stdout]   15:     0x5565139b3386 - std::sys_common::backtrace::__rust_end_short_backtrace::h8b3d3717114f9e59
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:150:18
[INFO] [stdout]   16:     0x5565139b4b52 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:578:5
[INFO] [stdout]   17:     0x55651379f693 - core::panicking::panic_fmt::hfd368e3fbdabea26
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panicking.rs:67:14
[INFO] [stdout]   18:     0x55651379fa5f - core::panicking::assert_failed_inner::haef49168e1798a91
[INFO] [stdout]   19:     0x5565137e311a - core::panicking::assert_failed::h397a890ac9180841
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panicking.rs:228:5
[INFO] [stdout]   20:     0x5565137d821d - near_sdk_witgen::core_impl::code_generator::item_trait_info::tests::standard::he612d6284849f5ed
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core_impl/code_generator/item_trait_info.rs:88:9
[INFO] [stdout]   21:     0x5565137d5a67 - near_sdk_witgen::core_impl::code_generator::item_trait_info::tests::standard::{{closure}}::h9a580efa8fc555cc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core_impl/code_generator/item_trait_info.rs:32:19
[INFO] [stdout]   22:     0x5565137e17f5 - core::ops::function::FnOnce::call_once::hff1847896160ad23
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55651381bfbf - core::ops::function::FnOnce::call_once::ha6a70e79f7481a7e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55651381bfbf - test::__rust_begin_short_backtrace::hce33033019b61e69
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:655:18
[INFO] [stdout]   25:     0x5565137e97ac - test::run_test::{{closure}}::h858d3528838ae3e5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:646:30
[INFO] [stdout]   26:     0x5565137e97ac - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8ac2b00f01ae79e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x55651381b096 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h8093d25b522725ef
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   28:     0x55651381b096 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h5c334c204e4a3913
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   29:     0x55651381b096 - std::panicking::try::do_call::ha8b740c7b9478074
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stdout]   30:     0x55651381b096 - std::panicking::try::h5d34f63d0e41b64e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stdout]   31:     0x55651381b096 - std::panic::catch_unwind::hcfbb511e1aa7fc67
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stdout]   32:     0x55651381b096 - test::run_test_in_process::h9abda90f802eaf21
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:678:27
[INFO] [stdout]   33:     0x55651381b096 - test::run_test::run_test_inner::{{closure}}::h0f058de91f6c6edf
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:572:39
[INFO] [stdout]   34:     0x5565137e3fb5 - test::run_test::run_test_inner::{{closure}}::h5ca48a4c59c6c1fb
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/test/src/lib.rs:599:37
[INFO] [stdout]   35:     0x5565137e3fb5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32bd51e1495d4a33
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:134:18
[INFO] [stdout]   36:     0x5565137e94f1 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc086fae9b128b2db
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/thread/mod.rs:526:17
[INFO] [stdout]   37:     0x5565137e94f1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb66571888d270d43
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   38:     0x5565137e94f1 - std::panicking::try::do_call::h4fa2ef4f6e51fecf
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stdout]   39:     0x5565137e94f1 - std::panicking::try::h1e9e22b8584489b5
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stdout]   40:     0x5565137e94f1 - std::panic::catch_unwind::h44698a3de0e0769e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stdout]   41:     0x5565137e94f1 - std::thread::Builder::spawn_unchecked_::{{closure}}::h50153abde3fe239e
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/thread/mod.rs:525:30
[INFO] [stdout]   42:     0x5565137e94f1 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbe5bbf6f38394364
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5565139b95e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0d83cb2920a49046
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   44:     0x5565139b95e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hbe0a008aa7d9ef59
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/boxed.rs:1973:9
[INFO] [stdout]   45:     0x5565139b95e5 - std::sys::unix::thread::Thread::new::thread_start::h3a466996bdf6b1f9
[INFO] [stdout]                                at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fedf0993b43 - <unknown>
[INFO] [stdout]   47:     0x7fedf0a24bb4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     core_impl::code_generator::item_trait_info::tests::serialize_with_borsh
[INFO] [stdout]     core_impl::code_generator::item_trait_info::tests::standard
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 25 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "1ae45844776862ccf32441a77b69707c656b029684387b603b851e804c797941", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ae45844776862ccf32441a77b69707c656b029684387b603b851e804c797941", kill_on_drop: false }`
[INFO] [stdout] 1ae45844776862ccf32441a77b69707c656b029684387b603b851e804c797941
