[INFO] cloning repository https://github.com/aziegler/aoc2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aziegler/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziegler%2Faoc2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziegler%2Faoc2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2aaaddeae9a610c75c1ce7dbba9a5950603506e
[INFO] checking aziegler/aoc2024 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziegler%2Faoc2024" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/aziegler/aoc2024
[INFO] finished tweaking git repo https://github.com/aziegler/aoc2024
[INFO] tweaked toml for git repo https://github.com/aziegler/aoc2024 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aziegler/aoc2024 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aziegler/aoc2024 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking aziegler/aoc2024 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziegler%2Faoc2024" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/aziegler/aoc2024
[INFO] finished tweaking git repo https://github.com/aziegler/aoc2024
[INFO] tweaked toml for git repo https://github.com/aziegler/aoc2024 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aziegler/aoc2024 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aziegler/aoc2024 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_lex v0.7.3
[INFO] [stderr]   Downloaded clap v4.5.21
[INFO] [stderr]   Downloaded codspeed-criterion-compat v2.7.2
[INFO] [stderr]   Downloaded codspeed v2.7.2
[INFO] [stderr]   Downloaded clap_builder v4.5.21
[INFO] [stderr]   Downloaded web-sys v0.3.66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d26a26cee18280926942c4c4605768e68e84baa2649e10df0adab9d353c5bd4c
[INFO] running `Command { std: "docker" "start" "-a" "d26a26cee18280926942c4c4605768e68e84baa2649e10df0adab9d353c5bd4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d26a26cee18280926942c4c4605768e68e84baa2649e10df0adab9d353c5bd4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d26a26cee18280926942c4c4605768e68e84baa2649e10df0adab9d353c5bd4c", kill_on_drop: false }`
[INFO] [stdout] d26a26cee18280926942c4c4605768e68e84baa2649e10df0adab9d353c5bd4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c4fdb12a68d884219fb4ebd90ea2e057f55430c29823972c67e5fe993d859dc
[INFO] running `Command { std: "docker" "start" "-a" "8c4fdb12a68d884219fb4ebd90ea2e057f55430c29823972c67e5fe993d859dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking tinyjson v2.5.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking clap_lex v0.7.3
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]    Compiling codspeed-criterion-compat v2.7.2
[INFO] [stderr]     Checking clap_builder v4.5.21
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking clap v4.5.21
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]     Checking advent_of_code v0.11.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/14.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if (mean_variation.0 < 30 && mean_variation.1 < 30) {
[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] 25 -         if (mean_variation.0 < 30 && mean_variation.1 < 30) {
[INFO] [stdout] 25 +         if mean_variation.0 < 30 && mean_variation.1 < 30  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/14.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 |     if (return_val < 0 || return_val >= bound as isize) {
[INFO] [stdout]     |        ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     if (return_val < 0 || return_val >= bound as isize) {
[INFO] [stdout] 111 +     if return_val < 0 || return_val >= bound as isize  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `newline`
[INFO] [stdout]  --> src/bin/07.rs:5:48
[INFO] [stdout]   |
[INFO] [stdout] 5 |     character::complete::{digit1, line_ending, newline},
[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: `ops::BitXor`
[INFO] [stdout]  --> src/bin/22.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitXor,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/22.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     for i in (0..3) {
[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] 43 -     for i in (0..3) {
[INFO] [stdout] 43 +     for i in 0..3  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/22.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     for i in (3..iteration) {
[INFO] [stdout]    |              ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     for i in (3..iteration) {
[INFO] [stdout] 49 +     for i in 3..iteration  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `usize::MAX`
[INFO] [stdout]  --> src/bin/05.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::Ordering, collections::HashMap, usize::MAX};
[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: `newline`
[INFO] [stdout]  --> src/bin/05.rs:5:48
[INFO] [stdout]   |
[INFO] [stdout] 5 |     character::complete::{digit1, line_ending, newline},
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `opt` and `terminated`
[INFO] [stdout]  --> src/bin/17.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     combinator::{map_res, opt},
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 8 |     multi::{many1, separated_list1},
[INFO] [stdout] 9 |     sequence::{preceded, separated_pair, terminated},
[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 `while` condition
[INFO] [stdout]   --> src/bin/17.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 |     while (addr < program.len()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -     while (addr < program.len()) {
[INFO] [stdout] 23 +     while addr < program.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/bin/17.rs:81:11
[INFO] [stdout]    |
[INFO] [stdout] 81 |     while (addr < program.len()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -     while (addr < program.len()) {
[INFO] [stdout] 81 +     while addr < program.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/bin/20.rs:17:38
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 .map(|(x, ch)| match (ch) {
[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] 17 -                 .map(|(x, ch)| match (ch) {
[INFO] [stdout] 17 +                 .map(|(x, ch)| match ch  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/bin/16.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 .map(|(x, ch)| match (ch) {
[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] 14 -                 .map(|(x, ch)| match (ch) {
[INFO] [stdout] 14 +                 .map(|(x, ch)| match ch  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init_secret`
[INFO] [stdout]   --> src/bin/22.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let init_secret = secret;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_secret`
[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/22.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     for i in (0..3) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/22.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     for i in (3..iteration) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/14.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/16.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmp::min` and `usize::MAX`
[INFO] [stdout]  --> src/bin/13.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::min, usize::MAX};
[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 variable: `rem`
[INFO] [stdout]   --> src/bin/17.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let (rem, program) = program(rem).unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_rem`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rem`
[INFO] [stdout]   --> src/bin/17.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (rem, program) = program(rem).unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_rem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/20.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/19.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/bin/18.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     for i in (1024..obstacles.len()) {
[INFO] [stdout]     |              ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 120 -     for i in (1024..obstacles.len()) {
[INFO] [stdout] 120 +     for i in 1024..obstacles.len()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/15.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 |     if (step == '<') {
[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] 97 -     if (step == '<') {
[INFO] [stdout] 97 +     if step == '<'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 if (do_it) {
[INFO] [stdout]     |                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 -                 if (do_it) {
[INFO] [stdout] 101 +                 if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 if (move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)) {
[INFO] [stdout]     |                    ^                                                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                 if (move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)) {
[INFO] [stdout] 108 +                 if move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 -                     if (do_it) {
[INFO] [stdout] 109 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     } else if (step == '>') {
[INFO] [stdout]     |               ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -     } else if (step == '>') {
[INFO] [stdout] 118 +     } else if step == '>'  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 if (move_crate(map, step, compute_second_pos(new_crate_pos), do_it)) {
[INFO] [stdout]     |                    ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -                 if (move_crate(map, step, compute_second_pos(new_crate_pos), do_it)) {
[INFO] [stdout] 127 +                 if move_crate(map, step, compute_second_pos(new_crate_pos), do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:128:24
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 128 -                     if (do_it) {
[INFO] [stdout] 128 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:141:20
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 if (do_it) {
[INFO] [stdout]     |                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -                 if (do_it) {
[INFO] [stdout] 141 +                 if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:147:20
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 if (move_crate(map, step, new_crate_pos, do_it)) {
[INFO] [stdout]     |                    ^                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -                 if (move_crate(map, step, new_crate_pos, do_it)) {
[INFO] [stdout] 147 +                 if move_crate(map, step, new_crate_pos, do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -                     if (do_it) {
[INFO] [stdout] 148 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -                     if (do_it) {
[INFO] [stdout] 158 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                     if (do_it) {
[INFO] [stdout] 168 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:180:24
[INFO] [stdout]     |
[INFO] [stdout] 180 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 180 -                     if (do_it) {
[INFO] [stdout] 180 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Crate_Left` should have an upper camel case name
[INFO] [stdout]    --> src/bin/15.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 |     Crate_Left,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `CrateLeft`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Crate_Right` should have an upper camel case name
[INFO] [stdout]    --> src/bin/15.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 258 |     Crate_Right,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CrateRight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/19.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/bin/01.rs:15:43
[INFO] [stdout]    |
[INFO] [stdout] 15 |             .fold(0, |acc, (left, right)| (acc + abs(left - right))),
[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] 15 -             .fold(0, |acc, (left, right)| (acc + abs(left - right))),
[INFO] [stdout] 15 +             .fold(0, |acc, (left, right)| acc + abs(left - right) ),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/bin/08.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |         .map(|(c, locs)| {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/15.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[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 `val` is never read
[INFO] [stdout]    --> src/bin/18.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut val = None;
[INFO] [stdout]     |                   ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 131 |             val = Some(*obstacles.get(i - 1).unwrap());
[INFO] [stdout]     |             ------------------------------------------ `val` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pause` is never used
[INFO] [stdout]   --> src/bin/15.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn pause() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking codspeed v2.7.2
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stdout] warning: unused import: `ops::BitXor`
[INFO] [stdout]  --> src/bin/22.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitXor,
[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 closure body
[INFO] [stdout]   --> src/bin/01.rs:15:43
[INFO] [stdout]    |
[INFO] [stdout] 15 |             .fold(0, |acc, (left, right)| (acc + abs(left - right))),
[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] 15 -             .fold(0, |acc, (left, right)| (acc + abs(left - right))),
[INFO] [stdout] 15 +             .fold(0, |acc, (left, right)| acc + abs(left - right) ),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/22.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     for i in (0..3) {
[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] 43 -     for i in (0..3) {
[INFO] [stdout] 43 +     for i in 0..3  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/22.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     for i in (3..iteration) {
[INFO] [stdout]    |              ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     for i in (3..iteration) {
[INFO] [stdout] 49 +     for i in 3..iteration  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/bin/16.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 .map(|(x, ch)| match (ch) {
[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] 14 -                 .map(|(x, ch)| match (ch) {
[INFO] [stdout] 14 +                 .map(|(x, ch)| match ch  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/15.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 |     if (step == '<') {
[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] 97 -     if (step == '<') {
[INFO] [stdout] 97 +     if step == '<'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 if (do_it) {
[INFO] [stdout]     |                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 -                 if (do_it) {
[INFO] [stdout] 101 +                 if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 if (move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)) {
[INFO] [stdout]     |                    ^                                                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                 if (move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)) {
[INFO] [stdout] 108 +                 if move_crate(map, step, (new_crate_pos.0 - 1, new_crate_pos.1), do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 -                     if (do_it) {
[INFO] [stdout] 109 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     } else if (step == '>') {
[INFO] [stdout]     |               ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -     } else if (step == '>') {
[INFO] [stdout] 118 +     } else if step == '>'  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 if (move_crate(map, step, compute_second_pos(new_crate_pos), do_it)) {
[INFO] [stdout]     |                    ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -                 if (move_crate(map, step, compute_second_pos(new_crate_pos), do_it)) {
[INFO] [stdout] 127 +                 if move_crate(map, step, compute_second_pos(new_crate_pos), do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:128:24
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 128 -                     if (do_it) {
[INFO] [stdout] 128 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:141:20
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 if (do_it) {
[INFO] [stdout]     |                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -                 if (do_it) {
[INFO] [stdout] 141 +                 if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:147:20
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 if (move_crate(map, step, new_crate_pos, do_it)) {
[INFO] [stdout]     |                    ^                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -                 if (move_crate(map, step, new_crate_pos, do_it)) {
[INFO] [stdout] 147 +                 if move_crate(map, step, new_crate_pos, do_it)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -                     if (do_it) {
[INFO] [stdout] 148 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -                     if (do_it) {
[INFO] [stdout] 158 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                     if (do_it) {
[INFO] [stdout] 168 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/15.rs:180:24
[INFO] [stdout]     |
[INFO] [stdout] 180 |                     if (do_it) {
[INFO] [stdout]     |                        ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 180 -                     if (do_it) {
[INFO] [stdout] 180 +                     if do_it  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Crate_Left` should have an upper camel case name
[INFO] [stdout]    --> src/bin/15.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 |     Crate_Left,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `CrateLeft`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Crate_Right` should have an upper camel case name
[INFO] [stdout]    --> src/bin/15.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 258 |     Crate_Right,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CrateRight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/19.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[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 variable: `init_secret`
[INFO] [stdout]   --> src/bin/22.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let init_secret = secret;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_secret`
[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/22.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     for i in (0..3) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/22.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     for i in (3..iteration) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/14.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if (mean_variation.0 < 30 && mean_variation.1 < 30) {
[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] 25 -         if (mean_variation.0 < 30 && mean_variation.1 < 30) {
[INFO] [stdout] 25 +         if mean_variation.0 < 30 && mean_variation.1 < 30  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/14.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 |     if (return_val < 0 || return_val >= bound as isize) {
[INFO] [stdout]     |        ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     if (return_val < 0 || return_val >= bound as isize) {
[INFO] [stdout] 111 +     if return_val < 0 || return_val >= bound as isize  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/bin/18.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     for i in (1024..obstacles.len()) {
[INFO] [stdout]     |              ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 120 -     for i in (1024..obstacles.len()) {
[INFO] [stdout] 120 +     for i in 1024..obstacles.len()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `newline`
[INFO] [stdout]  --> src/bin/07.rs:5:48
[INFO] [stdout]   |
[INFO] [stdout] 5 |     character::complete::{digit1, line_ending, newline},
[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 variable: `input`
[INFO] [stdout]   --> src/bin/16.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/15.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/bin/08.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |         .map(|(c, locs)| {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pause` is never used
[INFO] [stdout]   --> src/bin/15.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn pause() {
[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: `input`
[INFO] [stdout]   --> src/bin/19.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/14.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `usize::MAX`
[INFO] [stdout]  --> src/bin/05.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::Ordering, collections::HashMap, usize::MAX};
[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: `newline`
[INFO] [stdout]  --> src/bin/05.rs:5:48
[INFO] [stdout]   |
[INFO] [stdout] 5 |     character::complete::{digit1, line_ending, newline},
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `val` is never read
[INFO] [stdout]    --> src/bin/18.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut val = None;
[INFO] [stdout]     |                   ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 131 |             val = Some(*obstacles.get(i - 1).unwrap());
[INFO] [stdout]     |             ------------------------------------------ `val` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/bin/20.rs:17:38
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 .map(|(x, ch)| match (ch) {
[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] 17 -                 .map(|(x, ch)| match (ch) {
[INFO] [stdout] 17 +                 .map(|(x, ch)| match ch  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmp::min` and `usize::MAX`
[INFO] [stdout]  --> src/bin/13.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::min, usize::MAX};
[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 imports: `opt` and `terminated`
[INFO] [stdout]  --> src/bin/17.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     combinator::{map_res, opt},
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 8 |     multi::{many1, separated_list1},
[INFO] [stdout] 9 |     sequence::{preceded, separated_pair, terminated},
[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 `while` condition
[INFO] [stdout]   --> src/bin/17.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 |     while (addr < program.len()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -     while (addr < program.len()) {
[INFO] [stdout] 23 +     while addr < program.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/bin/17.rs:81:11
[INFO] [stdout]    |
[INFO] [stdout] 81 |     while (addr < program.len()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -     while (addr < program.len()) {
[INFO] [stdout] 81 +     while addr < program.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rem`
[INFO] [stdout]   --> src/bin/17.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let (rem, program) = program(rem).unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_rem`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/20.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn part_two(input: &str) -> Option<u32> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rem`
[INFO] [stdout]   --> src/bin/17.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (rem, program) = program(rem).unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_rem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.96s
[INFO] running `Command { std: "docker" "inspect" "8c4fdb12a68d884219fb4ebd90ea2e057f55430c29823972c67e5fe993d859dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c4fdb12a68d884219fb4ebd90ea2e057f55430c29823972c67e5fe993d859dc", kill_on_drop: false }`
[INFO] [stdout] 8c4fdb12a68d884219fb4ebd90ea2e057f55430c29823972c67e5fe993d859dc
