[INFO] fetching crate cap-sdk 0.2.4...
[INFO] checking cap-sdk-0.2.4 against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cap-sdk 0.2.4 on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 170 packages to latest compatible versions
[INFO] [stderr]       Adding candid v0.7.18 (available: v0.10.27)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding ic-cdk v0.5.7 (available: v0.20.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.7
[INFO] [stderr]   Downloaded ic-kit-macros v0.1.0
[INFO] [stderr]   Downloaded ic-cdk v0.5.7
[INFO] [stderr]   Downloaded ic-kit v0.4.8
[INFO] [stderr]   Downloaded candid v0.7.18
[INFO] [stderr]   Downloaded certified-vars v0.1.4
[INFO] [stderr]   Downloaded candid_derive v0.4.5
[INFO] [stderr]   Downloaded cap-common v0.2.3
[INFO] [stderr]   Downloaded cap-sdk-core v0.2.3
[INFO] [stderr]   Downloaded ic-certified-map v0.3.4
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded typed-arena v2.0.2
[INFO] [stderr]   Downloaded ic-types v0.5.0
[INFO] [stderr]   Downloaded half v1.8.3
[INFO] [stderr]   Downloaded serde_cbor v0.11.2
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded ena v0.14.4
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded arrayvec v0.5.2
[INFO] [stderr]   Downloaded pretty v0.10.0
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded num_enum_derive v0.5.11
[INFO] [stderr]   Downloaded num_enum v0.5.11
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded lalrpop v0.19.12
[INFO] [stderr]   Downloaded lalrpop-util v0.19.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 35f126b37b427200294861c778eb29ebe035823a7586f56c1cadbae191a617f5
[INFO] running `Command { std: "docker" "start" "-a" "35f126b37b427200294861c778eb29ebe035823a7586f56c1cadbae191a617f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35f126b37b427200294861c778eb29ebe035823a7586f56c1cadbae191a617f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35f126b37b427200294861c778eb29ebe035823a7586f56c1cadbae191a617f5", kill_on_drop: false }`
[INFO] [stdout] 35f126b37b427200294861c778eb29ebe035823a7586f56c1cadbae191a617f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dff77b1b9c26a744b4482caade12c386b60486d60f0ef56e8928bea78023a56f
[INFO] running `Command { std: "docker" "start" "-a" "dff77b1b9c26a744b4482caade12c386b60486d60f0ef56e8928bea78023a56f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling value-bag v1.12.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[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]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking pretty v0.10.0
[INFO] [stderr]     Checking piper v0.2.5
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking num_enum v0.5.11
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking binread v2.2.0
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]     Checking async-lock v3.4.2
[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 digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ic-types v0.5.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking ic-certified-map v0.3.4
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[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 ic-kit v0.4.8
[INFO] [stderr]     Checking certified-vars v0.1.4
[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: 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: 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/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 19s
[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 7`
[INFO] running `Command { std: "docker" "inspect" "dff77b1b9c26a744b4482caade12c386b60486d60f0ef56e8928bea78023a56f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dff77b1b9c26a744b4482caade12c386b60486d60f0ef56e8928bea78023a56f", kill_on_drop: false }`
[INFO] [stdout] dff77b1b9c26a744b4482caade12c386b60486d60f0ef56e8928bea78023a56f
