[INFO] cloning repository https://github.com/buildwithjuno/juno [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buildwithjuno/juno" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuildwithjuno%2Fjuno", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuildwithjuno%2Fjuno'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46558927edee1303497b951aa950ae79d38cc551 [INFO] checking buildwithjuno/juno/46558927edee1303497b951aa950ae79d38cc551 against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuildwithjuno%2Fjuno" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/buildwithjuno/juno [INFO] finished tweaking git repo https://github.com/buildwithjuno/juno [INFO] tweaked toml for git repo https://github.com/buildwithjuno/juno written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/buildwithjuno/juno on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/buildwithjuno/juno 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/peterpeterparker/rquickjs` [INFO] [stderr] Updating git submodule `https://github.com/quickjs-ng/quickjs.git` [INFO] [stderr] Skipping git submodule `https://github.com/tc39/test262` due to update strategy in .gitmodules [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded ic-representation-independent-hash v3.0.3 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded canfund v0.8.4 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded ic-certification v3.0.3 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded ic-http-certification v3.0.3 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded zerocopy-derive v0.8.17 [INFO] [stderr] Downloaded ic-wasi-polyfill v0.8.2 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded zerocopy v0.8.17 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded stable-fs v0.8.1 [INFO] [stderr] Downloaded ic-ledger-types v0.15.0 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded isbot v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61d5b2a5f2193492d6b876f5b80c289548e870ffb56ad29dc66d7400e613fb8a [INFO] running `Command { std: "docker" "start" "-a" "61d5b2a5f2193492d6b876f5b80c289548e870ffb56ad29dc66d7400e613fb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61d5b2a5f2193492d6b876f5b80c289548e870ffb56ad29dc66d7400e613fb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d5b2a5f2193492d6b876f5b80c289548e870ffb56ad29dc66d7400e613fb8a", kill_on_drop: false }` [INFO] [stdout] 61d5b2a5f2193492d6b876f5b80c289548e870ffb56ad29dc66d7400e613fb8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00386dade901d1712818f3a34a3af1b68eec3027e20b8425c44b8769de6e5ea3 [INFO] running `Command { std: "docker" "start" "-a" "00386dade901d1712818f3a34a3af1b68eec3027e20b8425c44b8769de6e5ea3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking ic-representation-independent-hash v3.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling function_name-proc-macro v0.3.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling sputnik v0.1.1 (/opt/rustwide/workdir/src/sputnik) [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling rquickjs-sys v0.9.0 (https://github.com/peterpeterparker/rquickjs?branch=patch-v0.9.0#e93d52fa) [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking function_name v0.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking isbot v0.1.3 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ic_principal v0.1.1 [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 serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking ic-certification v3.0.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling junobuild-macros v0.1.0 (/opt/rustwide/workdir/src/libs/macros) [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Checking icrc-cbor v0.1.0 [INFO] [stderr] Checking junobuild-utils v0.1.1 (/opt/rustwide/workdir/src/libs/utils) [INFO] [stderr] Checking ic-http-certification v3.0.3 [INFO] [stderr] Checking icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Checking rquickjs-core v0.9.0 (https://github.com/peterpeterparker/rquickjs?branch=patch-v0.9.0#e93d52fa) [INFO] [stderr] Checking ic-cdk v0.18.5 [INFO] [stderr] Compiling rquickjs-macro v0.9.0 (https://github.com/peterpeterparker/rquickjs?branch=patch-v0.9.0#e93d52fa) [INFO] [stderr] Checking ic-ledger-types v0.15.0 [INFO] [stderr] Checking ic-cdk-timers v0.12.2 [INFO] [stderr] Checking stable-fs v0.8.1 [INFO] [stderr] Checking rquickjs v0.9.0 (https://github.com/peterpeterparker/rquickjs?branch=patch-v0.9.0#e93d52fa) [INFO] [stderr] Checking junobuild-shared v0.2.0 (/opt/rustwide/workdir/src/libs/shared) [INFO] [stderr] Checking canfund v0.8.4 [INFO] [stdout] error[E0432]: unresolved import `core::arch::wasm32` [INFO] [stdout] --> src/libs/shared/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/libs/shared/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] [stderr] Checking ic-wasi-polyfill v0.8.2 [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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/controllers.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/cmc.rs:111:78 [INFO] [stdout] | [INFO] [stdout] 111 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/ic.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | 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/libs/shared/src/mgmt/ic.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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/libs/shared/src/mgmt/ic.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | 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/libs/shared/src/mgmt/ic.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | 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/libs/shared/src/mgmt/ic.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/ic.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/settings.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | 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/libs/shared/src/mgmt/settings.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_canister_settings(controllers: Vec) -> 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/libs/shared/src/mgmt/settings.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/controllers.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/cmc.rs:111:78 [INFO] [stdout] | [INFO] [stdout] 111 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/ic.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | 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/libs/shared/src/mgmt/ic.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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/libs/shared/src/mgmt/ic.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | 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/libs/shared/src/mgmt/ic.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | 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/libs/shared/src/mgmt/ic.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/ic.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/settings.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | 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/libs/shared/src/mgmt/settings.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_canister_settings(controllers: Vec) -> 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/libs/shared/src/mgmt/settings.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | 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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/ic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | settings: create_canister_settings(controllers), [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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/ic.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | 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/libs/shared/src/mgmt/ic.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:180:53 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/settings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | 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/libs/shared/src/mgmt/settings.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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/libs/shared/src/mgmt/settings.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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/libs/shared/src/mgmt/settings.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 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/libs/shared/src/mgmt/settings.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | 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/libs/shared/src/mgmt/settings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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/libs/shared/src/mgmt/settings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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/libs/shared/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/libs/shared/src/mgmt/ic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | settings: create_canister_settings(controllers), [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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/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/libs/shared/src/mgmt/ic.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | 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/libs/shared/src/mgmt/ic.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | 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/libs/shared/src/mgmt/ic.rs:180:53 [INFO] [stdout] | [INFO] [stdout] 180 | 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/libs/shared/src/mgmt/settings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | 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/libs/shared/src/mgmt/settings.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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/libs/shared/src/mgmt/settings.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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/libs/shared/src/mgmt/settings.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 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/libs/shared/src/mgmt/settings.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | 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/libs/shared/src/mgmt/settings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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/libs/shared/src/mgmt/settings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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" "00386dade901d1712818f3a34a3af1b68eec3027e20b8425c44b8769de6e5ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00386dade901d1712818f3a34a3af1b68eec3027e20b8425c44b8769de6e5ea3", kill_on_drop: false }` [INFO] [stdout] 00386dade901d1712818f3a34a3af1b68eec3027e20b8425c44b8769de6e5ea3