[INFO] fetching crate cap-sdk 0.2.4...
[INFO] checking cap-sdk-0.2.4 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate cap-sdk 0.2.4
[INFO] finished tweaking crates.io crate cap-sdk 0.2.4
[INFO] tweaked toml for crates.io crate cap-sdk 0.2.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cap-sdk 0.2.4 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 171 packages to latest compatible versions
[INFO] [stderr]       Adding candid v0.7.18 (available: v0.10.20)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding ic-cdk v0.5.7 (available: v0.18.7)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-kit-macros v0.1.0
[INFO] [stderr]   Downloaded pretty v0.10.0
[INFO] [stderr]   Downloaded ic-cdk v0.5.7
[INFO] [stderr]   Downloaded ic-kit v0.4.8
[INFO] [stderr]   Downloaded candid_derive v0.4.5
[INFO] [stderr]   Downloaded ic-types v0.5.0
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded ic-certified-map v0.3.4
[INFO] [stderr]   Downloaded certified-vars v0.1.4
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded candid v0.7.18
[INFO] [stderr]   Downloaded cap-common v0.2.3
[INFO] [stderr]   Downloaded cap-sdk-core v0.2.3
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d1667a73f12e208d206eb3861c29fb8ced8775569fdcdcc038f8a8886a141208
[INFO] running `Command { std: "docker" "start" "-a" "d1667a73f12e208d206eb3861c29fb8ced8775569fdcdcc038f8a8886a141208", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1667a73f12e208d206eb3861c29fb8ced8775569fdcdcc038f8a8886a141208", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1667a73f12e208d206eb3861c29fb8ced8775569fdcdcc038f8a8886a141208", kill_on_drop: false }`
[INFO] [stdout] d1667a73f12e208d206eb3861c29fb8ced8775569fdcdcc038f8a8886a141208
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 599540dd3fe1e2bc280ba9022153669f64e6d7d677ad77172f738eac6831f8a1
[INFO] running `Command { std: "docker" "start" "-a" "599540dd3fe1e2bc280ba9022153669f64e6d7d677ad77172f738eac6831f8a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling value-bag v1.11.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]     Checking pretty v0.10.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking num_enum v0.5.11
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking binread v2.2.0
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking async-lock v3.4.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]     Checking ic-types v0.5.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking ic-certified-map v0.3.4
[INFO] [stderr]    Compiling ic-kit-macros v0.1.0
[INFO] [stderr]    Compiling candid v0.7.18
[INFO] [stderr]     Checking ic-cdk v0.5.7
[INFO] [stderr]     Checking certified-vars v0.1.4
[INFO] [stderr]     Checking ic-kit v0.4.8
[INFO] [stderr]     Checking cap-common v0.2.3
[INFO] [stderr]     Checking cap-sdk-core v0.2.3
[INFO] [stderr]     Checking cap-sdk v0.2.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         for page in (start_page..end_page) {
[INFO] [stdout] 17 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         for page in (start_page..end_page) {
[INFO] [stdout] 41 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         for page in (start_page..end_page) {
[INFO] [stdout] 17 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         for page in (start_page..end_page) {
[INFO] [stdout] 41 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/env.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]  --> src/env.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/env.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         store(self.clone());
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if let Some(data) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             get_maybe::<CapEnv>().expect("No context created.")
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         get_maybe::<CapEnv>().expect("No context created.").clone()
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/archive.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ic_kit::ic::get_maybe;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if let Some(config) = get_maybe::<HandshakeConfigs>() {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if let Some(data) = get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if let Some(env) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/archive.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         ic::store(HandshakeCreatedCanister { id })
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if ic::get_maybe::<HandshakeCreatedCanister>().is_none() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     ic::store(HandshakeConfigs {
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let canister_id = if let Some(backup) = ic::get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         ic::store(HandshakeCreatedCanister { id: canister_id });
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/env.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]  --> src/env.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/env.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         store(self.clone());
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if let Some(data) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             get_maybe::<CapEnv>().expect("No context created.")
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         get_maybe::<CapEnv>().expect("No context created.").clone()
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/archive.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ic_kit::ic::get_maybe;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if let Some(config) = get_maybe::<HandshakeConfigs>() {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if let Some(data) = get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if let Some(env) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/archive.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         ic::store(HandshakeCreatedCanister { id })
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if ic::get_maybe::<HandshakeCreatedCanister>().is_none() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     ic::store(HandshakeConfigs {
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let canister_id = if let Some(backup) = ic::get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         ic::store(HandshakeCreatedCanister { id: canister_id });
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cap-sdk-core v0.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "599540dd3fe1e2bc280ba9022153669f64e6d7d677ad77172f738eac6831f8a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "599540dd3fe1e2bc280ba9022153669f64e6d7d677ad77172f738eac6831f8a1", kill_on_drop: false }`
[INFO] [stdout] 599540dd3fe1e2bc280ba9022153669f64e6d7d677ad77172f738eac6831f8a1
