[INFO] fetching crate pink-extension-macro 0.4.4...
[INFO] testing pink-extension-macro-0.4.4 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate pink-extension-macro 0.4.4 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate pink-extension-macro 0.4.4 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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-09-21" "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-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a0a4d45180eb5e4b6b6e2c46dfbc3ab31916787cffc6a7b83748e323070ae08
[INFO] running `Command { std: "docker" "start" "-a" "1a0a4d45180eb5e4b6b6e2c46dfbc3ab31916787cffc6a7b83748e323070ae08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a0a4d45180eb5e4b6b6e2c46dfbc3ab31916787cffc6a7b83748e323070ae08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a0a4d45180eb5e4b6b6e2c46dfbc3ab31916787cffc6a7b83748e323070ae08", kill_on_drop: false }`
[INFO] [stdout] 1a0a4d45180eb5e4b6b6e2c46dfbc3ab31916787cffc6a7b83748e323070ae08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f39904a042601ab5c2d2125b7c3c4ae2d1cf343a8cd91260ecd9ae796dce6af1
[INFO] running `Command { std: "docker" "start" "-a" "f39904a042601ab5c2d2125b7c3c4ae2d1cf343a8cd91260ecd9ae796dce6af1", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling either v1.15.0
[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 indexmap v2.11.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling ink_ir v4.3.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[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 6.17s
[INFO] running `Command { std: "docker" "inspect" "f39904a042601ab5c2d2125b7c3c4ae2d1cf343a8cd91260ecd9ae796dce6af1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f39904a042601ab5c2d2125b7c3c4ae2d1cf343a8cd91260ecd9ae796dce6af1", kill_on_drop: false }`
[INFO] [stdout] f39904a042601ab5c2d2125b7c3c4ae2d1cf343a8cd91260ecd9ae796dce6af1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6a2e01b9881a08f85011c1abc3f816a1718d0b5b4ad580f6323d406e46d6116
[INFO] running `Command { std: "docker" "start" "-a" "a6a2e01b9881a08f85011c1abc3f816a1718d0b5b4ad580f6323d406e46d6116", kill_on_drop: false }`
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling libc v0.2.176
[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 console v0.15.11
[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 5.03s
[INFO] running `Command { std: "docker" "inspect" "a6a2e01b9881a08f85011c1abc3f816a1718d0b5b4ad580f6323d406e46d6116", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6a2e01b9881a08f85011c1abc3f816a1718d0b5b4ad580f6323d406e46d6116", kill_on_drop: false }`
[INFO] [stdout] a6a2e01b9881a08f85011c1abc3f816a1718d0b5b4ad580f6323d406e46d6116
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3ad45bf92eb344ffb1602479499499a65d76182a20602c97f0dd88804b8b5ec6
[INFO] running `Command { std: "docker" "start" "-a" "3ad45bf92eb344ffb1602479499499a65d76182a20602c97f0dd88804b8b5ec6", 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-0e18ac465b2cf559)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'beta-2025-09-21-x86_64-unknown-linux-gnu'.
[INFO] [stderr] To install, run `rustup component add --toolchain beta-2025-09-21-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<AccountId>;
[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<AccountId>;
[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 = <TraitDefinitionRegistry<PinkEnvironment> as System>::__ink_TraitInfo;
[INFO] [stdout]    26       │-    type Forwarder = <TraitInfo as TraitCallForwarder>::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<AccountId>,
[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::<PinkEnvironment>();
[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<AccountId> {
[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::<PinkEnvironment>();
[INFO] [stdout]    92       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]    93       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]    94       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]    95       │-                    let ret = forwarder.get_driver(name);
[INFO] [stdout]    96       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]    97       │-                    ink::env::test::set_caller::<PinkEnvironment>(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::<PinkEnvironment>();
[INFO] [stdout]   121       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]   122       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]   123       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]   124       │-                    let ret = forwarder.set_driver(name, driver);
[INFO] [stdout]   125       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]   126       │-                    ink::env::test::set_caller::<PinkEnvironment>(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::<PinkEnvironment>();
[INFO] [stdout]   150       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]   151       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]   152       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]   153       │-                    let ret = forwarder.deploy_sidevm_to(code_hash, contract_id);
[INFO] [stdout]   154       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]   155       │-                    ink::env::test::set_caller::<PinkEnvironment>(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' (24) 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:     0x713fa6e573e2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x713fa6e573e2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x713fa6e573e2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x713fa6e573e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x713fa6e8835f - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x713fa6e8835f - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x713fa6e08d31 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x713fa6e08d31 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x713fa6e1dd22 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x713fa6e25fea - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x713fa6e25e7c - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5bbaf63d744e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x5bbaf63d744e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x713fa6e2674f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x713fa6e2674f - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x713fa6e264fa - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x713fa6e1de59 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x713fa6df9ddd - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x713fa6e98a00 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x713fa6e97366 - core::result::unwrap_failed::hdde076be853d034f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5
[INFO] [stdout]   20:     0x5bbaf62a5c75 - core::result::Result<T,E>::unwrap::hfb8dc7282037812f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23
[INFO] [stdout]   21:     0x5bbaf62a5c75 - pink_extension_macro::driver_system::tests::show_patch_result::h5be65ad2df9496bf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:286:9
[INFO] [stdout]   22:     0x5bbaf62a5e37 - pink_extension_macro::driver_system::tests::show_patch_result::{{closure}}::hce206e3894498141
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:268:27
[INFO] [stdout]   23:     0x5bbaf62a6bc6 - core::ops::function::FnOnce::call_once::hf4ea98235f38f0cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5bbaf63d720b - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5bbaf63d720b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5bbaf63ece75 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5bbaf63ece75 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5bbaf63ece75 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5bbaf63ece75 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5bbaf63ece75 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5bbaf63ece75 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5bbaf63ece75 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5bbaf63c3664 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5bbaf63c3664 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5bbaf63c6f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5bbaf63c6f2a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5bbaf63c6f2a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5bbaf63c6f2a - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5bbaf63c6f2a - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5bbaf63c6f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5bbaf63c6f2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x713fa6e184df - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   43:     0x713fa6e184df - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   44:     0x713fa6bb3aa4 - <unknown>
[INFO] [stdout]   45:     0x713fa6c40a34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[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 6.81s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "3ad45bf92eb344ffb1602479499499a65d76182a20602c97f0dd88804b8b5ec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ad45bf92eb344ffb1602479499499a65d76182a20602c97f0dd88804b8b5ec6", kill_on_drop: false }`
[INFO] [stdout] 3ad45bf92eb344ffb1602479499499a65d76182a20602c97f0dd88804b8b5ec6
