[INFO] fetching crate pink-extension-macro 0.4.4...
[INFO] testing pink-extension-macro-0.4.4 against nightly-2025-01-18 for randomize-layout-2
[INFO] extracting crate pink-extension-macro 0.4.4 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate pink-extension-macro 0.4.4 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 43 packages to latest compatible versions
[INFO] [stderr]       Adding heck v0.4.1 (available: v0.5.0)
[INFO] [stderr]       Adding ink_ir v4.3.0 (available: v5.1.1)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (available: v3.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unzip3 v1.0.0
[INFO] [stderr]   Downloaded ink_ir v4.3.0
[INFO] [stderr]   Downloaded rustfmt-snippet v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 43dfcebfb575b3b953060115e40b0aacca27a514c77701cbafec9ee813f883c8
[INFO] running `Command { std: "docker" "start" "-a" "43dfcebfb575b3b953060115e40b0aacca27a514c77701cbafec9ee813f883c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43dfcebfb575b3b953060115e40b0aacca27a514c77701cbafec9ee813f883c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43dfcebfb575b3b953060115e40b0aacca27a514c77701cbafec9ee813f883c8", kill_on_drop: false }`
[INFO] [stdout] 43dfcebfb575b3b953060115e40b0aacca27a514c77701cbafec9ee813f883c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d68417d8c62238ee54bcae368b829c55ae5124ab76010b94990b0760f02cbb6d
[INFO] running `Command { std: "docker" "start" "-a" "d68417d8c62238ee54bcae368b829c55ae5124ab76010b94990b0760f02cbb6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling unzip3 v1.0.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s
[INFO] running `Command { std: "docker" "inspect" "d68417d8c62238ee54bcae368b829c55ae5124ab76010b94990b0760f02cbb6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d68417d8c62238ee54bcae368b829c55ae5124ab76010b94990b0760f02cbb6d", kill_on_drop: false }`
[INFO] [stdout] d68417d8c62238ee54bcae368b829c55ae5124ab76010b94990b0760f02cbb6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0dcc8d79bf4bf9131c7eb389577bb96e50e314458801a7dd2ffa81640b3c616
[INFO] running `Command { std: "docker" "start" "-a" "c0dcc8d79bf4bf9131c7eb389577bb96e50e314458801a7dd2ffa81640b3c616", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling rustfmt-snippet v0.1.2
[INFO] [stderr]    Compiling pink-extension-macro v0.4.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling console v0.15.10
[INFO] [stderr]    Compiling insta v1.42.0
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.36s
[INFO] running `Command { std: "docker" "inspect" "c0dcc8d79bf4bf9131c7eb389577bb96e50e314458801a7dd2ffa81640b3c616", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0dcc8d79bf4bf9131c7eb389577bb96e50e314458801a7dd2ffa81640b3c616", kill_on_drop: false }`
[INFO] [stdout] c0dcc8d79bf4bf9131c7eb389577bb96e50e314458801a7dd2ffa81640b3c616
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f8233aff1666333cbbb2f87e2c8ab7f33a0c9c39d767d22a9fce50eee25d6856
[INFO] running `Command { std: "docker" "start" "-a" "f8233aff1666333cbbb2f87e2c8ab7f33a0c9c39d767d22a9fce50eee25d6856", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead
[INFO] [stderr]    --> src/driver_system.rs: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 test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pink_extension_macro-d303642c9576bb75)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'nightly-2025-01-18-x86_64-unknown-linux-gnu'.
[INFO] [stderr] To install, run `rustup component add --toolchain nightly-2025-01-18-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]     0       │-#[doc = "**The doc is messed up by the ink macro. See [`SystemForDoc`] for a clean version**\n\n"]
[INFO] [stdout]     1       │-#[ink::trait_definition(namespace = "pink_system")]
[INFO] [stdout]     2       │-pub trait System {
[INFO] [stdout]     3       │-    #[ink(message)]
[INFO] [stdout]     4       │-    fn get_driver(&self, name: String) -> Option<AccountId>;
[INFO] [stdout]     5       │-    #[ink(message)]
[INFO] [stdout]     6       │-    fn set_driver(&self, name: String, driver: AccountId);
[INFO] [stdout]     7       │-    #[ink(message)]
[INFO] [stdout]     8       │-    fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()>;
[INFO] [stdout]     9       │-}
[INFO] [stdout]    10       │-#[cfg(doc)]
[INFO] [stdout]    11       │-#[doc = "**This is the clean version doc of [`System`]**\n\n"]
[INFO] [stdout]    12       │-pub trait SystemForDoc {
[INFO] [stdout]    13       │-    fn get_driver(&self, name: String) -> Option<AccountId>;
[INFO] [stdout]    14       │-    fn set_driver(&self, name: String, driver: AccountId);
[INFO] [stdout]    15       │-    fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()>;
[INFO] [stdout]    16       │-}
[INFO] [stdout]    17       │-pub use _pink_system_impl::SystemRef;
[INFO] [stdout]    18       │-mod _pink_system_impl {
[INFO] [stdout]    19       │-    use super::*;
[INFO] [stdout]    20       │-    use ink::env::call::FromAccountId;
[INFO] [stdout]    21       │-    use ink::env::CallFlags;
[INFO] [stdout]    22       │-    use ink::{codegen::TraitCallForwarder, reflect::TraitDefinitionRegistry};
[INFO] [stdout]    23       │-    use pink_extension::PinkEnvironment;
[INFO] [stdout]    24       │-    type TraitInfo = <TraitDefinitionRegistry<PinkEnvironment> as System>::__ink_TraitInfo;
[INFO] [stdout]    25       │-    type Forwarder = <TraitInfo as TraitCallForwarder>::Forwarder;
[INFO] [stdout]    26       │-    pub enum SystemRef {
[INFO] [stdout]    27       │-        Instance {
[INFO] [stdout]    28       │-            address: AccountId,
[INFO] [stdout]    29       │-            call_flags: CallFlags,
[INFO] [stdout]    30       │-        },
[INFO] [stdout]    31       │-        #[cfg(feature = "std")]
[INFO] [stdout]    32       │-        Mock,
[INFO] [stdout]    33       │-    }
[INFO] [stdout]    34       │-    #[cfg(feature = "std")]
[INFO] [stdout]    35       │-    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]    36       │-    impl SystemRef {
[INFO] [stdout]    37       │-        #[cfg(feature = "std")]
[INFO] [stdout]    38       │-        pub fn mock_with(
[INFO] [stdout]    39       │-            contract: impl System<
[INFO] [stdout]    40       │-                    Env = PinkEnvironment,
[INFO] [stdout]    41       │-                    __ink_TraitInfo = TraitInfo,
[INFO] [stdout]    42       │-                    getDriverOutput = Option<AccountId>,
[INFO] [stdout]    43       │-                    setDriverOutput = (),
[INFO] [stdout]    44       │-                    deploySidevmToOutput = Result<()>,
[INFO] [stdout]    45       │-                > + 'static,
[INFO] [stdout]    46       │-        ) {
[INFO] [stdout]    47       │-            MOCK.with(|x| {
[INFO] [stdout]    48       │-                let callee = ink::env::test::callee::<PinkEnvironment>();
[INFO] [stdout]    49       │-                *x.borrow_mut() = Some((callee, Box::new(contract)));
[INFO] [stdout]    50       │-            });
[INFO] [stdout]    51       │-        }
[INFO] [stdout]    52       │-        pub fn set_call_flags(&mut self, flags: CallFlags) {
[INFO] [stdout]    53       │-            if let Self::Instance { call_flags, .. } = self {
[INFO] [stdout]    54       │-                *call_flags = flags;
[INFO] [stdout]    55       │-            }
[INFO] [stdout]    56       │-        }
[INFO] [stdout]    57       │-        pub fn instance() -> Self {
[INFO] [stdout]    58       │-            Self::instance_with_call_flags(CallFlags::default())
[INFO] [stdout]    59       │-        }
[INFO] [stdout]    60       │-        pub fn instance_with_call_flags(call_flags: CallFlags) -> Self {
[INFO] [stdout]    61       │-            #[cfg(feature = "std")]
[INFO] [stdout]    62       │-            if MOCK.with(|x| x.borrow_mut().is_some()) {
[INFO] [stdout]    63       │-                return Self::Mock;
[INFO] [stdout]    64       │-            }
[INFO] [stdout]    65       │-            Self::Instance {
[INFO] [stdout]    66       │-                address: pink_extension::ext().system_contract_id(),
[INFO] [stdout]    67       │-                call_flags,
[INFO] [stdout]    68       │-            }
[INFO] [stdout]    69       │-        }
[INFO] [stdout]    70       │-    }
[INFO] [stdout]    71       │-    impl SystemRef {
[INFO] [stdout]    72       │-        pub fn get_driver(&self, name: String) -> Option<AccountId> {
[INFO] [stdout]    73       │-            match self {
[INFO] [stdout]    74       │-                SystemRef::Instance {
[INFO] [stdout]    75       │-                    address,
[INFO] [stdout]    76       │-                    call_flags,
[INFO] [stdout]    77       │-                } => {
[INFO] [stdout]    78       │-                    use ink::codegen::TraitCallBuilder;
[INFO] [stdout]    79       │-                    let mut forwarder = Forwarder::from_account_id(*address);
[INFO] [stdout]    80       │-                    forwarder
[INFO] [stdout]    81       │-                        .call()
[INFO] [stdout]    82       │-                        .get_driver(name)
[INFO] [stdout]    83       │-                        .call_flags(call_flags.clone())
[INFO] [stdout]    84       │-                        .invoke()
[INFO] [stdout]    85       │-                }
[INFO] [stdout]    86       │-                #[cfg(feature = "std")]
[INFO] [stdout]    87       │-                SystemRef::Mock => MOCK.with(move |x| {
[INFO] [stdout]    88       │-                    let mut borrow = x.borrow_mut();
[INFO] [stdout]    89       │-                    let (callee, forwarder) = borrow.as_mut().unwrap();
[INFO] [stdout]    90       │-                    let prev_callee = ink::env::test::callee::<PinkEnvironment>();
[INFO] [stdout]    91       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]    92       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]    93       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]    94       │-                    let ret = forwarder.get_driver(name);
[INFO] [stdout]    95       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]    96       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_caller);
[INFO] [stdout]    97       │-                    ret
[INFO] [stdout]    98       │-                }),
[INFO] [stdout]    99       │-            }
[INFO] [stdout]   100       │-        }
[INFO] [stdout]   101       │-        pub fn set_driver(&self, name: String, driver: AccountId) {
[INFO] [stdout]   102       │-            match self {
[INFO] [stdout]   103       │-                SystemRef::Instance {
[INFO] [stdout]   104       │-                    address,
[INFO] [stdout]   105       │-                    call_flags,
[INFO] [stdout]   106       │-                } => {
[INFO] [stdout]   107       │-                    use ink::codegen::TraitCallBuilder;
[INFO] [stdout]   108       │-                    let mut forwarder = Forwarder::from_account_id(*address);
[INFO] [stdout]   109       │-                    forwarder
[INFO] [stdout]   110       │-                        .call()
[INFO] [stdout]   111       │-                        .set_driver(name, driver)
[INFO] [stdout]   112       │-                        .call_flags(call_flags.clone())
[INFO] [stdout]   113       │-                        .invoke()
[INFO] [stdout]   114       │-                }
[INFO] [stdout]   115       │-                #[cfg(feature = "std")]
[INFO] [stdout]   116       │-                SystemRef::Mock => MOCK.with(move |x| {
[INFO] [stdout]   117       │-                    let mut borrow = x.borrow_mut();
[INFO] [stdout]   118       │-                    let (callee, forwarder) = borrow.as_mut().unwrap();
[INFO] [stdout]   119       │-                    let prev_callee = ink::env::test::callee::<PinkEnvironment>();
[INFO] [stdout]   120       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]   121       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]   122       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]   123       │-                    let ret = forwarder.set_driver(name, driver);
[INFO] [stdout]   124       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]   125       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_caller);
[INFO] [stdout]   126       │-                    ret
[INFO] [stdout]   127       │-                }),
[INFO] [stdout]   128       │-            }
[INFO] [stdout]   129       │-        }
[INFO] [stdout]   130       │-        pub fn deploy_sidevm_to(&self, code_hash: Hash, contract_id: AccountId) -> Result<()> {
[INFO] [stdout]   131       │-            match self {
[INFO] [stdout]   132       │-                SystemRef::Instance {
[INFO] [stdout]   133       │-                    address,
[INFO] [stdout]   134       │-                    call_flags,
[INFO] [stdout]   135       │-                } => {
[INFO] [stdout]   136       │-                    use ink::codegen::TraitCallBuilder;
[INFO] [stdout]   137       │-                    let mut forwarder = Forwarder::from_account_id(*address);
[INFO] [stdout]   138       │-                    forwarder
[INFO] [stdout]   139       │-                        .call()
[INFO] [stdout]   140       │-                        .deploy_sidevm_to(code_hash, contract_id)
[INFO] [stdout]   141       │-                        .call_flags(call_flags.clone())
[INFO] [stdout]   142       │-                        .invoke()
[INFO] [stdout]   143       │-                }
[INFO] [stdout]   144       │-                #[cfg(feature = "std")]
[INFO] [stdout]   145       │-                SystemRef::Mock => MOCK.with(move |x| {
[INFO] [stdout]   146       │-                    let mut borrow = x.borrow_mut();
[INFO] [stdout]   147       │-                    let (callee, forwarder) = borrow.as_mut().unwrap();
[INFO] [stdout]   148       │-                    let prev_callee = ink::env::test::callee::<PinkEnvironment>();
[INFO] [stdout]   149       │-                    let prev_caller = ink::env::caller::<PinkEnvironment>();
[INFO] [stdout]   150       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_callee.clone());
[INFO] [stdout]   151       │-                    ink::env::test::set_callee::<PinkEnvironment>(callee.clone());
[INFO] [stdout]   152       │-                    let ret = forwarder.deploy_sidevm_to(code_hash, contract_id);
[INFO] [stdout]   153       │-                    ink::env::test::set_callee::<PinkEnvironment>(prev_callee);
[INFO] [stdout]   154       │-                    ink::env::test::set_caller::<PinkEnvironment>(prev_caller);
[INFO] [stdout]   155       │-                    ret
[INFO] [stdout]   156       │-                }),
[INFO] [stdout]   157       │-            }
[INFO] [stdout]   158       │-        }
[INFO] [stdout]   159       │-    }
[INFO] [stdout]   160       │-}
[INFO] [stdout] ────────────┴───────────────────────────────────────────────────────────────────
[INFO] [stdout] 
[INFO] [stdout] thread 'driver_system::tests::show_patch_result' 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:     0x7a6d919c784a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x7a6d919c784a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7a6d919c784a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x7a6d919c784a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x7a6d91a196b3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x7a6d91a196b3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x7a6d919bb353 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x7a6d919c7692 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x7a6d919c9c5f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x7a6d919c9a78 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x5f1f5b3ed363 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x5f1f5b3ed363 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x7a6d919ca7c3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x7a6d919ca7c3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x7a6d919ca47a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x7a6d919c7d49 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x7a6d919ca10d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x7a6d91a15780 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x7a6d91a15cf6 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stdout]   19:     0x5f1f5b2a6286 - core::result::Result<T,E>::unwrap::h7c95108a1fd56afc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1109:23
[INFO] [stdout]   20:     0x5f1f5b2a6286 - pink_extension_macro::driver_system::tests::show_patch_result::ha5eacf7482a3a0f8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:286:9
[INFO] [stdout]   21:     0x5f1f5b2a4f27 - pink_extension_macro::driver_system::tests::show_patch_result::{{closure}}::h9c1bf534c8f0bd80
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:268:27
[INFO] [stdout]   22:     0x5f1f5b2a2746 - core::ops::function::FnOnce::call_once::hed02431ee0c37349
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5f1f5b3f2abb - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f1f5b3f2abb - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x5f1f5b3f19f3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x5f1f5b3f19f3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5f1f5b3f19f3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x5f1f5b3f19f3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x5f1f5b3f19f3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x5f1f5b3f19f3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x5f1f5b3f19f3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x5f1f5b3b4ad5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x5f1f5b3b4ad5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5f1f5b3b83ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5f1f5b3b83ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5f1f5b3b83ba - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x5f1f5b3b83ba - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x5f1f5b3b83ba - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x5f1f5b3b83ba - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5f1f5b3b83ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x7a6d919d489b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x7a6d919d489b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x7a6d919d489b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x7a6d91642ac3 - <unknown>
[INFO] [stdout]   45:     0x7a6d916d3a04 - 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 2.40s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "f8233aff1666333cbbb2f87e2c8ab7f33a0c9c39d767d22a9fce50eee25d6856", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8233aff1666333cbbb2f87e2c8ab7f33a0c9c39d767d22a9fce50eee25d6856", kill_on_drop: false }`
[INFO] [stdout] f8233aff1666333cbbb2f87e2c8ab7f33a0c9c39d767d22a9fce50eee25d6856
