[INFO] fetching crate cap-sdk 0.2.4... [INFO] checking cap-sdk-0.2.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cap-sdk 0.2.4 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb75b26d71ac1d0b6ec7d89a9eff1eaca03282a4e2c5de0ed451973452028642 [INFO] running `Command { std: "docker" "start" "-a" "eb75b26d71ac1d0b6ec7d89a9eff1eaca03282a4e2c5de0ed451973452028642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb75b26d71ac1d0b6ec7d89a9eff1eaca03282a4e2c5de0ed451973452028642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb75b26d71ac1d0b6ec7d89a9eff1eaca03282a4e2c5de0ed451973452028642", kill_on_drop: false }` [INFO] [stdout] eb75b26d71ac1d0b6ec7d89a9eff1eaca03282a4e2c5de0ed451973452028642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3850c04f91c85e00f4dbb0fa8d0863dddbc4abe13958756fe2c83a3ed764f7d8 [INFO] running `Command { std: "docker" "start" "-a" "3850c04f91c85e00f4dbb0fa8d0863dddbc4abe13958756fe2c83a3ed764f7d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [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 is-terminal v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling rustix v1.1.2 [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 logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [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] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [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 serde v1.0.228 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.2 [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] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking ic-certified-map v0.3.4 [INFO] [stderr] Compiling ic-kit-macros v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [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::() { [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::().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::().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::() { [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::() { [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::() { [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::().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::() { [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: 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::() { [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::().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::().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::() { [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::() { [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::() { [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::().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::() { [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/event/mod.rs:48:87 [INFO] [stdout] | [INFO] [stdout] 48 | fn try_from_event(event: impl Into) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 49 | | let event = event.into(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | Ok(event.details) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/event/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(event.details) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cap-sdk` (lib test) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/event/mod.rs:48:87 [INFO] [stdout] | [INFO] [stdout] 48 | fn try_from_event(event: impl Into) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 49 | | let event = event.into(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | Ok(event.details) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/event/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(event.details) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cap-sdk` (lib) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3850c04f91c85e00f4dbb0fa8d0863dddbc4abe13958756fe2c83a3ed764f7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3850c04f91c85e00f4dbb0fa8d0863dddbc4abe13958756fe2c83a3ed764f7d8", kill_on_drop: false }` [INFO] [stdout] 3850c04f91c85e00f4dbb0fa8d0863dddbc4abe13958756fe2c83a3ed764f7d8