[INFO] cloning repository https://github.com/swirling-wind/leetcode_exercises_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swirling-wind/leetcode_exercises_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswirling-wind%2Fleetcode_exercises_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswirling-wind%2Fleetcode_exercises_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a28422bbb9538aee75a229182c283062610e488 [INFO] checking swirling-wind/leetcode_exercises_in_rust against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswirling-wind%2Fleetcode_exercises_in_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/swirling-wind/leetcode_exercises_in_rust [INFO] finished tweaking git repo https://github.com/swirling-wind/leetcode_exercises_in_rust [INFO] tweaked toml for git repo https://github.com/swirling-wind/leetcode_exercises_in_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swirling-wind/leetcode_exercises_in_rust on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/swirling-wind/leetcode_exercises_in_rust 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking swirling-wind/leetcode_exercises_in_rust against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswirling-wind%2Fleetcode_exercises_in_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/swirling-wind/leetcode_exercises_in_rust [INFO] finished tweaking git repo https://github.com/swirling-wind/leetcode_exercises_in_rust [INFO] tweaked toml for git repo https://github.com/swirling-wind/leetcode_exercises_in_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swirling-wind/leetcode_exercises_in_rust on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/swirling-wind/leetcode_exercises_in_rust 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22038dbc6c6a816e703f2f2b8aae6545a4b231ea30028b91d2180a909f532e07 [INFO] running `Command { std: "docker" "start" "-a" "22038dbc6c6a816e703f2f2b8aae6545a4b231ea30028b91d2180a909f532e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22038dbc6c6a816e703f2f2b8aae6545a4b231ea30028b91d2180a909f532e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22038dbc6c6a816e703f2f2b8aae6545a4b231ea30028b91d2180a909f532e07", kill_on_drop: false }` [INFO] [stdout] 22038dbc6c6a816e703f2f2b8aae6545a4b231ea30028b91d2180a909f532e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d72b60f69e4facc47bc46d580899ea2d9b6e75037ab92148809bb6e65b82c7e7 [INFO] running `Command { std: "docker" "start" "-a" "d72b60f69e4facc47bc46d580899ea2d9b6e75037ab92148809bb6e65b82c7e7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking leetcode_exercises_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/cw_10_23.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 21 | (todo!()); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 22 | trial_sqrt -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut result: Vec = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut remains = n.pow(2); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn inner_decompose(mut remains: i32, next_sqrt: i32)-> Option> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut trial_sqrt = next_sqrt; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut temp_result: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_decompose` is never used [INFO] [stdout] --> src/cw_10_23.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn inner_decompose(mut remains: i32, next_sqrt: i32)-> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/cw_10_23.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 21 | (todo!()); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 22 | trial_sqrt -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut result: Vec = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut remains = n.pow(2); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | fn inner_decompose(mut remains: i32, next_sqrt: i32)-> Option> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut trial_sqrt = next_sqrt; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cw_10_23.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut temp_result: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompose` is never used [INFO] [stdout] --> src/cw_10_23.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn decompose(n: i64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing` is never used [INFO] [stdout] --> src/cw_10_23.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn testing(n: i64, exp: Option>) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "d72b60f69e4facc47bc46d580899ea2d9b6e75037ab92148809bb6e65b82c7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72b60f69e4facc47bc46d580899ea2d9b6e75037ab92148809bb6e65b82c7e7", kill_on_drop: false }` [INFO] [stdout] d72b60f69e4facc47bc46d580899ea2d9b6e75037ab92148809bb6e65b82c7e7