[INFO] fetching crate junobuild-shared 0.2.2... [INFO] checking junobuild-shared-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate junobuild-shared 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate junobuild-shared 0.2.2 [INFO] finished tweaking crates.io crate junobuild-shared 0.2.2 [INFO] tweaked toml for crates.io crate junobuild-shared 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate junobuild-shared 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate junobuild-shared 0.2.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-ledger-types v0.15.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded ic-stable-structures v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8905558106a0244f50ee9f4873f8eded789ea4fa67a57c1aeca8e0dfc8295f22 [INFO] running `Command { std: "docker" "start" "-a" "8905558106a0244f50ee9f4873f8eded789ea4fa67a57c1aeca8e0dfc8295f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8905558106a0244f50ee9f4873f8eded789ea4fa67a57c1aeca8e0dfc8295f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8905558106a0244f50ee9f4873f8eded789ea4fa67a57c1aeca8e0dfc8295f22", kill_on_drop: false }` [INFO] [stdout] 8905558106a0244f50ee9f4873f8eded789ea4fa67a57c1aeca8e0dfc8295f22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd79ad36d5155c32200ca5b820cf6cbdcb173994a3bddda3f464cad74a15447a [INFO] running `Command { std: "docker" "start" "-a" "bd79ad36d5155c32200ca5b820cf6cbdcb173994a3bddda3f464cad74a15447a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex-automata v0.4.9 [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.56 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking ic-stable-structures v0.7.0 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Checking icrc-cbor v0.1.0 [INFO] [stderr] Checking icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Checking ic-cdk v0.18.5 [INFO] [stderr] Checking ic-ledger-types v0.15.0 [INFO] [stderr] Checking junobuild-shared v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::arch::wasm32` [INFO] [stdout] --> src/canister.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::wasm32::memory_size as wasm_memory_size; [INFO] [stdout] | ^^^^^^ could not find `wasm32` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::wasm32` [INFO] [stdout] --> src/canister.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::wasm32::memory_size as wasm_memory_size; [INFO] [stdout] | ^^^^^^ could not find `wasm32` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::stable::stable_size`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::stable::{stable_size, WASM_PAGE_SIZE_IN_BYTES}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::stable::{stable_size, WASM_PAGE_SIZE_IN_BYTES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | heap: wasm_memory_size(0) as u64 * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::stable::stable_size`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | stable: stable_size() * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | stable: stable_size() * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/controllers.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use ic_cdk::id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/controllers.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | let itself = id(); [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/ledger/icp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | CallResult as DeprecatedCallResult, RejectionCode as DeprecatedRejectionCode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::call::RejectionCode`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | CallResult as DeprecatedCallResult, RejectionCode as DeprecatedRejectionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icp.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use ic_cdk::call; [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/ledger/icp.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> DeprecatedCallResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::call::RejectionCode::CanisterReject`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:222:57 [INFO] [stdout] | [INFO] [stdout] 222 | .map_err(|err: Error| (DeprecatedRejectionCode::CanisterReject, err.to_string()))?; [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/ledger/icp.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | .collect::>>()?; [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/ledger/icp.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | type FromArchiveResult = DeprecatedCallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icp.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | call(func.principal, &func.method, (args,)).await; [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/ledger/icp.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let response: DeprecatedCallResult<(GetBlocksResult,)> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::call::RejectionCode::Unknown`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:250:50 [INFO] [stdout] | [INFO] [stdout] 250 | DeprecatedRejectionCode::Unknown, [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/ledger/icrc.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icrc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::call; [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/ledger/icrc.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icrc.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let (result,) = call(ledger_id, "icrc1_transfer", (args,)).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use ic_cdk::api::call::{call_with_payment128, CallResult}; [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/mgmt/cmc.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | use ic_cdk::api::call::{call_with_payment128, CallResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterInstallMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterInstallMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn top_up_canister(canister_id: &CanisterId, amount: &Tokens) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | call(cmc, "notify_top_up", (args,)).await; [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/mgmt/cmc.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let result: CallResult<(Result,)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | let result: CallResult<(CreateCanisterResult,)> = call_with_payment128( [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/mgmt/cmc.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let result: CallResult<(CreateCanisterResult,)> = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Install`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:108:78 [INFO] [stdout] | [INFO] [stdout] 108 | install_code(canister_id, wasm_arg, CanisterInstallMode::Install).await; [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/mgmt/ic.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::canister_balance128`: Use `canister_cycle_balance` instead [INFO] [stdout] --> src/mgmt/ic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk::api::canister_balance128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::create_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::delete_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [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/mgmt/ic.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::install_code`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::stop_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::update_settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [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/mgmt/ic.rs:14:82 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CreateCanisterArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::InstallCodeArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::UpdateSettingsArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | UpdateSettingsArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::create_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let record = create_canister( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CreateCanisterArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | CreateCanisterArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Install`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:50:84 [INFO] [stdout] | [INFO] [stdout] 50 | let install = install_code(canister_id, wasm_arg, CanisterInstallMode::Install).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | mode: CanisterInstallMode, [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/mgmt/ic.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::InstallCodeArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let arg = InstallCodeArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::install_code`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ic_install_code(arg).await [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/mgmt/ic.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::UpdateSettingsArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let arg = UpdateSettingsArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | settings: CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::update_settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | update_settings(arg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::canister_balance128`: Use `canister_cycle_balance` instead [INFO] [stdout] --> src/mgmt/ic.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let balance = canister_balance128(); [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/mgmt/ic.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | let result = ic_deposit_cycles( [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/mgmt/ic.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | CanisterIdRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn stop_segment(canister_id: CanisterId) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::stop_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).await; [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/mgmt/ic.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | pub async fn delete_segment(canister_id: CanisterId) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::delete_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [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/mgmt/ic.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_cdk::api::management_canister::main::CanisterSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Some(CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterSettings}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterSettings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub type CreateCanisterResult = Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub settings: Option, [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/random.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/random.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/random.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | call(Principal::management_canister(), "raw_rand", ()).await; [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/random.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let result: CallResult<([u8; 32],)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterStatusType`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/types.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::api::management_canister::main::CanisterStatusType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterStatusType`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/types.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub status: CanisterStatusType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `types::state::SegmentCanisterSettings` [INFO] [stdout] --> src/types.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub settings: SegmentCanisterSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `types::state::SegmentCanisterSettings` [INFO] [stdout] --> src/types.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SegmentCanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::stable::stable_size`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::stable::{stable_size, WASM_PAGE_SIZE_IN_BYTES}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::stable::{stable_size, WASM_PAGE_SIZE_IN_BYTES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | heap: wasm_memory_size(0) as u64 * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::stable::stable_size`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | stable: stable_size() * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `ic_cdk::api::stable::WASM_PAGE_SIZE_IN_BYTES`: The `api::stable` module has been moved to `stable` (crate root). [INFO] [stdout] --> src/canister.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | stable: stable_size() * WASM_PAGE_SIZE_IN_BYTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/controllers.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use ic_cdk::id; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/controllers.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | let itself = id(); [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/ledger/icp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | CallResult as DeprecatedCallResult, RejectionCode as DeprecatedRejectionCode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::call::RejectionCode`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | CallResult as DeprecatedCallResult, RejectionCode as DeprecatedRejectionCode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icp.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use ic_cdk::call; [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/ledger/icp.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> DeprecatedCallResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::call::RejectionCode::CanisterReject`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:222:57 [INFO] [stdout] | [INFO] [stdout] 222 | .map_err(|err: Error| (DeprecatedRejectionCode::CanisterReject, err.to_string()))?; [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/ledger/icp.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | .collect::>>()?; [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/ledger/icp.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | type FromArchiveResult = DeprecatedCallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icp.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | call(func.principal, &func.method, (args,)).await; [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/ledger/icp.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let response: DeprecatedCallResult<(GetBlocksResult,)> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::call::RejectionCode::Unknown`: Please use `ic_cdk::call::RejectCode` instead. [INFO] [stdout] --> src/ledger/icp.rs:250:50 [INFO] [stdout] | [INFO] [stdout] 250 | DeprecatedRejectionCode::Unknown, [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/ledger/icrc.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icrc.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_cdk::call; [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/ledger/icrc.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> CallResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ledger/icrc.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let (result,) = call(ledger_id, "icrc1_transfer", (args,)).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use ic_cdk::api::call::{call_with_payment128, CallResult}; [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/mgmt/cmc.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | use ic_cdk::api::call::{call_with_payment128, CallResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterInstallMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterInstallMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn top_up_canister(canister_id: &CanisterId, amount: &Tokens) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | call(cmc, "notify_top_up", (args,)).await; [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/mgmt/cmc.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let result: CallResult<(Result,)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/mgmt/cmc.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | let result: CallResult<(CreateCanisterResult,)> = call_with_payment128( [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/mgmt/cmc.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let result: CallResult<(CreateCanisterResult,)> = call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Install`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/cmc.rs:108:78 [INFO] [stdout] | [INFO] [stdout] 108 | install_code(canister_id, wasm_arg, CanisterInstallMode::Install).await; [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/mgmt/ic.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::canister_balance128`: Use `canister_cycle_balance` instead [INFO] [stdout] --> src/mgmt/ic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk::api::canister_balance128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::create_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::delete_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [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/mgmt/ic.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | create_canister, delete_canister, deposit_cycles as ic_deposit_cycles, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::install_code`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::stop_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::update_settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [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/mgmt/ic.rs:14:82 [INFO] [stdout] | [INFO] [stdout] 14 | install_code as ic_install_code, stop_canister, update_settings, CanisterId, CanisterIdRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CreateCanisterArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::InstallCodeArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | CanisterInstallMode, CanisterSettings, CreateCanisterArgument, InstallCodeArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::UpdateSettingsArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | UpdateSettingsArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::create_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let record = create_canister( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CreateCanisterArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | CreateCanisterArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Install`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:50:84 [INFO] [stdout] | [INFO] [stdout] 50 | let install = install_code(canister_id, wasm_arg, CanisterInstallMode::Install).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterInstallMode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | mode: CanisterInstallMode, [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/mgmt/ic.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::InstallCodeArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let arg = InstallCodeArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::install_code`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ic_install_code(arg).await [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/mgmt/ic.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::UpdateSettingsArgument`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let arg = UpdateSettingsArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | settings: CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::update_settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | update_settings(arg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::canister_balance128`: Use `canister_cycle_balance` instead [INFO] [stdout] --> src/mgmt/ic.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let balance = canister_balance128(); [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/mgmt/ic.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | let result = ic_deposit_cycles( [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/mgmt/ic.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | CanisterIdRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn stop_segment(canister_id: CanisterId) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::stop_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).await; [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/mgmt/ic.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | pub async fn delete_segment(canister_id: CanisterId) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::delete_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [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/mgmt/ic.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_cdk::api::management_canister::main::CanisterSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Some(CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterSettings}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::api::management_canister::main::{CanisterId, CanisterSettings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::management_canister::main::CanisterId`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub type CreateCanisterResult = Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterSettings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/types.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub settings: Option, [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/random.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/random.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/random.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | call(Principal::management_canister(), "raw_rand", ()).await; [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/random.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let result: CallResult<([u8; 32],)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterStatusType`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/types.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::api::management_canister::main::CanisterStatusType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::CanisterStatusType`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/types.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub status: CanisterStatusType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `types::state::SegmentCanisterSettings` [INFO] [stdout] --> src/types.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub settings: SegmentCanisterSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `types::state::SegmentCanisterSettings` [INFO] [stdout] --> src/types.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SegmentCanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `mgmt::types::cmc::CreateCanister::subnet_type`: use subnet_selection instead [INFO] [stdout] --> src/mgmt/cmc.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | subnet_type: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CreateCanisterArgument::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | settings: create_canister_settings(create_settings_arg), [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/mgmt/ic.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let canister_id = record.0.canister_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::mode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | canister_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::wasm_module`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | wasm_module: wasm.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::arg`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | arg: install_arg.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::UpdateSettingsArgument::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | canister_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::UpdateSettingsArgument::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / settings: CanisterSettings { [INFO] [stdout] 101 | | controllers: Some(controllers), [INFO] [stdout] 102 | | compute_allocation: None, [INFO] [stdout] 103 | | memory_allocation: None, [INFO] [stdout] ... | [INFO] [stdout] 107 | | wasm_memory_limit: None, [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | controllers: Some(controllers), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::compute_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | compute_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::memory_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | memory_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::freezing_threshold`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | freezing_threshold: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::reserved_cycles_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | reserved_cycles_limit: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::log_visibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | log_visibility: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::wasm_memory_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | wasm_memory_limit: None, [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/mgmt/ic.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | canister_id: destination_id, [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/mgmt/ic.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).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/mgmt/ic.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | controllers: Some(controllers.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::compute_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | compute_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::memory_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | memory_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::freezing_threshold`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | freezing_threshold: Some(freezing_threshold.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::reserved_cycles_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | reserved_cycles_limit: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::log_visibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | log_visibility: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::wasm_memory_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | wasm_memory_limit: Some(Nat::from(WASM_MEMORY_LIMIT)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `mgmt::types::cmc::CreateCanister::subnet_type`: use subnet_selection instead [INFO] [stdout] --> src/mgmt/cmc.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | subnet_type: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CreateCanisterArgument::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | settings: create_canister_settings(create_settings_arg), [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/mgmt/ic.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let canister_id = record.0.canister_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::mode`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | canister_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::wasm_module`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | wasm_module: wasm.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::InstallCodeArgument::arg`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | arg: install_arg.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::UpdateSettingsArgument::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | canister_id, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::UpdateSettingsArgument::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / settings: CanisterSettings { [INFO] [stdout] 101 | | controllers: Some(controllers), [INFO] [stdout] 102 | | compute_allocation: None, [INFO] [stdout] 103 | | memory_allocation: None, [INFO] [stdout] ... | [INFO] [stdout] 107 | | wasm_memory_limit: None, [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | controllers: Some(controllers), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::compute_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | compute_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::memory_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | memory_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::freezing_threshold`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | freezing_threshold: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::reserved_cycles_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | reserved_cycles_limit: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::log_visibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | log_visibility: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::wasm_memory_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/ic.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | wasm_memory_limit: None, [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/mgmt/ic.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | canister_id: destination_id, [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/mgmt/ic.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let result = stop_canister(CanisterIdRecord { canister_id }).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/mgmt/ic.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | let result = delete_canister(CanisterIdRecord { canister_id }).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | controllers: Some(controllers.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::compute_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | compute_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::memory_allocation`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | memory_allocation: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::freezing_threshold`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | freezing_threshold: Some(freezing_threshold.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::reserved_cycles_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | reserved_cycles_limit: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::log_visibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | log_visibility: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterSettings::wasm_memory_limit`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/mgmt/settings.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | wasm_memory_limit: Some(Nat::from(WASM_MEMORY_LIMIT)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `junobuild-shared` (lib) due to 1 previous error; 108 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `junobuild-shared` (lib test) due to 1 previous error; 108 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd79ad36d5155c32200ca5b820cf6cbdcb173994a3bddda3f464cad74a15447a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd79ad36d5155c32200ca5b820cf6cbdcb173994a3bddda3f464cad74a15447a", kill_on_drop: false }` [INFO] [stdout] bd79ad36d5155c32200ca5b820cf6cbdcb173994a3bddda3f464cad74a15447a