[INFO] cloning repository https://github.com/mohtashimnawaz/dmsicp-final [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohtashimnawaz/dmsicp-final" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohtashimnawaz%2Fdmsicp-final", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohtashimnawaz%2Fdmsicp-final'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6117103b4c9eecf3b52386dccf3990b7df820018 [INFO] checking mohtashimnawaz/dmsicp-final against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohtashimnawaz%2Fdmsicp-final" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mohtashimnawaz/dmsicp-final [INFO] finished tweaking git repo https://github.com/mohtashimnawaz/dmsicp-final [INFO] tweaked toml for git repo https://github.com/mohtashimnawaz/dmsicp-final written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mohtashimnawaz/dmsicp-final on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mohtashimnawaz/dmsicp-final 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" "+df1b9bf194c9183fb7c0604484171064069ce232" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66674ac0d20276ab6f339a0fb75eec2dfda267c760ca3b58836f7433b271b18f [INFO] running `Command { std: "docker" "start" "-a" "66674ac0d20276ab6f339a0fb75eec2dfda267c760ca3b58836f7433b271b18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66674ac0d20276ab6f339a0fb75eec2dfda267c760ca3b58836f7433b271b18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66674ac0d20276ab6f339a0fb75eec2dfda267c760ca3b58836f7433b271b18f", kill_on_drop: false }` [INFO] [stdout] 66674ac0d20276ab6f339a0fb75eec2dfda267c760ca3b58836f7433b271b18f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f7e0bafe1f613a677893f91424a3a4a439d6d0bc91c47e2c2a3ef170b9d819e [INFO] running `Command { std: "docker" "start" "-a" "1f7e0bafe1f613a677893f91424a3a4a439d6d0bc91c47e2c2a3ef170b9d819e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking candid v0.10.13 [INFO] [stderr] Compiling ic-cdk-macros v0.17.1 [INFO] [stderr] Checking ic-cdk v0.17.1 [INFO] [stderr] Checking ic-ledger-types v0.14.0 [INFO] [stderr] Checking ic-cdk-timers v0.11.0 [INFO] [stderr] Checking dms_icp_backend v0.1.0 (/opt/rustwide/workdir/src/dms_icp_backend) [INFO] [stdout] warning: unused import: `ic_cdk::storage` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk_macros::{init, update, query}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_SUBACCOUNT` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_ledger_types::{AccountIdentifier, Memo, Tokens, TransferArgs, DEFAULT_SUBACCOUNT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Switch { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Switch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::storage` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk_macros::{init, update, query}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_SUBACCOUNT` [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_ledger_types::{AccountIdentifier, Memo, Tokens, TransferArgs, DEFAULT_SUBACCOUNT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Switch { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Switch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dms_icp_backend/src/lib.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(dms) = &mut DMS { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(dms) = &raw mut DMS { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.76s [INFO] running `Command { std: "docker" "inspect" "1f7e0bafe1f613a677893f91424a3a4a439d6d0bc91c47e2c2a3ef170b9d819e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7e0bafe1f613a677893f91424a3a4a439d6d0bc91c47e2c2a3ef170b9d819e", kill_on_drop: false }` [INFO] [stdout] 1f7e0bafe1f613a677893f91424a3a4a439d6d0bc91c47e2c2a3ef170b9d819e