[INFO] fetching crate pink-extension-macro 0.4.4... [INFO] testing pink-extension-macro-0.4.4 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate pink-extension-macro 0.4.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate pink-extension-macro 0.4.4 [INFO] finished tweaking crates.io crate pink-extension-macro 0.4.4 [INFO] tweaked toml for crates.io crate pink-extension-macro 0.4.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pink-extension-macro 0.4.4 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [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.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d60ba171da7e65595cd5bc63ded3c234a6d3dbdbcc5b690de5bd2a4666ff71bd [INFO] running `Command { std: "docker" "start" "-a" "d60ba171da7e65595cd5bc63ded3c234a6d3dbdbcc5b690de5bd2a4666ff71bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d60ba171da7e65595cd5bc63ded3c234a6d3dbdbcc5b690de5bd2a4666ff71bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60ba171da7e65595cd5bc63ded3c234a6d3dbdbcc5b690de5bd2a4666ff71bd", kill_on_drop: false }` [INFO] [stdout] d60ba171da7e65595cd5bc63ded3c234a6d3dbdbcc5b690de5bd2a4666ff71bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5fc909d4f7a6e88c83860560f4ad5cc2135349dd0b5d71c1168a55a07b4d77 [INFO] running `Command { std: "docker" "start" "-a" "bf5fc909d4f7a6e88c83860560f4ad5cc2135349dd0b5d71c1168a55a07b4d77", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling pink-extension-macro v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MetaNameValue` is never constructed [INFO] [stdout] --> src/chain_extension.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MetaNameValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.41s [INFO] running `Command { std: "docker" "inspect" "bf5fc909d4f7a6e88c83860560f4ad5cc2135349dd0b5d71c1168a55a07b4d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5fc909d4f7a6e88c83860560f4ad5cc2135349dd0b5d71c1168a55a07b4d77", kill_on_drop: false }` [INFO] [stdout] bf5fc909d4f7a6e88c83860560f4ad5cc2135349dd0b5d71c1168a55a07b4d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ee6bcae1c0da46a1bcb20dbd8c5d5b8caa5dbf3f2138857062e98e956f26e7 [INFO] running `Command { std: "docker" "start" "-a" "93ee6bcae1c0da46a1bcb20dbd8c5d5b8caa5dbf3f2138857062e98e956f26e7", kill_on_drop: false }` [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rustfmt-snippet v0.1.2 [INFO] [stderr] Compiling pink-extension-macro v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MetaNameValue` is never constructed [INFO] [stdout] --> src/chain_extension.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MetaNameValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/driver_system.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | insta::assert_display_snapshot!(rustfmt_snippet::rustfmt_token_stream(&stream).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaNameValue` is never constructed [INFO] [stdout] --> src/chain_extension.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MetaNameValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "93ee6bcae1c0da46a1bcb20dbd8c5d5b8caa5dbf3f2138857062e98e956f26e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ee6bcae1c0da46a1bcb20dbd8c5d5b8caa5dbf3f2138857062e98e956f26e7", kill_on_drop: false }` [INFO] [stdout] 93ee6bcae1c0da46a1bcb20dbd8c5d5b8caa5dbf3f2138857062e98e956f26e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f2c35da6a5a8c5f86da3f4c52d8207bb4b7288c613664d03cb86953d6ce9e57 [INFO] running `Command { std: "docker" "start" "-a" "4f2c35da6a5a8c5f86da3f4c52d8207bb4b7288c613664d03cb86953d6ce9e57", kill_on_drop: false }` [INFO] [stderr] warning: struct `MetaNameValue` is never constructed [INFO] [stderr] --> src/chain_extension.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct MetaNameValue { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stderr] --> src/driver_system.rs:286:9 [INFO] [stderr] | [INFO] [stderr] 286 | 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-extension-macro` (lib) generated 1 warning [INFO] [stderr] warning: `pink-extension-macro` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pink_extension_macro-4d2d8500ac7a87b4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2025-10-28-x86_64-unknown-linux-gnu'. [INFO] [stderr] To install, run `rustup component add --toolchain beta-2025-10-28-x86_64-unknown-linux-gnu rustfmt` [INFO] [stdout] test driver_system::tests::show_patch_result ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- driver_system::tests::show_patch_result stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/pink_extension_macro__driver_system__tests__show_patch_result.snap [INFO] [stdout] Snapshot: show_patch_result [INFO] [stdout] Source: src/driver_system.rs:286 [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_extension::PinkEnvironment; [INFO] [stdout] 25 │- type TraitInfo = as System>::__ink_TraitInfo; [INFO] [stdout] 26 │- type Forwarder = ::Forwarder; [INFO] [stdout] 27 │- pub enum SystemRef { [INFO] [stdout] 28 │- Instance { [INFO] [stdout] 29 │- address: AccountId, [INFO] [stdout] 30 │- call_flags: CallFlags, [INFO] [stdout] 31 │- }, [INFO] [stdout] 32 │- #[cfg(feature = "std")] [INFO] [stdout] 33 │- Mock, [INFO] [stdout] 34 │- } [INFO] [stdout] 35 │- #[cfg(feature = "std")] [INFO] [stdout] 36 │- thread_local! { static MOCK : core :: cell :: RefCell < Option < (AccountId , Box < dyn System < Env = PinkEnvironment , __ink_TraitInfo = TraitInfo , getDriverOutput = Option < AccountId > , setDriverOutput = () , deploySidevmToOutput = Result < () > , > , >) > , > = Default :: default () ; } [INFO] [stdout] 37 │- impl SystemRef { [INFO] [stdout] 38 │- #[cfg(feature = "std")] [INFO] [stdout] 39 │- pub fn mock_with( [INFO] [stdout] 40 │- contract: impl System< [INFO] [stdout] 41 │- Env = PinkEnvironment, [INFO] [stdout] 42 │- __ink_TraitInfo = TraitInfo, [INFO] [stdout] 43 │- getDriverOutput = Option, [INFO] [stdout] 44 │- setDriverOutput = (), [INFO] [stdout] 45 │- deploySidevmToOutput = Result<()>, [INFO] [stdout] 46 │- > + 'static, [INFO] [stdout] 47 │- ) { [INFO] [stdout] 48 │- MOCK.with(|x| { [INFO] [stdout] 49 │- let callee = ink::env::test::callee::(); [INFO] [stdout] 50 │- *x.borrow_mut() = Some((callee, Box::new(contract))); [INFO] [stdout] 51 │- }); [INFO] [stdout] 52 │- } [INFO] [stdout] 53 │- pub fn set_call_flags(&mut self, flags: CallFlags) { [INFO] [stdout] 54 │- if let Self::Instance { call_flags, .. } = self { [INFO] [stdout] 55 │- *call_flags = flags; [INFO] [stdout] 56 │- } [INFO] [stdout] 57 │- } [INFO] [stdout] 58 │- pub fn instance() -> Self { [INFO] [stdout] 59 │- Self::instance_with_call_flags(CallFlags::default()) [INFO] [stdout] 60 │- } [INFO] [stdout] 61 │- pub fn instance_with_call_flags(call_flags: CallFlags) -> Self { [INFO] [stdout] 62 │- #[cfg(feature = "std")] [INFO] [stdout] 63 │- if MOCK.with(|x| x.borrow_mut().is_some()) { [INFO] [stdout] 64 │- return Self::Mock; [INFO] [stdout] 65 │- } [INFO] [stdout] 66 │- Self::Instance { [INFO] [stdout] 67 │- address: pink_extension::ext().system_contract_id(), [INFO] [stdout] 68 │- call_flags, [INFO] [stdout] 69 │- } [INFO] [stdout] 70 │- } [INFO] [stdout] 71 │- } [INFO] [stdout] 72 │- impl SystemRef { [INFO] [stdout] 73 │- pub fn get_driver(&self, name: String) -> Option { [INFO] [stdout] 74 │- match self { [INFO] [stdout] 75 │- SystemRef::Instance { [INFO] [stdout] 76 │- address, [INFO] [stdout] 77 │- call_flags, [INFO] [stdout] 78 │- } => { [INFO] [stdout] 79 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 80 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 81 │- forwarder [INFO] [stdout] 82 │- .call() [INFO] [stdout] 83 │- .get_driver(name) [INFO] [stdout] 84 │- .call_flags(call_flags.clone()) [INFO] [stdout] 85 │- .invoke() [INFO] [stdout] 86 │- } [INFO] [stdout] 87 │- #[cfg(feature = "std")] [INFO] [stdout] 88 │- SystemRef::Mock => MOCK.with(move |x| { [INFO] [stdout] 89 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 90 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 91 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 92 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 93 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 94 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 95 │- let ret = forwarder.get_driver(name); [INFO] [stdout] 96 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 97 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 98 │- ret [INFO] [stdout] 99 │- }), [INFO] [stdout] 100 │- } [INFO] [stdout] 101 │- } [INFO] [stdout] 102 │- pub fn set_driver(&self, name: String, driver: AccountId) { [INFO] [stdout] 103 │- match self { [INFO] [stdout] 104 │- SystemRef::Instance { [INFO] [stdout] 105 │- address, [INFO] [stdout] 106 │- call_flags, [INFO] [stdout] 107 │- } => { [INFO] [stdout] 108 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 109 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 110 │- forwarder [INFO] [stdout] 111 │- .call() [INFO] [stdout] 112 │- .set_driver(name, driver) [INFO] [stdout] 113 │- .call_flags(call_flags.clone()) [INFO] [stdout] 114 │- .invoke() [INFO] [stdout] 115 │- } [INFO] [stdout] 116 │- #[cfg(feature = "std")] [INFO] [stdout] 117 │- SystemRef::Mock => MOCK.with(move |x| { [INFO] [stdout] 118 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 119 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 120 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 121 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 122 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 123 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 124 │- let ret = forwarder.set_driver(name, driver); [INFO] [stdout] 125 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 126 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 127 │- ret [INFO] [stdout] 128 │- }), [INFO] [stdout] 129 │- } [INFO] [stdout] 130 │- } [INFO] [stdout] 131 │- pub fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()> { [INFO] [stdout] 132 │- match self { [INFO] [stdout] 133 │- SystemRef::Instance { [INFO] [stdout] 134 │- address, [INFO] [stdout] 135 │- call_flags, [INFO] [stdout] 136 │- } => { [INFO] [stdout] 137 │- use ink::codegen::TraitCallBuilder; [INFO] [stdout] 138 │- let mut forwarder = Forwarder::from_account_id(*address); [INFO] [stdout] 139 │- forwarder [INFO] [stdout] 140 │- .call() [INFO] [stdout] 141 │- .deploy_sidevm_to(code_hash, contract_id) [INFO] [stdout] 142 │- .call_flags(call_flags.clone()) [INFO] [stdout] 143 │- .invoke() [INFO] [stdout] 144 │- } [INFO] [stdout] 145 │- #[cfg(feature = "std")] [INFO] [stdout] 146 │- SystemRef::Mock => MOCK.with(move |x| { [INFO] [stdout] 147 │- let mut borrow = x.borrow_mut(); [INFO] [stdout] 148 │- let (callee, forwarder) = borrow.as_mut().unwrap(); [INFO] [stdout] 149 │- let prev_callee = ink::env::test::callee::(); [INFO] [stdout] 150 │- let prev_caller = ink::env::caller::(); [INFO] [stdout] 151 │- ink::env::test::set_caller::(prev_callee.clone()); [INFO] [stdout] 152 │- ink::env::test::set_callee::(callee.clone()); [INFO] [stdout] 153 │- let ret = forwarder.deploy_sidevm_to(code_hash, contract_id); [INFO] [stdout] 154 │- ink::env::test::set_callee::(prev_callee); [INFO] [stdout] 155 │- ink::env::test::set_caller::(prev_caller); [INFO] [stdout] 156 │- ret [INFO] [stdout] 157 │- }), [INFO] [stdout] 158 │- } [INFO] [stdout] 159 │- } [INFO] [stdout] 160 │- } [INFO] [stdout] 161 │-} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'driver_system::tests::show_patch_result' (25) panicked at src/driver_system.rs:286: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_extension_macro__driver_system__tests__show_patch_result.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7a16399ee102 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7a16399ee102 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7a16399ee102 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7a16399ee102 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7a1639a1e88f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7a1639a1e88f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x7a163999f703 - std::io::default_write_fmt::hd4797e693c0ec256 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7a163999f703 - std::io::Write::write_fmt::h791e240ad2720c99 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7a16399b4dd2 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7a16399bd18a - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x7a16399bd01c - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e4aea4efd7e - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 12: 0x5e4aea4efd7e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7a16399bd83f - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 14: 0x7a16399bd83f - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x7a16399bd5ea - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x7a16399b4f09 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x7a16399910cd - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x7a1639a2e890 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x7a1639a2d1d6 - core::result::unwrap_failed::he81173b5792ad6b0 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5e4aea3c3425 - core::result::Result::unwrap::he3d48c7ff2b19267 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5e4aea3c3425 - pink_extension_macro::driver_system::tests::show_patch_result::h5a61791062f77454 [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:286:9 [INFO] [stdout] 22: 0x5e4aea3c35f7 - pink_extension_macro::driver_system::tests::show_patch_result::{{closure}}::hdb42e2fc430fe8d1 [INFO] [stdout] at /opt/rustwide/workdir/src/driver_system.rs:268:27 [INFO] [stdout] 23: 0x5e4aea3c4386 - core::ops::function::FnOnce::call_once::hd97778a68de74970 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e4aea4efbcb - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e4aea4efbcb - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5e4aea5041e8 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5e4aea5041e8 - as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5e4aea5041e8 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e4aea5041e8 - std::panicking::catch_unwind::h8609b446221def5f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e4aea5041e8 - std::panic::catch_unwind::h362f73cc48531e26 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e4aea5041e8 - test::run_test_in_process::hf52fd21d696aae67 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5e4aea5041e8 - test::run_test::{{closure}}::h7e780b8354e6d007 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5e4aea4dcfb4 - test::run_test::{{closure}}::hdc2695f2276aad3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5e4aea4dcfb4 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5e4aea4e08ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5e4aea4e08ea - as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5e4aea4e08ea - std::panicking::catch_unwind::do_call::h495689350c27df20 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5e4aea4e08ea - std::panicking::catch_unwind::hf22437c51d1b3740 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5e4aea4e08ea - std::panic::catch_unwind::habda1a57de8231f8 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5e4aea4e08ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5e4aea4e08ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7a16399af72f - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stdout] 43: 0x7a16399af72f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7a1639749aa4 - [INFO] [stdout] 45: 0x7a16397d6a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] driver_system::tests::show_patch_result [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f2c35da6a5a8c5f86da3f4c52d8207bb4b7288c613664d03cb86953d6ce9e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2c35da6a5a8c5f86da3f4c52d8207bb4b7288c613664d03cb86953d6ce9e57", kill_on_drop: false }` [INFO] [stdout] 4f2c35da6a5a8c5f86da3f4c52d8207bb4b7288c613664d03cb86953d6ce9e57