[INFO] fetching crate pink-extension-macro 0.4.4...
[INFO] testing pink-extension-macro-0.4.4 against 1.83.0 for beta-1.84.0-4-retry
[INFO] extracting crate pink-extension-macro 0.4.4 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate pink-extension-macro 0.4.4 on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 44 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d81e0530278e406fe1ce034b24e6af0e4796995bb6689f6ac271c31207aaef34
[INFO] running `Command { std: "docker" "start" "-a" "d81e0530278e406fe1ce034b24e6af0e4796995bb6689f6ac271c31207aaef34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d81e0530278e406fe1ce034b24e6af0e4796995bb6689f6ac271c31207aaef34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d81e0530278e406fe1ce034b24e6af0e4796995bb6689f6ac271c31207aaef34", kill_on_drop: false }`
[INFO] [stdout] d81e0530278e406fe1ce034b24e6af0e4796995bb6689f6ac271c31207aaef34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7774151c4925f07470f19b2dabd2fd8fa67f8e849687c99d90a892ffed8975a7
[INFO] running `Command { std: "docker" "start" "-a" "7774151c4925f07470f19b2dabd2fd8fa67f8e849687c99d90a892ffed8975a7", 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.92
[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 toml_datetime v0.6.8
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling either v1.13.0
[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 generic-array v0.14.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling indexmap v2.7.0
[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 21.98s
[INFO] running `Command { std: "docker" "inspect" "7774151c4925f07470f19b2dabd2fd8fa67f8e849687c99d90a892ffed8975a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7774151c4925f07470f19b2dabd2fd8fa67f8e849687c99d90a892ffed8975a7", kill_on_drop: false }`
[INFO] [stdout] 7774151c4925f07470f19b2dabd2fd8fa67f8e849687c99d90a892ffed8975a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a35adc313d8274b1eb4bd1455fe0571caea6c12dd5dfb0344afc8a53cd466088
[INFO] running `Command { std: "docker" "start" "-a" "a35adc313d8274b1eb4bd1455fe0571caea6c12dd5dfb0344afc8a53cd466088", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling similar v2.6.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.8
[INFO] [stderr]    Compiling insta v1.41.1
[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 7.02s
[INFO] running `Command { std: "docker" "inspect" "a35adc313d8274b1eb4bd1455fe0571caea6c12dd5dfb0344afc8a53cd466088", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a35adc313d8274b1eb4bd1455fe0571caea6c12dd5dfb0344afc8a53cd466088", kill_on_drop: false }`
[INFO] [stdout] a35adc313d8274b1eb4bd1455fe0571caea6c12dd5dfb0344afc8a53cd466088
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 071e85c1922b01b3ce5151d8782e9e2fd1a17ed76d6fa21cc8997827f83ec165
[INFO] running `Command { std: "docker" "start" "-a" "071e85c1922b01b3ce5151d8782e9e2fd1a17ed76d6fa21cc8997827f83ec165", 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.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pink_extension_macro-af31cfd3e7eff2e2)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '1.83.0-x86_64-unknown-linux-gnu'.
[INFO] [stderr] To install, run `rustup component add --toolchain 1.83.0-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] [stderr] error: test failed, to rerun pass `--lib`
[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] 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:     0x7d77a1f17a3a - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x7d77a1f17a3a - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7d77a1f17a3a - std::sys::backtrace::_print_fmt::hc4546b8364a537c6
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x7d77a1f17a3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x7d77a1f67c63 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x7d77a1f67c63 - core::fmt::write::h7550c97b06c86515
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21
[INFO] [stdout]    6:     0x7d77a1f0b3c3 - std::io::Write::write_fmt::h509ff860e5956e5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x7d77a1f17882 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x7d77a1f19e8a - std::panicking::default_hook::{{closure}}::he19d4c7230e07961
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x7d77a1f19c94 - std::panicking::default_hook::hf614597d3c67bbdb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5a0594676579 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39b51ce4599c23d1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5a0594676579 - test::test_main::{{closure}}::he977ae839a582784
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x7d77a1f1a5f8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9455091b6b06f9fb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x7d77a1f1a5f8 - std::panicking::rust_panic_with_hook::h8942133a8b252070
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x7d77a1f1a3ba - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x7d77a1f17f19 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x7d77a1f1a04c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x7d77a1f64070 - core::panicking::panic_fmt::h0c3082644d1bf418
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14
[INFO] [stdout]   18:     0x7d77a1f645f6 - core::result::unwrap_failed::hd20b4aa073bda1e2
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1700:5
[INFO] [stdout]   19:     0x5a059453b116 - core::result::Result<T,E>::unwrap::ha0d586386bbe0c14
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5a059453b116 - pink_extension_macro::driver_system::tests::show_patch_result::h868bed5d0c25d758
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:286:9
[INFO] [stdout]   21:     0x5a0594539db7 - pink_extension_macro::driver_system::tests::show_patch_result::{{closure}}::h6046c3b6324b30c9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/driver_system.rs:268:27
[INFO] [stdout]   22:     0x5a0594537326 - core::ops::function::FnOnce::call_once::he04b04d34ca155a5
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5a059467af3b - core::ops::function::FnOnce::call_once::h109cf8051a59b34e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5a059467af3b - test::__rust_begin_short_backtrace::hf4fff89d377446ba
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x5a059467a777 - test::run_test_in_process::{{closure}}::h0e39181dd7ee5a43
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x5a059467a777 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc5a66a30f0bdfd1f
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5a059467a777 - std::panicking::try::do_call::h873b7cf639554a5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x5a059467a777 - std::panicking::try::hdb19862fad9c8bd1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x5a059467a777 - std::panic::catch_unwind::h281fe732d236d260
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x5a059467a777 - test::run_test_in_process::h949b6df8457ed338
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x5a059467a777 - test::run_test::{{closure}}::h52c556a6d4740e10
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:565:43
[INFO] [stdout]   32:     0x5a059463fa54 - test::run_test::{{closure}}::h4237f6381c45ccb9
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x5a059463fa54 - std::sys::backtrace::__rust_begin_short_backtrace::h505c97a579eca628
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x5a059464311e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e86b2e2bc107ea3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
[INFO] [stdout]   35:     0x5a059464311e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8b06ddb275ff4a25
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5a059464311e - std::panicking::try::do_call::hb26ecd7cd9a9355d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x5a059464311e - std::panicking::try::h8ddeca9d705f9069
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x5a059464311e - std::panic::catch_unwind::h49e1c33078844c46
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x5a059464311e - std::thread::Builder::spawn_unchecked_::{{closure}}::h6073db6ff56ad35d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
[INFO] [stdout]   40:     0x5a059464311e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c5a5f3779c774f1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x7d77a1f240ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf75717d9f28faebf
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   42:     0x7d77a1f240ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7bd883a5f3c5f3c1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x7d77a1f240ab - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x7d77a1b99ac3 - <unknown>
[INFO] [stdout]   45:     0x7d77a1c2aa04 - 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.79s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "071e85c1922b01b3ce5151d8782e9e2fd1a17ed76d6fa21cc8997827f83ec165", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "071e85c1922b01b3ce5151d8782e9e2fd1a17ed76d6fa21cc8997827f83ec165", kill_on_drop: false }`
[INFO] [stdout] 071e85c1922b01b3ce5151d8782e9e2fd1a17ed76d6fa21cc8997827f83ec165
