[INFO] cloning repository https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericzundel/advent-of-code-rust-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9275c60976e37a89deb1093c839b734c40375bf2 [INFO] checking ericzundel/advent-of-code-rust-2024 against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericzundel/advent-of-code-rust-2024 on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] finished tweaking git repo https://github.com/ericzundel/advent-of-code-rust-2024 [INFO] tweaked toml for git repo https://github.com/ericzundel/advent-of-code-rust-2024 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ericzundel/advent-of-code-rust-2024 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33f46e2ffe4772cfa1b795ebafac2e28587da4d069157c4100c16e60453259e [INFO] running `Command { std: "docker" "start" "-a" "a33f46e2ffe4772cfa1b795ebafac2e28587da4d069157c4100c16e60453259e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33f46e2ffe4772cfa1b795ebafac2e28587da4d069157c4100c16e60453259e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33f46e2ffe4772cfa1b795ebafac2e28587da4d069157c4100c16e60453259e", kill_on_drop: false }` [INFO] [stdout] a33f46e2ffe4772cfa1b795ebafac2e28587da4d069157c4100c16e60453259e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a6b9f3d42fc63398b88a9722bed82dc56ce741a5b180806e147d042b24df977 [INFO] running `Command { std: "docker" "start" "-a" "6a6b9f3d42fc63398b88a9722bed82dc56ce741a5b180806e147d042b24df977", kill_on_drop: false }` [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | map [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/16.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 64 | let start = Self::find_start(&map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | map [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/16.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 64 | let start = Self::find_start(&map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/16.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let map : Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/09.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/09.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/bin/09.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Free` is never constructed [INFO] [stdout] --> src/bin/09.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Free { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/bin/16.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let map = Self::load_input(input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/bin/16.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let map : Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/bin/16.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Maze<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_start`, `load_input`, and `new` are never used [INFO] [stdout] --> src/bin/16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 36 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let map = Self::load_input(input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/bin/16.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/bin/16.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Maze<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_start`, `load_input`, and `new` are never used [INFO] [stdout] --> src/bin/16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 36 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryKey` is never constructed [INFO] [stdout] --> src/bin/03.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct EntryKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_node` is never used [INFO] [stdout] --> src/bin/08.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl CityMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_node(&self, x: usize, y: usize) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/09.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/09.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/bin/09.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Free` is never constructed [INFO] [stdout] --> src/bin/09.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Free { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "6a6b9f3d42fc63398b88a9722bed82dc56ce741a5b180806e147d042b24df977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6b9f3d42fc63398b88a9722bed82dc56ce741a5b180806e147d042b24df977", kill_on_drop: false }` [INFO] [stdout] 6a6b9f3d42fc63398b88a9722bed82dc56ce741a5b180806e147d042b24df977