[INFO] cloning repository https://github.com/thuchede/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/thuchede/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76d3342b9c2d63e11bdae631444ebc346e277778
[INFO] checking thuchede/advent-of-code-2023 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthuchede%2Fadvent-of-code-2023" "/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/thuchede/advent-of-code-2023
[INFO] finished tweaking git repo https://github.com/thuchede/advent-of-code-2023
[INFO] tweaked toml for git repo https://github.com/thuchede/advent-of-code-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thuchede/advent-of-code-2023 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thuchede/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3140f445389f520026f62b5f0c452675ef16cb9b8f4e2203206cc06f9a4629d
[INFO] running `Command { std: "docker" "start" "-a" "e3140f445389f520026f62b5f0c452675ef16cb9b8f4e2203206cc06f9a4629d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3140f445389f520026f62b5f0c452675ef16cb9b8f4e2203206cc06f9a4629d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3140f445389f520026f62b5f0c452675ef16cb9b8f4e2203206cc06f9a4629d", kill_on_drop: false }`
[INFO] [stdout] e3140f445389f520026f62b5f0c452675ef16cb9b8f4e2203206cc06f9a4629d
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7edb594f669b1faf76d18fc992881237cfb9424bd4b497a022b270fcdadb7d00
[INFO] running `Command { std: "docker" "start" "-a" "7edb594f669b1faf76d18fc992881237cfb9424bd4b497a022b270fcdadb7d00", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking find_all v2.0.0
[INFO] [stderr]     Checking walkdir v2.4.0
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking bstr v1.8.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking ignore v0.4.21
[INFO] [stderr]     Checking aoc-2023-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/day12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/day12.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for x in (0..(record.len())) {
[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] 31 -     for x in (0..(record.len())) {
[INFO] [stdout] 31 +     for x in 0..(record.len())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/day12.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |     for x in (0..(record.len())) {
[INFO] [stdout]    |              ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -     for x in (0..(record.len())) {
[INFO] [stdout] 54 +     for x in 0..(record.len())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/day12.rs:193:18
[INFO] [stdout]     |
[INFO] [stdout] 193 |         for x in (0..(sample.len())) {
[INFO] [stdout]     |                  ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 193 -         for x in (0..(sample.len())) {
[INFO] [stdout] 193 +         for x in 0..(sample.len())  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/day12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/day12.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for x in (0..(record.len())) {
[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] 31 -     for x in (0..(record.len())) {
[INFO] [stdout] 31 +     for x in 0..(record.len())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/day12.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |     for x in (0..(record.len())) {
[INFO] [stdout]    |              ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -     for x in (0..(record.len())) {
[INFO] [stdout] 54 +     for x in 0..(record.len())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/day12.rs:123:24
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `records`
[INFO] [stdout]    --> src/day12.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group`
[INFO] [stdout]   --> src/day13.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .filter(|(key, group)| *key)
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group`
[INFO] [stdout]    --> src/day13.rs:172:24
[INFO] [stdout]     |
[INFO] [stdout] 172 |         .filter(|(key, group)| *key)
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day14.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut previous_layouts: Vec<Vec<String>> = 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/day14.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut iterations =  0;
[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/day14.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut flipped: Vec<String> = flip(&sample);
[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/day14.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[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/day14.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut flipped: Vec<String> = flip(&sample);
[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/day14.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `previous_layouts`
[INFO] [stdout]   --> src/day14.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut previous_layouts: Vec<Vec<String>> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_layouts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iterations`
[INFO] [stdout]   --> src/day14.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut iterations =  0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_layout`
[INFO] [stdout]   --> src/day14.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `part2`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let part2 = day14::part_2();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Hand` is never used
[INFO] [stdout]    --> src/day07.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 158 | type Hand<'a> = (&'a str, i64, Strength);
[INFO] [stdout]     |      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ByStrength` is never used
[INFO] [stdout]    --> src/day07.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 | trait ByStrength {
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DesertMap` is never constructed
[INFO] [stdout]   --> src/day08.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct DesertMap {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_not_valid` is never used
[INFO] [stdout]    --> src/day12.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn is_not_valid(line: &str, groups: Vec<i64>) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_large_solution` is never used
[INFO] [stdout]    --> src/day12.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day03.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn parse_line(line: &str) -> (&str, Vec<Match>) {
[INFO] [stdout]    |                     ^^^^      ^^^^      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |         |
[INFO] [stdout]    |                     |         the same lifetime is elided here
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn parse_line(line: &str) -> (&str, Vec<Match<'_>>) {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day03.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn parse_line_v2(line: &str) -> (&str, Vec<Match>) {
[INFO] [stdout]    |                        ^^^^      ^^^^      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |         |
[INFO] [stdout]    |                        |         the same lifetime is elided here
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn parse_line_v2(line: &str) -> (&str, Vec<Match<'_>>) {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/helpers.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .map(|line| line.and_then(|v| v.parse().map_err(|e| Error::new(ErrorKind::InvalidData, e))))
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc-2023-rust` (bin "aoc-2023-rust") due to 1 previous error; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/day12.rs:123:24
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `records`
[INFO] [stdout]    --> src/day12.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group`
[INFO] [stdout]   --> src/day13.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .filter(|(key, group)| *key)
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group`
[INFO] [stdout]    --> src/day13.rs:172:24
[INFO] [stdout]     |
[INFO] [stdout] 172 |         .filter(|(key, group)| *key)
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day14.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut previous_layouts: Vec<Vec<String>> = 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/day14.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut iterations =  0;
[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/day14.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut flipped: Vec<String> = flip(&sample);
[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/day14.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[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/day14.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut flipped: Vec<String> = flip(&sample);
[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/day14.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `previous_layouts`
[INFO] [stdout]   --> src/day14.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut previous_layouts: Vec<Vec<String>> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_layouts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iterations`
[INFO] [stdout]   --> src/day14.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut iterations =  0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_layout`
[INFO] [stdout]   --> src/day14.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut new_layout: Vec<String> = flipped.iter().map(|line| slide_rock(line)).collect();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/day14.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let res = read_from("src/input/sample14.txt");
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `part2`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let part2 = day14::part_2();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DesertMap` is never constructed
[INFO] [stdout]   --> src/day08.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct DesertMap {
[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 `find_large_solution` is never used
[INFO] [stdout]    --> src/day12.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn find_large_solution(line: String, records: Vec<i64>) -> (String, Vec<i64>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day03.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn parse_line(line: &str) -> (&str, Vec<Match>) {
[INFO] [stdout]    |                     ^^^^      ^^^^      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |         |
[INFO] [stdout]    |                     |         the same lifetime is elided here
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn parse_line(line: &str) -> (&str, Vec<Match<'_>>) {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day03.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn parse_line_v2(line: &str) -> (&str, Vec<Match>) {
[INFO] [stdout]    |                        ^^^^      ^^^^      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |         |
[INFO] [stdout]    |                        |         the same lifetime is elided here
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn parse_line_v2(line: &str) -> (&str, Vec<Match<'_>>) {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/helpers.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .map(|line| line.and_then(|v| v.parse().map_err(|e| Error::new(ErrorKind::InvalidData, e))))
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc-2023-rust` (bin "aoc-2023-rust" test) due to 1 previous error; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7edb594f669b1faf76d18fc992881237cfb9424bd4b497a022b270fcdadb7d00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7edb594f669b1faf76d18fc992881237cfb9424bd4b497a022b270fcdadb7d00", kill_on_drop: false }`
[INFO] [stdout] 7edb594f669b1faf76d18fc992881237cfb9424bd4b497a022b270fcdadb7d00
