[INFO] cloning repository https://github.com/ByJacob/advent-of-code-rust-2023
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ByJacob/advent-of-code-rust-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByJacob%2Fadvent-of-code-rust-2023", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByJacob%2Fadvent-of-code-rust-2023'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b551120d3d7478df30e1244166844b350acfda43
[INFO] checking ByJacob/advent-of-code-rust-2023 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByJacob%2Fadvent-of-code-rust-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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ByJacob/advent-of-code-rust-2023
[INFO] finished tweaking git repo https://github.com/ByJacob/advent-of-code-rust-2023
[INFO] tweaked toml for git repo https://github.com/ByJacob/advent-of-code-rust-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ByJacob/advent-of-code-rust-2023 on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ByJacob/advent-of-code-rust-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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9c014fe4b62bc6820c96953c9c11702b3afde9c8cfd30a5733935bcaba709f9
[INFO] running `Command { std: "docker" "start" "-a" "c9c014fe4b62bc6820c96953c9c11702b3afde9c8cfd30a5733935bcaba709f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9c014fe4b62bc6820c96953c9c11702b3afde9c8cfd30a5733935bcaba709f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9c014fe4b62bc6820c96953c9c11702b3afde9c8cfd30a5733935bcaba709f9", kill_on_drop: false }`
[INFO] [stdout] c9c014fe4b62bc6820c96953c9c11702b3afde9c8cfd30a5733935bcaba709f9
[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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 475984db2cf64b17bd8d2b648ff20a338297bbaa38ce8ba7a094a20a2e8fc5a8
[INFO] running `Command { std: "docker" "start" "-a" "475984db2cf64b17bd8d2b648ff20a338297bbaa38ce8ba7a094a20a2e8fc5a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking tinyjson v2.5.1
[INFO] [stderr]     Checking safe_arch v0.7.1
[INFO] [stderr]     Checking wide v0.7.13
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking console v0.15.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking indicatif v0.17.7
[INFO] [stderr]     Checking simba v0.8.1
[INFO] [stderr]    Compiling nalgebra-macros v0.2.1
[INFO] [stderr]     Checking nalgebra v0.32.3
[INFO] [stderr]     Checking advent_of_code v0.10.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Parser(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Parser(String),
[INFO] [stdout] 12 +     Parser(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     IO(io::Error),
[INFO] [stdout] 13 +     IO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/run_multi.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -     IO(io::Error),
[INFO] [stdout] 52 +     IO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Parser(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Parser(String),
[INFO] [stdout] 12 +     Parser(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/readme_benchmarks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     IO(io::Error),
[INFO] [stdout] 13 +     IO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/template/run_multi.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     IO(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -     IO(io::Error),
[INFO] [stdout] 52 +     IO(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SplitToVector` is never used
[INFO] [stdout]  --> src/bin/06.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait SplitToVector<T: FromStr> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/bin/21.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[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 assigned value
[INFO] [stdout]    --> src/bin/21.rs:318:29
[INFO] [stdout]     |
[INFO] [stdout] 318 | ...                   (curr_value + (diff.abs() as u128 * layer_to_finish));
[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] 318 -                             (curr_value + (diff.abs() as u128 * layer_to_finish));
[INFO] [stdout] 318 +                             curr_value + (diff.abs() as u128 * layer_to_finish) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_joker`
[INFO] [stdout]    --> src/bin/07.rs:170:50
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn determine_hand_type_with_joker(&mut self, is_joker: bool) {
[INFO] [stdout]     |                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_joker`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_labels`
[INFO] [stdout]    --> src/bin/07.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let unique_labels: HashSet<char> = self.cards.chars().collect();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_labels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test123`
[INFO] [stdout]    --> src/bin/07.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let test123 = res.clone();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test123`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SplitToVector` is never used
[INFO] [stdout]  --> src/bin/07.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait SplitToVector<T: FromStr> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/14.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     for i in 0..all_it {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/bin/14.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for j in 0..4 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/14.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             for i in 0..start_repeat {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/19.rs:195:21
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let mut part_value = match condition.left.as_str() {
[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: unused variable: `v`
[INFO] [stdout]    --> src/bin/19.rs:316:41
[INFO] [stdout]     |
[INFO] [stdout] 316 |         permutations_list.retain(|(key, v)| {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_new_permutation` is never used
[INFO] [stdout]    --> src/bin/19.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn calc_new_permutation(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/21.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/21.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     for i in 0..target_count {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/21.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut start_positions = find_chars_in_multiline_string(input, 'S').unwrap();
[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/bin/21.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let mut all_positions: &mut Vec<HashSet<(usize, usize)>> =
[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/bin/21.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let mut full_cells2 = parzyste * full_count2 + nieparzyste * full_count1;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sum_all_positions_by_layer` is assigned to, but never used
[INFO] [stdout]    --> src/bin/21.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |             let mut sum_all_positions_by_layer = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sum_all_positions_by_layer` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `all_full_layer_count` is assigned to, but never used
[INFO] [stdout]    --> src/bin/21.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |             let mut all_full_layer_count = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_all_full_layer_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test123`
[INFO] [stdout]    --> src/bin/21.rs:364:17
[INFO] [stdout]     |
[INFO] [stdout] 364 |             let test123 = position.clone();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test123`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/bin/21.rs:369:10
[INFO] [stdout]     |
[INFO] [stdout] 369 |     for (pos, (last_two_len, last_idx)) in &full_layers {
[INFO] [stdout]     |          ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum_all_positions_by_layer` is never read
[INFO] [stdout]    --> src/bin/21.rs:268:17
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 sum_all_positions_by_layer += pos_len;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `all_full_layer_count` is never read
[INFO] [stdout]    --> src/bin/21.rs:317:25
[INFO] [stdout]     |
[INFO] [stdout] 317 | /                         all_full_layer_count +=
[INFO] [stdout] 318 | |                             (curr_value + (diff.abs() as u128 * layer_to_finish));
[INFO] [stdout]     | |_________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `all_full_layer_count` is never read
[INFO] [stdout]    --> src/bin/21.rs:295:17
[INFO] [stdout]     |
[INFO] [stdout] 295 |                 all_full_layer_count += i * 4;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `parzyste` is never read
[INFO] [stdout]    --> src/bin/21.rs:319:25
[INFO] [stdout]     |
[INFO] [stdout] 319 |                         parzyste += curr_value + (diff.abs() as u128 * layer_to_finish);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/16.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_len`
[INFO] [stdout]   --> src/bin/16.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                         let curr_len = next_points2.len();
[INFO] [stdout]    |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `after_len`
[INFO] [stdout]   --> src/bin/16.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                         let after_len = next_points2.len();
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/05.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let mut curr_map: &mut HashMap<(i64, i64), (i64, i64)> =
[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: unused variable: `s2`
[INFO] [stdout]   --> src/bin/05.rs:59:32
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     .map(|(s1, s2)| String::from(s1))
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/bin/05.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |             if let Some(value) = curr_value {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/16.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let mut start_points = if i == 0 && j == 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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/05.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut curr_map: &mut HashMap<(i64, i64), (i64, i64)> =
[INFO] [stdout]     |                     ----^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/bin/05.rs:126:32
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     .map(|(s1, s2)| String::from(s1))
[INFO] [stdout]     |                                ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_group_start` is never read
[INFO] [stdout]    --> src/bin/05.rs:145:31
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let mut new_group_start = 0;
[INFO] [stdout]     |                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_group_end` is never read
[INFO] [stdout]    --> src/bin/05.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut new_group_end = 0;
[INFO] [stdout]     |                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/05.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let mut curr_map: &mut HashMap<(i64, i64), (i64, i64)> =
[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: unused variable: `s2`
[INFO] [stdout]   --> src/bin/05.rs:59:32
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     .map(|(s1, s2)| String::from(s1))
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/bin/05.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |             if let Some(value) = curr_value {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/05.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut curr_map: &mut HashMap<(i64, i64), (i64, i64)> =
[INFO] [stdout]     |                     ----^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/bin/05.rs:126:32
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     .map(|(s1, s2)| String::from(s1))
[INFO] [stdout]     |                                ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_group_start` is never read
[INFO] [stdout]    --> src/bin/05.rs:145:31
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let mut new_group_start = 0;
[INFO] [stdout]     |                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_group_end` is never read
[INFO] [stdout]    --> src/bin/05.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut new_group_end = 0;
[INFO] [stdout]     |                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/bin/02.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let id: i32 = id_str.parse().expect("Missing int");
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::log`
[INFO] [stdout]  --> src/bin/20.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::log;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::id`
[INFO] [stdout]  --> src/bin/20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::id;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/14.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     for i in 0..all_it {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/bin/14.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for j in 0..4 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/14.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             for i in 0..start_repeat {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/11.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result2`
[INFO] [stdout]    --> src/bin/11.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let result2 = (end.0 - start.0).abs() + (end.1 - start.1).abs();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result2`
[INFO] [stdout]    --> src/bin/11.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |             let result2 = (end.0 - start.0).abs() + (end.1 - start.1).abs();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Directions` is never constructed
[INFO] [stdout]  --> src/bin/11.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Directions {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `successors` is never used
[INFO] [stdout]   --> src/bin/11.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl Pos {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 96 |     fn successors(&self) -> Vec<Pos> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/18.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut new_point = match direct {
[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: unused variable: `l1`
[INFO] [stdout]    --> src/bin/18.rs:226:37
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l3`
[INFO] [stdout]    --> src/bin/18.rs:226:45
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_l3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:131:24
[INFO] [stdout]     |
[INFO] [stdout] 131 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:112:28
[INFO] [stdout]     |
[INFO] [stdout] 112 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/18.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let color = parts
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/19.rs:195:21
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let mut part_value = match condition.left.as_str() {
[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: unused variable: `v`
[INFO] [stdout]    --> src/bin/19.rs:316:41
[INFO] [stdout]     |
[INFO] [stdout] 316 |         permutations_list.retain(|(key, v)| {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_new_permutation` is never used
[INFO] [stdout]    --> src/bin/19.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn calc_new_permutation(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:186:14
[INFO] [stdout]     |
[INFO] [stdout] 186 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/04.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |         (0..common_elements.len()).for_each(|i| {
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card_id`
[INFO] [stdout]   --> src/bin/04.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let card_id: i32 = card_id.trim().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:186:22
[INFO] [stdout]     |
[INFO] [stdout] 186 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/bin/10.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/18.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let mut new_point = match direct {
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l1`
[INFO] [stdout]    --> src/bin/18.rs:393:37
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l3`
[INFO] [stdout]    --> src/bin/18.rs:393:45
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_l3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:331:16
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:331:24
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:325:20
[INFO] [stdout]     |
[INFO] [stdout] 325 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:325:28
[INFO] [stdout]     |
[INFO] [stdout] 325 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:318:16
[INFO] [stdout]     |
[INFO] [stdout] 318 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:312:20
[INFO] [stdout]     |
[INFO] [stdout] 312 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:312:28
[INFO] [stdout]     |
[INFO] [stdout] 312 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direct`
[INFO] [stdout]    --> src/bin/18.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_direct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/bin/18.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_col`
[INFO] [stdout]    --> src/bin/18.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let min_col = vectors
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_col`
[INFO] [stdout]    --> src/bin/18.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let max_col = vectors
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:371:14
[INFO] [stdout]     |
[INFO] [stdout] 371 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:371:22
[INFO] [stdout]     |
[INFO] [stdout] 371 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_point` is never used
[INFO] [stdout]  --> src/bin/18.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn add_point<T>(grid: &mut Vec<Vec<T>>, row: &mut i128, col: &mut i128, value: T, default_value: T)
[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 `get_neighbors` is never used
[INFO] [stdout]   --> src/bin/18.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn get_neighbors(grid: &Vec<Vec<String>>, pos: &(usize, usize)) -> Vec<(usize, usize)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/bin/18.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vector` is never constructed
[INFO] [stdout]   --> src/bin/18.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Vector {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]    |                                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:83:45
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |               .unwrap()
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 87 | |             .clone()
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:272:43
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:273:45
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |               .unwrap()
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 277 | |             .clone()
[INFO] [stdout]     | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/bin/21.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[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 assigned value
[INFO] [stdout]    --> src/bin/21.rs:318:29
[INFO] [stdout]     |
[INFO] [stdout] 318 | ...                   (curr_value + (diff.abs() as u128 * layer_to_finish));
[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] 318 -                             (curr_value + (diff.abs() as u128 * layer_to_finish));
[INFO] [stdout] 318 +                             curr_value + (diff.abs() as u128 * layer_to_finish) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_joker`
[INFO] [stdout]    --> src/bin/07.rs:170:50
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn determine_hand_type_with_joker(&mut self, is_joker: bool) {
[INFO] [stdout]     |                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_joker`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unique_labels`
[INFO] [stdout]    --> src/bin/07.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let unique_labels: HashSet<char> = self.cards.chars().collect();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_labels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test123`
[INFO] [stdout]    --> src/bin/07.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let test123 = res.clone();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test123`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SplitToVector` is never used
[INFO] [stdout]  --> src/bin/07.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait SplitToVector<T: FromStr> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/18.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut new_point = match direct {
[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: unused variable: `l1`
[INFO] [stdout]    --> src/bin/18.rs:226:37
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l3`
[INFO] [stdout]    --> src/bin/18.rs:226:45
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_l3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:131:24
[INFO] [stdout]     |
[INFO] [stdout] 131 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SplitToVector` is never used
[INFO] [stdout]  --> src/bin/06.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait SplitToVector<T: FromStr> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/21.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/21.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     for i in 0..target_count {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:112:28
[INFO] [stdout]     |
[INFO] [stdout] 112 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/18.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let color = parts
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:186:14
[INFO] [stdout]     |
[INFO] [stdout] 186 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:186:22
[INFO] [stdout]     |
[INFO] [stdout] 186 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/18.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let mut new_point = match direct {
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l1`
[INFO] [stdout]    --> src/bin/18.rs:393:37
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l3`
[INFO] [stdout]    --> src/bin/18.rs:393:45
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     .flat_map(|(l0, l1, l2, l3)| [*l0, *l2])
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_l3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:331:16
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:331:24
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .map(|(px, py, nx, ny)| py.max(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:325:20
[INFO] [stdout]     |
[INFO] [stdout] 325 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:325:28
[INFO] [stdout]     |
[INFO] [stdout] 325 |         .map(|(px, py, nx, ny)| px.max(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:318:16
[INFO] [stdout]     |
[INFO] [stdout] 318 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 |         .map(|(px, py, nx, ny)| py.min(ny))
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/bin/18.rs:312:20
[INFO] [stdout]     |
[INFO] [stdout] 312 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ny`
[INFO] [stdout]    --> src/bin/18.rs:312:28
[INFO] [stdout]     |
[INFO] [stdout] 312 |         .map(|(px, py, nx, ny)| px.min(nx))
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_ny`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direct`
[INFO] [stdout]    --> src/bin/18.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_direct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/bin/18.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_col`
[INFO] [stdout]    --> src/bin/18.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let min_col = vectors
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_col`
[INFO] [stdout]    --> src/bin/18.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let max_col = vectors
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/bin/18.rs:371:14
[INFO] [stdout]     |
[INFO] [stdout] 371 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nx`
[INFO] [stdout]    --> src/bin/18.rs:371:22
[INFO] [stdout]     |
[INFO] [stdout] 371 |         for (px, py, nx, ny) in &curr_vectors {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_nx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_point` is never used
[INFO] [stdout]  --> src/bin/18.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn add_point<T>(grid: &mut Vec<Vec<T>>, row: &mut i128, col: &mut i128, value: T, default_value: T)
[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 `get_neighbors` is never used
[INFO] [stdout]   --> src/bin/18.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn get_neighbors(grid: &Vec<Vec<String>>, pos: &(usize, usize)) -> Vec<(usize, usize)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/bin/18.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vector` is never constructed
[INFO] [stdout]   --> src/bin/18.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Vector {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]    |                                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:83:45
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bin/18.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |               .unwrap()
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 87 | |             .clone()
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:272:43
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let direct = parts.get(0).unwrap().clone();
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:273:45
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let distance = parts.get(1).unwrap().clone().parse::<i128>().unwrap();
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/18.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |               .unwrap()
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 277 | |             .clone()
[INFO] [stdout]     | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/21.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut start_positions = find_chars_in_multiline_string(input, 'S').unwrap();
[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/bin/21.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let mut all_positions: &mut Vec<HashSet<(usize, usize)>> =
[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/bin/21.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let mut full_cells2 = parzyste * full_count2 + nieparzyste * full_count1;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sum_all_positions_by_layer` is assigned to, but never used
[INFO] [stdout]    --> src/bin/21.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |             let mut sum_all_positions_by_layer = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sum_all_positions_by_layer` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `all_full_layer_count` is assigned to, but never used
[INFO] [stdout]    --> src/bin/21.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |             let mut all_full_layer_count = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_all_full_layer_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test123`
[INFO] [stdout]    --> src/bin/21.rs:364:17
[INFO] [stdout]     |
[INFO] [stdout] 364 |             let test123 = position.clone();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test123`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/bin/21.rs:369:10
[INFO] [stdout]     |
[INFO] [stdout] 369 |     for (pos, (last_two_len, last_idx)) in &full_layers {
[INFO] [stdout]     |          ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sum_all_positions_by_layer` is never read
[INFO] [stdout]    --> src/bin/21.rs:268:17
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 sum_all_positions_by_layer += pos_len;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `all_full_layer_count` is never read
[INFO] [stdout]    --> src/bin/21.rs:317:25
[INFO] [stdout]     |
[INFO] [stdout] 317 | /                         all_full_layer_count +=
[INFO] [stdout] 318 | |                             (curr_value + (diff.abs() as u128 * layer_to_finish));
[INFO] [stdout]     | |_________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `all_full_layer_count` is never read
[INFO] [stdout]    --> src/bin/21.rs:295:17
[INFO] [stdout]     |
[INFO] [stdout] 295 |                 all_full_layer_count += i * 4;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `parzyste` is never read
[INFO] [stdout]    --> src/bin/21.rs:319:25
[INFO] [stdout]     |
[INFO] [stdout] 319 |                         parzyste += curr_value + (diff.abs() as u128 * layer_to_finish);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/bin/17.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]  --> src/bin/17.rs:5:54
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{BinaryHeap, HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/10.rs:163:17
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let mut possible_positions: Vec<(usize, usize)> =
[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/bin/10.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut file_content = String::from(input);
[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/bin/10.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let mut possible_positions: Vec<(usize, usize)> =
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row_mirror_id` is never read
[INFO] [stdout]   --> src/bin/13.rs:20:37
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut row_mirror_id = 0;
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/13.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let mut is_mirror = true;
[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: unused variable: `is_mirror`
[INFO] [stdout]   --> src/bin/13.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let mut is_mirror = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_mirror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row_mirror_id` is never read
[INFO] [stdout]   --> src/bin/13.rs:88:37
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut row_mirror_id = 0;
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/bin/22.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 .filter(|(&k, &ref v)| v.contains(brick_name))
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/bin/17.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]  --> src/bin/17.rs:5:54
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{BinaryHeap, HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::log`
[INFO] [stdout]  --> src/bin/20.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::log;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::id`
[INFO] [stdout]  --> src/bin/20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::id;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/04.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |         (0..common_elements.len()).for_each(|i| {
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card_id`
[INFO] [stdout]   --> src/bin/04.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let card_id: i32 = card_id.trim().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/bin/22.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |             .filter(|(&k, &ref v)| v.contains(&brick.name))
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/bin/02.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let id: i32 = id_str.parse().expect("Missing int");
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/11.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result2`
[INFO] [stdout]    --> src/bin/11.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let result2 = (end.0 - start.0).abs() + (end.1 - start.1).abs();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result2`
[INFO] [stdout]    --> src/bin/11.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |             let result2 = (end.0 - start.0).abs() + (end.1 - start.1).abs();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Directions` is never constructed
[INFO] [stdout]  --> src/bin/11.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Directions {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `successors` is never used
[INFO] [stdout]   --> src/bin/11.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl Pos {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 96 |     fn successors(&self) -> Vec<Pos> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/bin/22.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 .filter(|(&k, &ref v)| v.contains(brick_name))
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/bin/22.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |             .filter(|(&k, &ref v)| v.contains(&brick.name))
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row_mirror_id` is never read
[INFO] [stdout]   --> src/bin/13.rs:20:37
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut row_mirror_id = 0;
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/12.rs:192:26
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn replace_char_at_index(mut input_str: String, index: usize, new_char: char) -> String {
[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/bin/12.rs:192:26
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn replace_char_at_index(mut input_str: String, index: usize, new_char: char) -> String {
[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/bin/13.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let mut is_mirror = true;
[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: unused variable: `is_mirror`
[INFO] [stdout]   --> src/bin/13.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let mut is_mirror = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_mirror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row_mirror_id` is never read
[INFO] [stdout]   --> src/bin/13.rs:88:37
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut row_mirror_id = 0;
[INFO] [stdout]    |                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/bin/03.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .for_each(|(k, v)| sum += v.get(0).expect("Element1") * v.get(1).expect("Element2"));
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/bin/03.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .for_each(|(k, v)| sum += v.get(0).expect("Element1") * v.get(1).expect("Element2"));
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/12.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let mut current_vector: Vec<String> = Vec::new();
[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/bin/12.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let mut current_vector_len = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/12.rs:328:13
[INFO] [stdout]     |
[INFO] [stdout] 328 |         for i in 0..4 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_vector`
[INFO] [stdout]    --> src/bin/12.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let mut current_vector: Vec<String> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_vector_len`
[INFO] [stdout]    --> src/bin/12.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let mut current_vector_len = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_vector_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_hashes` is never used
[INFO] [stdout]    --> src/bin/12.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn count_hashes(input: &str) -> Vec<i32> {
[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 `replace_char_at_index` is never used
[INFO] [stdout]    --> src/bin/12.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn replace_char_at_index(mut input_str: String, index: usize, new_char: char) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_positions` is never used
[INFO] [stdout]    --> src/bin/12.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn find_positions(input_string: &str, target_char: char) -> Vec<usize> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpringPermutationCount` is never constructed
[INFO] [stdout]    --> src/bin/12.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | struct SpringPermutationCount {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/12.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let mut current_vector: Vec<String> = Vec::new();
[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/bin/12.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let mut current_vector_len = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/12.rs:328:13
[INFO] [stdout]     |
[INFO] [stdout] 328 |         for i in 0..4 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_vector`
[INFO] [stdout]    --> src/bin/12.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let mut current_vector: Vec<String> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_vector_len`
[INFO] [stdout]    --> src/bin/12.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let mut current_vector_len = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_vector_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_hashes` is never used
[INFO] [stdout]    --> src/bin/12.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn count_hashes(input: &str) -> Vec<i32> {
[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 `replace_char_at_index` is never used
[INFO] [stdout]    --> src/bin/12.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn replace_char_at_index(mut input_str: String, index: usize, new_char: char) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_positions` is never used
[INFO] [stdout]    --> src/bin/12.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn find_positions(input_string: &str, target_char: char) -> Vec<usize> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpringPermutationCount` is never constructed
[INFO] [stdout]    --> src/bin/12.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | struct SpringPermutationCount {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/bin/10.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/10.rs:163:17
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let mut possible_positions: Vec<(usize, usize)> =
[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/bin/10.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut file_content = String::from(input);
[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/bin/10.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let mut possible_positions: Vec<(usize, usize)> =
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]   --> src/bin/16.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for (line_idx, line) in grid.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_len`
[INFO] [stdout]   --> src/bin/16.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                         let curr_len = next_points2.len();
[INFO] [stdout]    |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `after_len`
[INFO] [stdout]   --> src/bin/16.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                         let after_len = next_points2.len();
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/16.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let mut start_points = if i == 0 && j == 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 18.74s
[INFO] running `Command { std: "docker" "inspect" "475984db2cf64b17bd8d2b648ff20a338297bbaa38ce8ba7a094a20a2e8fc5a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "475984db2cf64b17bd8d2b648ff20a338297bbaa38ce8ba7a094a20a2e8fc5a8", kill_on_drop: false }`
[INFO] [stdout] 475984db2cf64b17bd8d2b648ff20a338297bbaa38ce8ba7a094a20a2e8fc5a8
