[INFO] fetching crate cap-sdk 0.2.4... [INFO] testing cap-sdk-0.2.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cap-sdk 0.2.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 191 packages to latest compatible versions [INFO] [stderr] Adding candid v0.7.18 (available: v0.10.14) [INFO] [stderr] Adding ic-cdk v0.5.7 (available: v0.18.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cap-sdk-core v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b163718d486de6bfbec7308f028a72268462e9bbd0099aa9a4d622bf82ec975 [INFO] running `Command { std: "docker" "start" "-a" "5b163718d486de6bfbec7308f028a72268462e9bbd0099aa9a4d622bf82ec975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b163718d486de6bfbec7308f028a72268462e9bbd0099aa9a4d622bf82ec975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b163718d486de6bfbec7308f028a72268462e9bbd0099aa9a4d622bf82ec975", kill_on_drop: false }` [INFO] [stdout] 5b163718d486de6bfbec7308f028a72268462e9bbd0099aa9a4d622bf82ec975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cac6be3ab8a4386dfb3396bfd98e795a6ec6b8a3dd1d0c7ff0788da453df9248 [INFO] running `Command { std: "docker" "start" "-a" "cac6be3ab8a4386dfb3396bfd98e795a6ec6b8a3dd1d0c7ff0788da453df9248", kill_on_drop: false }` [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ic-types v0.5.0 [INFO] [stderr] Compiling ic-certified-map v0.3.4 [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] Compiling ic-cdk v0.5.7 [INFO] [stderr] Compiling certified-vars v0.1.4 [INFO] [stderr] Compiling ic-kit v0.4.8 [INFO] [stderr] Compiling cap-common v0.2.3 [INFO] [stderr] Compiling cap-sdk-core v0.2.3 [INFO] [stderr] Compiling 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [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 1` [INFO] running `Command { std: "docker" "inspect" "cac6be3ab8a4386dfb3396bfd98e795a6ec6b8a3dd1d0c7ff0788da453df9248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac6be3ab8a4386dfb3396bfd98e795a6ec6b8a3dd1d0c7ff0788da453df9248", kill_on_drop: false }` [INFO] [stdout] cac6be3ab8a4386dfb3396bfd98e795a6ec6b8a3dd1d0c7ff0788da453df9248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 13ce8ae58785e7043662b3f6d911394182d301f98b4ab7bfb3703fa730a5044d [INFO] running `Command { std: "docker" "start" "-a" "13ce8ae58785e7043662b3f6d911394182d301f98b4ab7bfb3703fa730a5044d", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.49s [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 1` [INFO] running `Command { std: "docker" "inspect" "13ce8ae58785e7043662b3f6d911394182d301f98b4ab7bfb3703fa730a5044d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ce8ae58785e7043662b3f6d911394182d301f98b4ab7bfb3703fa730a5044d", kill_on_drop: false }` [INFO] [stdout] 13ce8ae58785e7043662b3f6d911394182d301f98b4ab7bfb3703fa730a5044d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 94619a46ee40e3eb7ae4a9b3fd74500a0a2664d5b6db0b8366be2f021912c7e8 [INFO] running `Command { std: "docker" "start" "-a" "94619a46ee40e3eb7ae4a9b3fd74500a0a2664d5b6db0b8366be2f021912c7e8", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/transactions/stream.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | for page in (start_page..end_page) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - for page in (start_page..end_page) { [INFO] [stderr] 17 + for page in start_page..end_page { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/transactions/stream.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | for page in (start_page..end_page) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 41 - for page in (start_page..end_page) { [INFO] [stderr] 41 + for page in start_page..end_page { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/env.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stderr] --> src/env.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stderr] --> src/env.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | store(self.clone()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/env.rs:39:29 [INFO] [stderr] | [INFO] [stderr] 39 | if let Some(data) = get_maybe::() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/env.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | get_maybe::().expect("No context created.") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/env.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | get_maybe::().expect("No context created.").clone() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/archive.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use ic_kit::ic::get_maybe; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/archive.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | if let Some(config) = get_maybe::() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/archive.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | if let Some(data) = get_maybe::() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/archive.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | if let Some(env) = get_maybe::() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stderr] --> src/archive.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | ic::store(HandshakeCreatedCanister { id }) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/handshake.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | if ic::get_maybe::().is_none() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stderr] --> src/handshake.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | ic::store(HandshakeConfigs { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/handshake.rs:64:53 [INFO] [stderr] | [INFO] [stderr] 64 | let canister_id = if let Some(backup) = ic::get_maybe::() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stderr] --> src/handshake.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | ic::store(HandshakeCreatedCanister { id: canister_id }); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cap-sdk` (lib test) generated 17 warnings (run `cargo fix --lib -p cap-sdk --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [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 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cap_sdk-5a41f22f575126da) [INFO] [stdout] running 1 test [INFO] [stdout] test transaction::insert::test::insert_ordering ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94619a46ee40e3eb7ae4a9b3fd74500a0a2664d5b6db0b8366be2f021912c7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94619a46ee40e3eb7ae4a9b3fd74500a0a2664d5b6db0b8366be2f021912c7e8", kill_on_drop: false }` [INFO] [stdout] 94619a46ee40e3eb7ae4a9b3fd74500a0a2664d5b6db0b8366be2f021912c7e8