[INFO] fetching crate bity-ic-subcanister-manager 0.3.1... [INFO] testing bity-ic-subcanister-manager-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bity-ic-subcanister-manager 0.3.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate bity-ic-subcanister-manager 0.3.1 [INFO] finished tweaking crates.io crate bity-ic-subcanister-manager 0.3.1 [INFO] tweaked toml for crates.io crate bity-ic-subcanister-manager 0.3.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-subcanister-manager 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bity-ic-subcanister-manager 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.25.1 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded bity-ic-types v0.1.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.0 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded bity-ic-canister-time v0.2.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.0 [INFO] [stderr] Downloaded bity-ic-stable-memory v0.2.0 [INFO] [stderr] Downloaded bity-ic-utils v0.2.0 [INFO] [stderr] Downloaded ic-cdk v0.18.3 [INFO] [stderr] Downloaded ic-ledger-types v0.15.0 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.8 [INFO] [stderr] Downloaded canfund v0.8.4 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cc1f0e6ee5d25e17c0973aeb39e9c000b07b6fc1b1c17a65d1ca864dfc4fb2d [INFO] running `Command { std: "docker" "start" "-a" "7cc1f0e6ee5d25e17c0973aeb39e9c000b07b6fc1b1c17a65d1ca864dfc4fb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cc1f0e6ee5d25e17c0973aeb39e9c000b07b6fc1b1c17a65d1ca864dfc4fb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc1f0e6ee5d25e17c0973aeb39e9c000b07b6fc1b1c17a65d1ca864dfc4fb2d", kill_on_drop: false }` [INFO] [stdout] 7cc1f0e6ee5d25e17c0973aeb39e9c000b07b6fc1b1c17a65d1ca864dfc4fb2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8226e724cb299dda3dab7054b1087695e00eab978e1ad08c581327f71b5c3362 [INFO] running `Command { std: "docker" "start" "-a" "8226e724cb299dda3dab7054b1087695e00eab978e1ad08c581327f71b5c3362", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.8 [INFO] [stderr] Compiling ic-cdk-macros v0.18.3 [INFO] [stderr] Compiling ic-cdk v0.18.3 [INFO] [stderr] Compiling bity-ic-types v0.1.0 [INFO] [stderr] Compiling ic-cdk-timers v0.12.0 [INFO] [stderr] Compiling bity-ic-stable-memory v0.2.0 [INFO] [stderr] Compiling ic-ledger-types v0.15.0 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.0 [INFO] [stderr] Compiling bity-ic-utils v0.2.0 [INFO] [stderr] Compiling canfund v0.8.4 [INFO] [stderr] Compiling bity-ic-subcanister-manager v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::LogVisibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(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/lib.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(CanisterIdRecord { [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/lib.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let settings = CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::LogVisibility::Public`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:227:57 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | 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/lib.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | ... CreateCanisterArgument { [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/lib.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | let install_args = InstallCodeArgument { [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/lib.rs:275:44 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match install_code(install_args.clone()).await { [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/lib.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(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/lib.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(CanisterIdRecord { [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/lib.rs:350:40 [INFO] [stdout] | [INFO] [stdout] 350 | let install_args = InstallCodeArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Upgrade`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | retry_async(|| install_code(install_args.clone()), 3).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(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/lib.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(CanisterIdRecord { [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/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | canister_id: self.canister_id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::DefiniteCanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [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/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | controllers: Some(self.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/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | 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/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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/lib.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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/lib.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | reserved_cycles_limit: Some(Nat::from(self.reserved_cycles)), [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/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | wasm_memory_limit: 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/lib.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | ... settings: Some(settings.clone()), [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/lib.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(canister) => canister.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/lib.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | 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/lib.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | wasm_module: self.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/lib.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | arg: encoded_init_args.clone(), [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/lib.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | ... canister_id: *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/lib.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | canister_id: *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/lib.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | wasm_module, [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/lib.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | arg: init_args, [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/lib.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | ... canister_id: *canister_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canister` [INFO] [stdout] --> src/lib.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | for (canister_id, canister) in self.sub_canisters.clone().iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.35s [INFO] running `Command { std: "docker" "inspect" "8226e724cb299dda3dab7054b1087695e00eab978e1ad08c581327f71b5c3362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8226e724cb299dda3dab7054b1087695e00eab978e1ad08c581327f71b5c3362", kill_on_drop: false }` [INFO] [stdout] 8226e724cb299dda3dab7054b1087695e00eab978e1ad08c581327f71b5c3362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 441a1768b2c6c52ca901f945fa4957f79e0f2197fe7b7a95d94c56ee949617da [INFO] running `Command { std: "docker" "start" "-a" "441a1768b2c6c52ca901f945fa4957f79e0f2197fe7b7a95d94c56ee949617da", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::LogVisibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(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/lib.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(CanisterIdRecord { [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/lib.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let settings = CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::LogVisibility::Public`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:227:57 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | 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/lib.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | ... CreateCanisterArgument { [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/lib.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | let install_args = InstallCodeArgument { [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/lib.rs:275:44 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match install_code(install_args.clone()).await { [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/lib.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(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/lib.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(CanisterIdRecord { [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/lib.rs:350:40 [INFO] [stdout] | [INFO] [stdout] 350 | let install_args = InstallCodeArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Upgrade`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | retry_async(|| install_code(install_args.clone()), 3).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(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/lib.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(CanisterIdRecord { [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/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | canister_id: self.canister_id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bity-ic-subcanister-manager v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::DefiniteCanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [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/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | controllers: Some(self.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/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | 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/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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/lib.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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/lib.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | reserved_cycles_limit: Some(Nat::from(self.reserved_cycles)), [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/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | wasm_memory_limit: 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/lib.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | ... settings: Some(settings.clone()), [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/lib.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(canister) => canister.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/lib.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | 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/lib.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | wasm_module: self.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/lib.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | arg: encoded_init_args.clone(), [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/lib.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | ... canister_id: *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/lib.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | canister_id: *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/lib.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | wasm_module, [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/lib.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | arg: init_args, [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/lib.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | ... canister_id: *canister_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canister` [INFO] [stdout] --> src/lib.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | for (canister_id, canister) in self.sub_canisters.clone().iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [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/lib.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [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/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `ic_cdk::api::management_canister::main::LogVisibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | InstallCodeArgument, LogVisibility, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(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/lib.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | canister_status(CanisterIdRecord { [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/lib.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | let settings = CanisterSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::LogVisibility::Public`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:227:57 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | 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/lib.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | ... CreateCanisterArgument { [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/lib.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | let install_args = InstallCodeArgument { [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/lib.rs:275:44 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match install_code(install_args.clone()).await { [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/lib.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(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/lib.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 319 | stop_canister(CanisterIdRecord { [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/lib.rs:350:40 [INFO] [stdout] | [INFO] [stdout] 350 | let install_args = InstallCodeArgument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Upgrade`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | retry_async(|| install_code(install_args.clone()), 3).await [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(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/lib.rs:363:48 [INFO] [stdout] | [INFO] [stdout] 363 | ... start_canister(CanisterIdRecord { [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/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | canister_id: self.canister_id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ic_cdk::api::management_canister::main::DefiniteCanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(res) => Ok(res.0.settings.controllers), [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/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | controllers: Some(self.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/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | 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/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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/lib.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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/lib.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | reserved_cycles_limit: Some(Nat::from(self.reserved_cycles)), [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/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | log_visibility: Some(LogVisibility::Public), [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/lib.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | wasm_memory_limit: 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/lib.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | ... settings: Some(settings.clone()), [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/lib.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(canister) => canister.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/lib.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mode: CanisterInstallMode::Install, [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/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | 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/lib.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | wasm_module: self.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/lib.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | arg: encoded_init_args.clone(), [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/lib.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | ... canister_id: *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/lib.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | mode: CanisterInstallMode::Upgrade(None), [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/lib.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | canister_id: *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/lib.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | wasm_module, [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/lib.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | arg: init_args, [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/lib.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | ... canister_id: *canister_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canister` [INFO] [stdout] --> src/lib.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | for (canister_id, canister) in self.sub_canisters.clone().iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "441a1768b2c6c52ca901f945fa4957f79e0f2197fe7b7a95d94c56ee949617da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441a1768b2c6c52ca901f945fa4957f79e0f2197fe7b7a95d94c56ee949617da", kill_on_drop: false }` [INFO] [stdout] 441a1768b2c6c52ca901f945fa4957f79e0f2197fe7b7a95d94c56ee949617da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7546abc54934c72688696176af0ff1f012a01eb70d4dfde615f6c3bdba79912e [INFO] running `Command { std: "docker" "start" "-a" "7546abc54934c72688696176af0ff1f012a01eb70d4dfde615f6c3bdba79912e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:45:39 [INFO] [stderr] | [INFO] [stderr] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:45:53 [INFO] [stderr] | [INFO] [stderr] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:45:69 [INFO] [stderr] | [INFO] [stderr] 45 | canister_status, create_canister, install_code, start_canister, stop_canister, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:46:44 [INFO] [stderr] | [INFO] [stderr] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:46:62 [INFO] [stderr] | [INFO] [stderr] 46 | CanisterIdRecord, CanisterInstallMode, CanisterSettings, CreateCanisterArgument, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | InstallCodeArgument, LogVisibility, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated enum `ic_cdk::api::management_canister::main::LogVisibility`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | InstallCodeArgument, LogVisibility, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::canister_status`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | canister_status(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:123:37 [INFO] [stderr] | [INFO] [stderr] 123 | canister_status(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:221:32 [INFO] [stderr] | [INFO] [stderr] 221 | let settings = CanisterSettings { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `ic_cdk::api::management_canister::main::LogVisibility::Public`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:227:57 [INFO] [stderr] | [INFO] [stderr] 227 | log_visibility: Some(LogVisibility::Public), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:233:25 [INFO] [stderr] | [INFO] [stderr] 233 | create_canister( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:234:29 [INFO] [stderr] | [INFO] [stderr] 234 | ... CreateCanisterArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:274:32 [INFO] [stderr] | [INFO] [stderr] 274 | let install_args = InstallCodeArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:275:44 [INFO] [stderr] | [INFO] [stderr] 275 | mode: CanisterInstallMode::Install, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:281:19 [INFO] [stderr] | [INFO] [stderr] 281 | match install_code(install_args.clone()).await { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:319:25 [INFO] [stderr] | [INFO] [stderr] 319 | stop_canister(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:319:39 [INFO] [stderr] | [INFO] [stderr] 319 | stop_canister(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:350:40 [INFO] [stderr] | [INFO] [stderr] 350 | let install_args = InstallCodeArgument { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated tuple variant `ic_cdk::api::management_canister::main::CanisterInstallMode::Upgrade`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:351:52 [INFO] [stderr] | [INFO] [stderr] 351 | mode: CanisterInstallMode::Upgrade(None), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:356:36 [INFO] [stderr] | [INFO] [stderr] 356 | retry_async(|| install_code(install_args.clone()), 3).await [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::management_canister::main::start_canister`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:363:33 [INFO] [stderr] | [INFO] [stderr] 363 | ... start_canister(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `ic_cdk::api::management_canister::main::CanisterIdRecord`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:363:48 [INFO] [stderr] | [INFO] [stderr] 363 | ... start_canister(CanisterIdRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | canister_id: self.canister_id(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterStatusResponse::settings`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:131:31 [INFO] [stderr] | [INFO] [stderr] 131 | Ok(res) => Ok(res.0.settings.controllers), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::DefiniteCanisterSettings::controllers`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:131:31 [INFO] [stderr] | [INFO] [stderr] 131 | Ok(res) => Ok(res.0.settings.controllers), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:222:21 [INFO] [stderr] | [INFO] [stderr] 222 | controllers: Some(self.controllers.clone()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:223:21 [INFO] [stderr] | [INFO] [stderr] 223 | compute_allocation: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:224:21 [INFO] [stderr] | [INFO] [stderr] 224 | memory_allocation: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | freezing_threshold: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:226:21 [INFO] [stderr] | [INFO] [stderr] 226 | reserved_cycles_limit: Some(Nat::from(self.reserved_cycles)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | log_visibility: Some(LogVisibility::Public), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:228:21 [INFO] [stderr] | [INFO] [stderr] 228 | wasm_memory_limit: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:235:33 [INFO] [stderr] | [INFO] [stderr] 235 | ... settings: Some(settings.clone()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:244:37 [INFO] [stderr] | [INFO] [stderr] 244 | Ok(canister) => canister.0.canister_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:275:17 [INFO] [stderr] | [INFO] [stderr] 275 | mode: CanisterInstallMode::Install, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:276:17 [INFO] [stderr] | [INFO] [stderr] 276 | canister_id, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:277:17 [INFO] [stderr] | [INFO] [stderr] 277 | wasm_module: self.wasm.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:278:17 [INFO] [stderr] | [INFO] [stderr] 278 | arg: encoded_init_args.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:320:29 [INFO] [stderr] | [INFO] [stderr] 320 | ... canister_id: *canister_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:351:25 [INFO] [stderr] | [INFO] [stderr] 351 | mode: CanisterInstallMode::Upgrade(None), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:352:25 [INFO] [stderr] | [INFO] [stderr] 352 | canister_id: *canister_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:353:25 [INFO] [stderr] | [INFO] [stderr] 353 | wasm_module, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:354:25 [INFO] [stderr] | [INFO] [stderr] 354 | arg: init_args, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `ic_cdk::api::management_canister::main::CanisterIdRecord::canister_id`: The `api::management_canister::main` module is deprecated. Please use the `management_canister` module at the crate root. [INFO] [stderr] --> src/lib.rs:364:37 [INFO] [stderr] | [INFO] [stderr] 364 | ... canister_id: *canister_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `canister` [INFO] [stderr] --> src/lib.rs:316:31 [INFO] [stderr] | [INFO] [stderr] 316 | for (canister_id, canister) in self.sub_canisters.clone().iter() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canister` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bity-ic-subcanister-manager` (lib) generated 50 warnings [INFO] [stderr] warning: `bity-ic-subcanister-manager` (lib test) generated 50 warnings (50 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bity_ic_subcanister_manager-5da2699681835384) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7546abc54934c72688696176af0ff1f012a01eb70d4dfde615f6c3bdba79912e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7546abc54934c72688696176af0ff1f012a01eb70d4dfde615f6c3bdba79912e", kill_on_drop: false }` [INFO] [stdout] 7546abc54934c72688696176af0ff1f012a01eb70d4dfde615f6c3bdba79912e