[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] 20c4b589441cf0fea2af61762bd0391a7b06e364 [INFO] checking ericzundel/advent-of-code-rust-2024 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericzundel%2Fadvent-of-code-rust-2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ericzundel/advent-of-code-rust-2024 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prime-checker v0.2.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4201d693ad21fbdacec1b1680be36448b903c9fca255c6239a78bce98176763 [INFO] running `Command { std: "docker" "start" "-a" "a4201d693ad21fbdacec1b1680be36448b903c9fca255c6239a78bce98176763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4201d693ad21fbdacec1b1680be36448b903c9fca255c6239a78bce98176763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4201d693ad21fbdacec1b1680be36448b903c9fca255c6239a78bce98176763", kill_on_drop: false }` [INFO] [stdout] a4201d693ad21fbdacec1b1680be36448b903c9fca255c6239a78bce98176763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 335c4a16e220d2cee67628db60c3b5dfd9e5ca2afee2aeac811f36a0010947e7 [INFO] running `Command { std: "docker" "start" "-a" "335c4a16e220d2cee67628db60c3b5dfd9e5ca2afee2aeac811f36a0010947e7", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking prime-checker v0.2.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/03.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | fn new(input: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | fn new(input: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/03.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | fn new(input: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | fn new(input: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 63 | 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:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 68 | 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:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | 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: unreachable expression [INFO] [stdout] --> src/bin/16.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 63 | 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:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | todo!("scan the input"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 68 | let start = Self::find_start(&map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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: `other` [INFO] [stdout] --> src/bin/16.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | 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:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | 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:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | 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:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | 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:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | 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:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 40 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/16.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/16.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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: `map` [INFO] [stdout] --> src/bin/16.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | 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:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | 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:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | 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:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Edge<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/bin/16.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Tile<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/bin/16.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | 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:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl <'a> Maze<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 40 | fn find_start(map: &'a Vec>>) -> &'a Tile<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new(input: &str) -> Maze<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/16.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn load_input(input: &str) -> Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.95s [INFO] running `Command { std: "docker" "inspect" "335c4a16e220d2cee67628db60c3b5dfd9e5ca2afee2aeac811f36a0010947e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "335c4a16e220d2cee67628db60c3b5dfd9e5ca2afee2aeac811f36a0010947e7", kill_on_drop: false }` [INFO] [stdout] 335c4a16e220d2cee67628db60c3b5dfd9e5ca2afee2aeac811f36a0010947e7