[INFO] fetching crate bity-ic-utils 0.2.0... [INFO] testing bity-ic-utils-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bity-ic-utils 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bity-ic-utils 0.2.0 [INFO] finished tweaking crates.io crate bity-ic-utils 0.2.0 [INFO] tweaked toml for crates.io crate bity-ic-utils 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-utils 0.2.0 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] crate crates.io crate bity-ic-utils 0.2.0 already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.8 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded ic0 v0.25.1 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.0 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.3 [INFO] [stderr] Downloaded ic-cdk v0.18.3 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded bity-ic-stable-memory v0.2.0 [INFO] [stderr] Downloaded bity-ic-types v0.1.0 [INFO] [stderr] Downloaded bity-ic-canister-time v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 74aa77aff5a42d2684db85b0b9e0debc338f07eb9cac2a6386e9a5b0d39ed2f5 [INFO] running `Command { std: "docker" "start" "-a" "74aa77aff5a42d2684db85b0b9e0debc338f07eb9cac2a6386e9a5b0d39ed2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74aa77aff5a42d2684db85b0b9e0debc338f07eb9cac2a6386e9a5b0d39ed2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74aa77aff5a42d2684db85b0b9e0debc338f07eb9cac2a6386e9a5b0d39ed2f5", kill_on_drop: false }` [INFO] [stdout] 74aa77aff5a42d2684db85b0b9e0debc338f07eb9cac2a6386e9a5b0d39ed2f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0bf94f3bebdd24f1ecea582ebcee39cf020d97d9a1dd108af1db435ee2273f6e [INFO] running `Command { std: "docker" "start" "-a" "0bf94f3bebdd24f1ecea582ebcee39cf020d97d9a1dd108af1db435ee2273f6e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.8 [INFO] [stderr] Compiling ic-cdk-macros v0.18.3 [INFO] [stderr] Compiling ic-cdk v0.18.3 [INFO] [stderr] Compiling bity-ic-types v0.1.0 [INFO] [stderr] Compiling ic-cdk-timers v0.12.0 [INFO] [stderr] Compiling bity-ic-stable-memory v0.2.0 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.0 [INFO] [stderr] Compiling bity-ic-utils v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ic_cdk::api::management_canister`: The `api::management_canister` module is deprecated. Please use the `management_canister` and `bitcoin_canister` modules at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::main::CanisterIdRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn deposit_cycles(canister_id: CanisterId, amount: Cycles) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::deposit_cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::api::management_canister::main::raw_rand; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | match raw_rand().await { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let as_u64: Result = res.0.cycles.0.try_into(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.18s [INFO] running `Command { std: "docker" "inspect" "0bf94f3bebdd24f1ecea582ebcee39cf020d97d9a1dd108af1db435ee2273f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf94f3bebdd24f1ecea582ebcee39cf020d97d9a1dd108af1db435ee2273f6e", kill_on_drop: false }` [INFO] [stdout] 0bf94f3bebdd24f1ecea582ebcee39cf020d97d9a1dd108af1db435ee2273f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b23203838fff2e94e40fd62662c112eb2b9f54690a1945cb96e17f361853819a [INFO] running `Command { std: "docker" "start" "-a" "b23203838fff2e94e40fd62662c112eb2b9f54690a1945cb96e17f361853819a", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ic_cdk::api::management_canister`: The `api::management_canister` module is deprecated. Please use the `management_canister` and `bitcoin_canister` modules at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::main::CanisterIdRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bity-ic-utils v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn deposit_cycles(canister_id: CanisterId, amount: Cycles) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::deposit_cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::api::management_canister::main::raw_rand; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | match raw_rand().await { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let as_u64: Result = res.0.cycles.0.try_into(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ic_cdk::api::management_canister`: The `api::management_canister` module is deprecated. Please use the `management_canister` and `bitcoin_canister` modules at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::api::management_canister::main::CanisterIdRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/canister/deposit_cycles.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn deposit_cycles(canister_id: CanisterId, amount: Cycles) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::deposit_cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::api::management_canister::main::raw_rand; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/rand.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | match raw_rand().await { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/canister/deposit_cycles.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let as_u64: Result = res.0.cycles.0.try_into(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "b23203838fff2e94e40fd62662c112eb2b9f54690a1945cb96e17f361853819a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23203838fff2e94e40fd62662c112eb2b9f54690a1945cb96e17f361853819a", kill_on_drop: false }` [INFO] [stdout] b23203838fff2e94e40fd62662c112eb2b9f54690a1945cb96e17f361853819a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 65ea0a67d379d709d3f874a18b11416926ad54685815438b8c9c06e251924878 [INFO] running `Command { std: "docker" "start" "-a" "65ea0a67d379d709d3f874a18b11416926ad54685815438b8c9c06e251924878", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/canister/deposit_cycles.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::CallResult; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `ic_cdk::api::management_canister`: The `api::management_canister` module is deprecated. Please use the `management_canister` and `bitcoin_canister` modules at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use ic_cdk::api::management_canister; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:4:45 [INFO] [stderr] | [INFO] [stderr] 4 | use ic_cdk::api::management_canister::main::CanisterIdRecord; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/canister/deposit_cycles.rs:7:73 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn deposit_cycles(canister_id: CanisterId, amount: Cycles) -> CallResult<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::deposit_cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:9:36 [INFO] [stderr] | [INFO] [stderr] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:30:51 [INFO] [stderr] | [INFO] [stderr] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:30:67 [INFO] [stderr] | [INFO] [stderr] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/rand.rs:1:45 [INFO] [stderr] | [INFO] [stderr] 1 | use ic_cdk::api::management_canister::main::raw_rand; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::raw_rand`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/rand.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | match raw_rand().await { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:9:70 [INFO] [stderr] | [INFO] [stderr] 9 | management_canister::main::deposit_cycles(CanisterIdRecord { canister_id }, amount.into()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:30:86 [INFO] [stderr] | [INFO] [stderr] 30 | match ic_cdk::api::management_canister::main::canister_status(CanisterIdRecord { canister_id }) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::cycles`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/canister/deposit_cycles.rs:34:42 [INFO] [stderr] | [INFO] [stderr] 34 | let as_u64: Result = res.0.cycles.0.try_into(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bity-ic-utils` (lib) generated 13 warnings [INFO] [stderr] warning: `bity-ic-utils` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bity_ic_utils-37be31124c81becc) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test principal::tests::test_validate_principal_dot_account_invalid_format ... ok [INFO] [stdout] test principal::tests::test_validate_principal_dot_account_with_checksum ... ok [INFO] [stdout] test retry_async::tests::test_retry_async_works_correctly ... ok [INFO] [stdout] test principal::tests::test_validate_principal_dot_account_short_account_id ... ok [INFO] [stdout] test principal::tests::test_validate_principal_dot_account_without_checksum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65ea0a67d379d709d3f874a18b11416926ad54685815438b8c9c06e251924878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ea0a67d379d709d3f874a18b11416926ad54685815438b8c9c06e251924878", kill_on_drop: false }` [INFO] [stdout] 65ea0a67d379d709d3f874a18b11416926ad54685815438b8c9c06e251924878