[INFO] fetching crate cap-sdk 0.2.4... [INFO] testing cap-sdk-0.2.4 against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cap-sdk 0.2.4 on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-kit v0.4.8 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded cap-common v0.2.3 [INFO] [stderr] Downloaded cap-sdk-core v0.2.3 [INFO] [stderr] Downloaded certified-vars v0.1.4 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ic-kit-macros v0.1.0 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded ic-certified-map v0.3.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.6 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15b6706dd99f7a9b2c0cad13135ed0f9153d524077ebe0f763e9674e19fac484 [INFO] running `Command { std: "docker" "start" "-a" "15b6706dd99f7a9b2c0cad13135ed0f9153d524077ebe0f763e9674e19fac484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15b6706dd99f7a9b2c0cad13135ed0f9153d524077ebe0f763e9674e19fac484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b6706dd99f7a9b2c0cad13135ed0f9153d524077ebe0f763e9674e19fac484", kill_on_drop: false }` [INFO] [stdout] 15b6706dd99f7a9b2c0cad13135ed0f9153d524077ebe0f763e9674e19fac484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05d93cc096c695e70c582f1c3f771312531bc9a6be39011d2dcdd5c8ed1f2997 [INFO] running `Command { std: "docker" "start" "-a" "05d93cc096c695e70c582f1c3f771312531bc9a6be39011d2dcdd5c8ed1f2997", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling polling v2.5.2 [INFO] [stderr] Compiling async-lock v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling toml_edit v0.18.0 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling serde_bytes v0.11.8 [INFO] [stderr] Compiling ic-types v0.5.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-certified-map v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling serde_tokenstream v0.1.6 [INFO] [stderr] Compiling ic-kit-macros v0.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.9 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling num_enum v0.5.9 [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: 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.88s [INFO] running `Command { std: "docker" "inspect" "05d93cc096c695e70c582f1c3f771312531bc9a6be39011d2dcdd5c8ed1f2997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d93cc096c695e70c582f1c3f771312531bc9a6be39011d2dcdd5c8ed1f2997", kill_on_drop: false }` [INFO] [stdout] 05d93cc096c695e70c582f1c3f771312531bc9a6be39011d2dcdd5c8ed1f2997 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6670b99c737b99b6f4c96c5fdd7a5873d55a2968540115b9015f56618abf745a [INFO] running `Command { std: "docker" "start" "-a" "6670b99c737b99b6f4c96c5fdd7a5873d55a2968540115b9015f56618abf745a", kill_on_drop: false }` [INFO] [stderr] Compiling cap-sdk v0.2.4 (/opt/rustwide/workdir) [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "6670b99c737b99b6f4c96c5fdd7a5873d55a2968540115b9015f56618abf745a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6670b99c737b99b6f4c96c5fdd7a5873d55a2968540115b9015f56618abf745a", kill_on_drop: false }` [INFO] [stdout] 6670b99c737b99b6f4c96c5fdd7a5873d55a2968540115b9015f56618abf745a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05ee40f88951d285a8b0360d84c123c45d6609d5b59ae1545e21b9290c13c742 [INFO] running `Command { std: "docker" "start" "-a" "05ee40f88951d285a8b0360d84c123c45d6609d5b59ae1545e21b9290c13c742", kill_on_drop: false }` [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 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/cap_sdk-27e8a0c47adfde53) [INFO] [stdout] [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" "05ee40f88951d285a8b0360d84c123c45d6609d5b59ae1545e21b9290c13c742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ee40f88951d285a8b0360d84c123c45d6609d5b59ae1545e21b9290c13c742", kill_on_drop: false }` [INFO] [stdout] 05ee40f88951d285a8b0360d84c123c45d6609d5b59ae1545e21b9290c13c742