[INFO] fetching crate cap-sdk 0.2.4...
[INFO] testing cap-sdk-0.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[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 c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-kit v0.4.8
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded ic-kit-macros v0.1.0
[INFO] [stderr]   Downloaded cap-sdk-core v0.2.3
[INFO] [stderr]   Downloaded cap-common v0.2.3
[INFO] [stderr]   Downloaded ic-certified-map v0.3.4
[INFO] [stderr]   Downloaded lalrpop-util v0.19.12
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded pretty v0.10.0
[INFO] [stderr]   Downloaded certified-vars v0.1.4
[INFO] [stderr]   Downloaded ic-cdk v0.5.7
[INFO] [stderr]   Downloaded ic-types v0.5.0
[INFO] [stderr]   Downloaded candid v0.7.18
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.7
[INFO] [stderr]   Downloaded candid_derive v0.4.5
[INFO] [stderr]   Downloaded lalrpop v0.19.12
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea8bb28f40aa4029b0f09fcdeff40ab36b7ee70f0a689d232b0cc17cee8a55a4
[INFO] running `Command { std: "docker" "start" "-a" "ea8bb28f40aa4029b0f09fcdeff40ab36b7ee70f0a689d232b0cc17cee8a55a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea8bb28f40aa4029b0f09fcdeff40ab36b7ee70f0a689d232b0cc17cee8a55a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea8bb28f40aa4029b0f09fcdeff40ab36b7ee70f0a689d232b0cc17cee8a55a4", kill_on_drop: false }`
[INFO] [stdout] ea8bb28f40aa4029b0f09fcdeff40ab36b7ee70f0a689d232b0cc17cee8a55a4
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c81bc07d82088d2f390f2572dc1d899e991ef610ffd55cc57c2c65cc81826da5
[INFO] running `Command { std: "docker" "start" "-a" "c81bc07d82088d2f390f2572dc1d899e991ef610ffd55cc57c2c65cc81826da5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling async-std v1.13.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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 v0.5.11
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ic-types v0.5.0
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling ic-certified-map v0.3.4
[INFO] [stderr]    Compiling ic-kit-macros v0.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling candid v0.7.18
[INFO] [stderr]    Compiling ic-cdk v0.5.7
[INFO] [stderr]    Compiling ic-kit v0.4.8
[INFO] [stderr]    Compiling certified-vars v0.1.4
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         for page in (start_page..end_page) {
[INFO] [stdout] 17 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         for page in (start_page..end_page) {
[INFO] [stdout] 41 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/env.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]  --> src/env.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/env.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         store(self.clone());
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if let Some(data) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             get_maybe::<CapEnv>().expect("No context created.")
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         get_maybe::<CapEnv>().expect("No context created.").clone()
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/archive.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ic_kit::ic::get_maybe;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if let Some(config) = get_maybe::<HandshakeConfigs>() {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if let Some(data) = get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if let Some(env) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/archive.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         ic::store(HandshakeCreatedCanister { id })
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if ic::get_maybe::<HandshakeCreatedCanister>().is_none() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     ic::store(HandshakeConfigs {
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let canister_id = if let Some(backup) = ic::get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         ic::store(HandshakeCreatedCanister { id: canister_id });
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 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] running `Command { std: "docker" "inspect" "c81bc07d82088d2f390f2572dc1d899e991ef610ffd55cc57c2c65cc81826da5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c81bc07d82088d2f390f2572dc1d899e991ef610ffd55cc57c2c65cc81826da5", kill_on_drop: false }`
[INFO] [stdout] c81bc07d82088d2f390f2572dc1d899e991ef610ffd55cc57c2c65cc81826da5
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c30a8dfcd61c00534647b73b5f06dc42fa04ab806bc4f6caf87f45f10982c567
[INFO] running `Command { std: "docker" "start" "-a" "c30a8dfcd61c00534647b73b5f06dc42fa04ab806bc4f6caf87f45f10982c567", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         for page in (start_page..end_page) {
[INFO] [stdout] 17 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/transactions/stream.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |         for page in (start_page..end_page) {
[INFO] [stdout]    |                     ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         for page in (start_page..end_page) {
[INFO] [stdout] 41 +         for page in start_page..end_page  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/env.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]  --> src/env.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/env.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         store(self.clone());
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if let Some(data) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             get_maybe::<CapEnv>().expect("No context created.")
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/env.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         get_maybe::<CapEnv>().expect("No context created.").clone()
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]  --> src/archive.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ic_kit::ic::get_maybe;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if let Some(config) = get_maybe::<HandshakeConfigs>() {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if let Some(data) = get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/archive.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if let Some(env) = get_maybe::<CapEnv>() {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/archive.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         ic::store(HandshakeCreatedCanister { id })
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if ic::get_maybe::<HandshakeCreatedCanister>().is_none() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     ic::store(HandshakeConfigs {
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method.
[INFO] [stdout]   --> src/handshake.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let canister_id = if let Some(backup) = ic::get_maybe::<HandshakeCreatedCanister>() {
[INFO] [stdout]    |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method.
[INFO] [stdout]   --> src/handshake.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         ic::store(HandshakeCreatedCanister { id: canister_id });
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.02s
[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" "c30a8dfcd61c00534647b73b5f06dc42fa04ab806bc4f6caf87f45f10982c567", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c30a8dfcd61c00534647b73b5f06dc42fa04ab806bc4f6caf87f45f10982c567", kill_on_drop: false }`
[INFO] [stdout] c30a8dfcd61c00534647b73b5f06dc42fa04ab806bc4f6caf87f45f10982c567
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0c98554193abd40d7248e801340537ecc69c10ffb70b516b29d0bed3898c5d4a
[INFO] running `Command { std: "docker" "start" "-a" "0c98554193abd40d7248e801340537ecc69c10ffb70b516b29d0bed3898c5d4a", 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)]` (part of `#[warn(unused)]`) 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::<CapEnv>() {
[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::<CapEnv>().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::<CapEnv>().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::<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/archive.rs:50:25
[INFO] [stderr]    |
[INFO] [stderr] 50 |     if let Some(data) = get_maybe::<HandshakeCreatedCanister>() {
[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::<CapEnv>() {
[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::<HandshakeCreatedCanister>().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::<HandshakeCreatedCanister>() {
[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.18s
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cap_sdk-08e7e0d4b9fab833)
[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" "0c98554193abd40d7248e801340537ecc69c10ffb70b516b29d0bed3898c5d4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c98554193abd40d7248e801340537ecc69c10ffb70b516b29d0bed3898c5d4a", kill_on_drop: false }`
[INFO] [stdout] 0c98554193abd40d7248e801340537ecc69c10ffb70b516b29d0bed3898c5d4a
