[INFO] cloning repository https://github.com/AdmiralPotato/advent_of_code_2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdmiralPotato/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdmiralPotato%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdmiralPotato%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5da33d4411f4fe1b13dfc75da0072e668bc61cd [INFO] checking AdmiralPotato/advent_of_code_2023/d5da33d4411f4fe1b13dfc75da0072e668bc61cd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdmiralPotato%2Fadvent_of_code_2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdmiralPotato/advent_of_code_2023 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdmiralPotato/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/AdmiralPotato/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/AdmiralPotato/advent_of_code_2023 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdmiralPotato/advent_of_code_2023 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34f778fce394668535b99a35d9b2b5bf848b33f929935a9f51b15aa4162f2276 [INFO] running `Command { std: "docker" "start" "-a" "34f778fce394668535b99a35d9b2b5bf848b33f929935a9f51b15aa4162f2276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f778fce394668535b99a35d9b2b5bf848b33f929935a9f51b15aa4162f2276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f778fce394668535b99a35d9b2b5bf848b33f929935a9f51b15aa4162f2276", kill_on_drop: false }` [INFO] [stdout] 34f778fce394668535b99a35d9b2b5bf848b33f929935a9f51b15aa4162f2276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e7d786017939b315dab92456c9f90cffed45e2814c623700941910a8eddeab0 [INFO] running `Command { std: "docker" "start" "-a" "2e7d786017939b315dab92456c9f90cffed45e2814c623700941910a8eddeab0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking day_12 v0.1.0 (/opt/rustwide/workdir/day_12) [INFO] [stderr] Checking day_13 v0.1.0 (/opt/rustwide/workdir/day_13) [INFO] [stderr] Checking day_04 v0.1.0 (/opt/rustwide/workdir/day_04) [INFO] [stderr] Checking day_09 v0.1.0 (/opt/rustwide/workdir/day_09) [INFO] [stderr] Checking day_05 v0.1.0 (/opt/rustwide/workdir/day_05) [INFO] [stderr] Checking day_01 v0.1.0 (/opt/rustwide/workdir/day_01) [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> day_13/src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_symmetry` is never used [INFO] [stdout] --> day_13/src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Mirror { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn find_symmetry(&mut self) -> (Axis, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_08 v0.1.0 (/opt/rustwide/workdir/day_08) [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> day_05/src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn map_seed(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> day_05/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | seed: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ranges` [INFO] [stdout] --> day_05/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ranges: Vec<(Range, Range)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ranges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_seed` is never used [INFO] [stdout] --> day_05/src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn map_seed(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `put_seed_through_all_maps` is never used [INFO] [stdout] --> day_05/src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl WholePuzzle { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | fn put_seed_through_all_maps( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> day_12/src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fn part_2(text: &str) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_06 v0.1.0 (/opt/rustwide/workdir/day_06) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_07 v0.1.0 (/opt/rustwide/workdir/day_07) [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> day_07/src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | values[0] == 5 => Classification::HighCard, [INFO] [stdout] | ^^^^^^^^^^^^^^ arbitrary expressions are not allowed in patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> day_13/src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_symmetry` is never used [INFO] [stdout] --> day_13/src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Mirror { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn find_symmetry(&mut self) -> (Axis, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> day_05/src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn map_seed(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> day_07/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> day_05/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | seed: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ranges` [INFO] [stdout] --> day_05/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ranges: Vec<(Range, Range)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ranges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_seed` is never used [INFO] [stdout] --> day_05/src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn map_seed(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `put_seed_through_all_maps` is never used [INFO] [stdout] --> day_05/src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl WholePuzzle { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | fn put_seed_through_all_maps( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> day_07/src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | fn part_1(text: &str) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> day_07/src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | fn part_2(text: &str) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] error: could not compile `day_07` (bin "day_07" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> day_10/src/main.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let start = find_start_position(&lines); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> day_10/src/main.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | fn part_2(text: &str) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connects_north`, `connects_east`, `connects_south`, and `connects_west` are never used [INFO] [stdout] --> day_10/src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn connects_north(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn connects_east(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn connects_south(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn connects_west(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeighborMap` is never constructed [INFO] [stdout] --> day_10/src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct NeighborMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value_at_position` is never used [INFO] [stdout] --> day_10/src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_value_at_position(position: (u32, u32), lines: &[Vec]) -> Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_valid_neighbors` is never used [INFO] [stdout] --> day_10/src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_valid_neighbors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `go_to_next_point` is never used [INFO] [stdout] --> day_10/src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn go_to_next_point( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pipe_line_from_start` is never used [INFO] [stdout] --> day_10/src/main.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn find_pipe_line_from_start( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e7d786017939b315dab92456c9f90cffed45e2814c623700941910a8eddeab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7d786017939b315dab92456c9f90cffed45e2814c623700941910a8eddeab0", kill_on_drop: false }` [INFO] [stdout] 2e7d786017939b315dab92456c9f90cffed45e2814c623700941910a8eddeab0