[INFO] cloning repository https://github.com/KevinXuxuxu/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinXuxuxu/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a5f87ffabad72b95d497c8da61492f9d0f16d1a [INFO] checking KevinXuxuxu/aoc2024 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Faoc2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KevinXuxuxu/aoc2024 [INFO] finished tweaking git repo https://github.com/KevinXuxuxu/aoc2024 [INFO] tweaked toml for git repo https://github.com/KevinXuxuxu/aoc2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KevinXuxuxu/aoc2024 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KevinXuxuxu/aoc2024 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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 KevinXuxuxu/aoc2024 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Faoc2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KevinXuxuxu/aoc2024 [INFO] finished tweaking git repo https://github.com/KevinXuxuxu/aoc2024 [INFO] tweaked toml for git repo https://github.com/KevinXuxuxu/aoc2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KevinXuxuxu/aoc2024 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KevinXuxuxu/aoc2024 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dec6c8b827f0dae1d3eed823d9e09b2a208d8371e6d419acae8c0a3e4154e15 [INFO] running `Command { std: "docker" "start" "-a" "5dec6c8b827f0dae1d3eed823d9e09b2a208d8371e6d419acae8c0a3e4154e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dec6c8b827f0dae1d3eed823d9e09b2a208d8371e6d419acae8c0a3e4154e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dec6c8b827f0dae1d3eed823d9e09b2a208d8371e6d419acae8c0a3e4154e15", kill_on_drop: false }` [INFO] [stdout] 5dec6c8b827f0dae1d3eed823d9e09b2a208d8371e6d419acae8c0a3e4154e15 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f417f86de60b105b7801ddd1e9aa3753fa161f1cdcd9b87891ddc2b9a301dd0d [INFO] running `Command { std: "docker" "start" "-a" "f417f86de60b105b7801ddd1e9aa3753fa161f1cdcd9b87891ddc2b9a301dd0d", kill_on_drop: false }` [INFO] [stderr] Checking aoc_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | return ((if i > 1 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 80 | && day2_unsafe_report([&a[..i], &a[i + 1..]].concat(), false)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 ~ return (if i > 1 { [INFO] [stdout] 75 | // Deal with cases like this 8 5 7 9 11 13 where the target to remove is not in the offending gap. [INFO] [stdout] ... [INFO] [stdout] 79 | }) && day2_unsafe_report([&a[..i - 1], &a[i..]].concat(), false) [INFO] [stdout] 80 ~ && day2_unsafe_report([&a[..i], &a[i + 1..]].concat(), false) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut increasing = a[1] > a[0]; [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: function `day1_read_input` is never used [INFO] [stdout] --> src/main.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn day1_read_input(filename: &str, a: &mut Vec, b: &mut Vec) { [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 `day1` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn day1(filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_followup` is never used [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn day1_followup(filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | return ((if i > 1 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 80 | && day2_unsafe_report([&a[..i], &a[i + 1..]].concat(), false)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 ~ return (if i > 1 { [INFO] [stdout] 75 | // Deal with cases like this 8 5 7 9 11 13 where the target to remove is not in the offending gap. [INFO] [stdout] ... [INFO] [stdout] 79 | }) && day2_unsafe_report([&a[..i - 1], &a[i..]].concat(), false) [INFO] [stdout] 80 ~ && day2_unsafe_report([&a[..i], &a[i + 1..]].concat(), false) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut increasing = a[1] > a[0]; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stdout] warning: function `day1_read_input` is never used [INFO] [stdout] --> src/main.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn day1_read_input(filename: &str, a: &mut Vec, b: &mut Vec) { [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 `day1` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn day1(filename: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_followup` is never used [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn day1_followup(filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f417f86de60b105b7801ddd1e9aa3753fa161f1cdcd9b87891ddc2b9a301dd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f417f86de60b105b7801ddd1e9aa3753fa161f1cdcd9b87891ddc2b9a301dd0d", kill_on_drop: false }` [INFO] [stdout] f417f86de60b105b7801ddd1e9aa3753fa161f1cdcd9b87891ddc2b9a301dd0d