[INFO] fetching crate bity-ic-subcanister-manager 0.3.1... [INFO] testing bity-ic-subcanister-manager-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bity-ic-subcanister-manager 0.3.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-subcanister-manager 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49086965b052c12614a9e91713f5accf41d67e2c461a830ce98ff5121f294b10 [INFO] running `Command { std: "docker" "start" "-a" "49086965b052c12614a9e91713f5accf41d67e2c461a830ce98ff5121f294b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49086965b052c12614a9e91713f5accf41d67e2c461a830ce98ff5121f294b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49086965b052c12614a9e91713f5accf41d67e2c461a830ce98ff5121f294b10", kill_on_drop: false }` [INFO] [stdout] 49086965b052c12614a9e91713f5accf41d67e2c461a830ce98ff5121f294b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e477a27d3623b77ae8c431db564dccfc230a19c8029ca65d0f1b779810c458a [INFO] running `Command { std: "docker" "start" "-a" "0e477a27d3623b77ae8c431db564dccfc230a19c8029ca65d0f1b779810c458a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 binread v2.2.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.8 [INFO] [stderr] Compiling ic-cdk-macros v0.18.3 [INFO] [stderr] Compiling ic-cdk v0.18.3 [INFO] [stderr] Compiling bity-ic-types v0.1.0 [INFO] [stderr] Compiling ic-cdk-timers v0.12.0 [INFO] [stderr] Compiling ic-ledger-types v0.15.0 [INFO] [stderr] Compiling bity-ic-stable-memory v0.2.0 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.0 [INFO] [stderr] Compiling bity-ic-utils v0.2.0 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.68s [INFO] running `Command { std: "docker" "inspect" "0e477a27d3623b77ae8c431db564dccfc230a19c8029ca65d0f1b779810c458a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e477a27d3623b77ae8c431db564dccfc230a19c8029ca65d0f1b779810c458a", kill_on_drop: false }` [INFO] [stdout] 0e477a27d3623b77ae8c431db564dccfc230a19c8029ca65d0f1b779810c458a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c4a0633faa5491f0ce0706e5529cf2894249627c98c55df8319ef34d6edc5f5 [INFO] running `Command { std: "docker" "start" "-a" "1c4a0633faa5491f0ce0706e5529cf2894249627c98c55df8319ef34d6edc5f5", 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] [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::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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "1c4a0633faa5491f0ce0706e5529cf2894249627c98c55df8319ef34d6edc5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4a0633faa5491f0ce0706e5529cf2894249627c98c55df8319ef34d6edc5f5", kill_on_drop: false }` [INFO] [stdout] 1c4a0633faa5491f0ce0706e5529cf2894249627c98c55df8319ef34d6edc5f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98a002c2c47cee894dc730e28ba0406bff56b8ae267f61a526b2af20e597d9e5 [INFO] running `Command { std: "docker" "start" "-a" "98a002c2c47cee894dc730e28ba0406bff56b8ae267f61a526b2af20e597d9e5", 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `bity-ic-subcanister-manager` (lib) generated 50 warnings (run `cargo fix --lib -p bity-ic-subcanister-manager` to apply 1 suggestion) [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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity_ic_subcanister_manager-d55fb19a30c702b4) [INFO] [stdout] [INFO] [stderr] Doc-tests bity_ic_subcanister_manager [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `master_canister_id` in this scope [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | master_canister_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wasm_module` in this scope [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | wasm_module, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 10 arguments but 9 arguments were supplied [INFO] [stdout] --> src/lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let manager = SubCanisterManager::new( [INFO] [stdout] | _______________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 22 | | master_canister_id, [INFO] [stdout] 23 | | HashMap::new(), [INFO] [stdout] 24 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 30 | | wasm_module, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- argument #10 of type `canfund::manager::options::FundManagerOptions` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 ~ let manager = SubCanisterManager::new( [INFO] [stdout] 22 + master_canister_id, [INFO] [stdout] 23 + HashMap::new(), [INFO] [stdout] 24 + vec![], [INFO] [stdout] 25 + vec![], [INFO] [stdout] 26 + 1_000_000_000, [INFO] [stdout] 27 + 100_000_000, [INFO] [stdout] 28 + false, [INFO] [stdout] 29 + "commit_hash".to_string(), [INFO] [stdout] 30 + wasm_module, [INFO] [stdout] 31 + /* canfund::manager::options::FundManagerOptions */, [INFO] [stdout] 32 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "98a002c2c47cee894dc730e28ba0406bff56b8ae267f61a526b2af20e597d9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a002c2c47cee894dc730e28ba0406bff56b8ae267f61a526b2af20e597d9e5", kill_on_drop: false }` [INFO] [stdout] 98a002c2c47cee894dc730e28ba0406bff56b8ae267f61a526b2af20e597d9e5