[INFO] cloning repository https://github.com/arjovanramshorst/advent-of-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arjovanramshorst/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjovanramshorst%2Fadvent-of-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjovanramshorst%2Fadvent-of-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] faa27087d680fc04318a2e7916b01e5549da9b15
[INFO] building arjovanramshorst/advent-of-code/faa27087d680fc04318a2e7916b01e5549da9b15 against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjovanramshorst%2Fadvent-of-code" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/arjovanramshorst/advent-of-code
[INFO] finished tweaking git repo https://github.com/arjovanramshorst/advent-of-code
[INFO] tweaked toml for git repo https://github.com/arjovanramshorst/advent-of-code written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/arjovanramshorst/advent-of-code on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/arjovanramshorst/advent-of-code 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.97
[INFO] [stderr]   Downloaded indicatif v0.17.9
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.97
[INFO] [stderr]   Downloaded js-sys v0.3.74
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.97
[INFO] [stderr]   Downloaded libc v0.2.167
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3aa18849764bd743a70c0888ee96c0bd9e981b3b23634808399bf05d9a2ca2b1
[INFO] running `Command { std: "docker" "start" "-a" "3aa18849764bd743a70c0888ee96c0bd9e981b3b23634808399bf05d9a2ca2b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3aa18849764bd743a70c0888ee96c0bd9e981b3b23634808399bf05d9a2ca2b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3aa18849764bd743a70c0888ee96c0bd9e981b3b23634808399bf05d9a2ca2b1", kill_on_drop: false }`
[INFO] [stdout] 3aa18849764bd743a70c0888ee96c0bd9e981b3b23634808399bf05d9a2ca2b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2471fce88289f6d4d3b37590e14b99efc7cf7744661eb96c51b3cbd28fab7c0
[INFO] running `Command { std: "docker" "start" "-a" "f2471fce88289f6d4d3b37590e14b99efc7cf7744661eb96c51b3cbd28fab7c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling lib v0.1.0 (/opt/rustwide/workdir/lib)
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling portable-atomic v1.10.0
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling day00 v0.1.0 (/opt/rustwide/workdir/day00)
[INFO] [stderr]    Compiling day2401 v0.1.0 (/opt/rustwide/workdir/day2401)
[INFO] [stderr]    Compiling day2402 v0.1.0 (/opt/rustwide/workdir/day2402)
[INFO] [stderr]    Compiling day2404 v0.1.0 (/opt/rustwide/workdir/day2404)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2404/src/ex_1.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |     return if (str == "XMAS" || str == "SAMX") {
[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] 34 -     return if (str == "XMAS" || str == "SAMX") {
[INFO] [stdout] 34 +     return if str == "XMAS" || str == "SAMX"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2404/src/ex_2.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     return if (str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM") {
[INFO] [stdout]    |               ^                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -     return if (str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM") {
[INFO] [stdout] 19 +     return if str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]  --> day00/src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn solve(input: &str) -> &str {
[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] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> lib/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling day2405 v0.1.0 (/opt/rustwide/workdir/day2405)
[INFO] [stderr]    Compiling day2407 v0.1.0 (/opt/rustwide/workdir/day2407)
[INFO] [stderr]    Compiling day2409 v0.1.0 (/opt/rustwide/workdir/day2409)
[INFO] [stderr]    Compiling day2408 v0.1.0 (/opt/rustwide/workdir/day2408)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2408/src/ex_1.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if (*char != '.') {
[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 -             if (*char != '.') {
[INFO] [stdout] 17 +             if *char != '.'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if (*char != '.') {
[INFO] [stdout]    |                ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -             if (*char != '.') {
[INFO] [stdout] 17 +             if *char != '.'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout]    |                   ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout] 39 +             while finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout]    |                   ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout] 50 +             while finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `char`
[INFO] [stdout]   --> day2408/src/ex_1.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |     nodes_per_char.iter().for_each(|(char, points)| {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `char`
[INFO] [stdout]   --> day2408/src/ex_2.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |     nodes_per_char.iter().for_each(|(char, points)| {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> day2407/src/ex_1.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let count = vals.iter().count() as u64;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> day2407/src/ex_2.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let count = vals.iter().count() as u64;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lib::*`
[INFO] [stdout]  --> day2409/src/ex_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::*;
[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 `if` condition
[INFO] [stdout]  --> day2409/src/ex_1.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 |             let count: usize = if (!char.is_digit(10)) {
[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] 9 -             let count: usize = if (!char.is_digit(10)) {
[INFO] [stdout] 9 +             let count: usize = if !char.is_digit(10)  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |             } else if (i % 2 == 0) {
[INFO] [stdout]    |                       ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -             } else if (i % 2 == 0) {
[INFO] [stdout] 11 +             } else if i % 2 == 0  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     while (finger_left <= finger_right) {
[INFO] [stdout]    |           ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     while (finger_left <= finger_right) {
[INFO] [stdout] 27 +     while finger_left <= finger_right  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if (arr[finger_left] == last_id_left) {
[INFO] [stdout]    |            ^                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if (arr[finger_left] == last_id_left) {
[INFO] [stdout] 28 +         if arr[finger_left] == last_id_left  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lib::*`
[INFO] [stdout]  --> day2409/src/ex_2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_2.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let count = if (!char.is_digit(10)) {
[INFO] [stdout]    |                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let count = if (!char.is_digit(10)) {
[INFO] [stdout] 26 +         let count = if !char.is_digit(10)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_2.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let value = if (i % 2 == 0) {
[INFO] [stdout]    |                        ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -         let value = if (i % 2 == 0) {
[INFO] [stdout] 32 +         let value = if i % 2 == 0  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2409/src/ex_2.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |         match (empty) {
[INFO] [stdout]    |               ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 58 -         match (empty) {
[INFO] [stdout] 58 +         match empty  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_1.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 if (invalid.contains(it)) {
[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] 20 -                 if (invalid.contains(it)) {
[INFO] [stdout] 20 +                 if invalid.contains(it)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_1.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     if (to_invalidate.is_some()) {
[INFO] [stdout]    |                        ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     if (to_invalidate.is_some()) {
[INFO] [stdout] 24 +                     if to_invalidate.is_some()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 if (invalid.contains(it)) {
[INFO] [stdout]    |                    ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -                 if (invalid.contains(it)) {
[INFO] [stdout] 20 +                 if invalid.contains(it)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     if (to_invalidate.is_some()) {
[INFO] [stdout]    |                        ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     if (to_invalidate.is_some()) {
[INFO] [stdout] 24 +                     if to_invalidate.is_some()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 if (ordering.contains_key(a) && ordering[a].contains(b)) {
[INFO] [stdout]    |                    ^                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -                 if (ordering.contains_key(a) && ordering[a].contains(b)) {
[INFO] [stdout] 40 +                 if ordering.contains_key(a) && ordering[a].contains(b)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 } else if (ordering.contains_key(b) && ordering[b].contains(a)) {
[INFO] [stdout]    |                           ^                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                 } else if (ordering.contains_key(b) && ordering[b].contains(a)) {
[INFO] [stdout] 42 +                 } else if ordering.contains_key(b) && ordering[b].contains(a)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> day2405/src/ex_1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(input: &str) -> 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: variable does not need to be mutable
[INFO] [stdout]   --> day2409/src/ex_2.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut value_map: Vec<&Entry> = arr_map.iter().filter(|it| it.value.is_some()).collect();
[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: `idx`
[INFO] [stdout]   --> day2409/src/ex_2.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .find(|(idx, empty)| empty.count >= entry.count && empty.idx < entry.idx)
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> day2409/src/ex_1.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 &space.push(char.to_digit(10).unwrap() as usize);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 let _ = &space.push(char.to_digit(10).unwrap() as usize);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling indicatif v0.17.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling day05 v0.1.0 (/opt/rustwide/workdir/old05)
[INFO] [stderr]    Compiling day2403 v0.1.0 (/opt/rustwide/workdir/day2403)
[INFO] [stderr]    Compiling day04 v0.1.0 (/opt/rustwide/workdir/old04)
[INFO] [stderr]    Compiling day03 v0.1.0 (/opt/rustwide/workdir/old03)
[INFO] [stderr]    Compiling old06 v0.1.0 (/opt/rustwide/workdir/old06)
[INFO] [stderr]    Compiling day01 v0.1.0 (/opt/rustwide/workdir/old01)
[INFO] [stderr]    Compiling day02 v0.1.0 (/opt/rustwide/workdir/old02)
[INFO] [stdout] warning: unused import: `lib::NrString`
[INFO] [stdout]  --> old06/src/ex_2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::NrString;
[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: `max`
[INFO] [stdout]  --> old05/src/ex_2.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{max, min};
[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 `if` condition
[INFO] [stdout]   --> old05/src/ex_2.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let res = if (other.start <= self.start && other.end >= self.end) {
[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] 24 -         let res = if (other.start <= self.start && other.end >= self.end) {
[INFO] [stdout] 24 +         let res = if other.start <= self.start && other.end >= self.end  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> old05/src/ex_2.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if (self.end <= other.start || self.start >= other.end) {
[INFO] [stdout]    |                   ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -         } else if (self.end <= other.start || self.start >= other.end) {
[INFO] [stdout] 27 +         } else if self.end <= other.start || self.start >= other.end  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]  --> old04/src/ex_2.rs:7:62
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut card_count = Vec::from_iter((0..line_count).map(|it| 1));
[INFO] [stdout]   |                                                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> old04/src/ex_1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(input: &str) -> String {
[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 `dst_end` is never used
[INFO] [stdout]    --> old05/src/ex_2.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Mapping {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn dst_end(&self) -> usize {
[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 `main` is never used
[INFO] [stdout]  --> old03/src/ex_1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() {
[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 borrow that must be used
[INFO] [stdout]   --> old03/src/ex_2.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 | /                         &gear_map
[INFO] [stdout] 74 | |                             .entry(*xy)
[INFO] [stdout] 75 | |                             .or_insert_with(Vec::new)
[INFO] [stdout] 76 | |                             .push(part_number.id);
[INFO] [stdout]    | |_________________________________________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 73 |                         let _ = &gear_map
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling day2406 v0.1.0 (/opt/rustwide/workdir/day2406)
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |         match (c) {
[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] 46 -         match (c) {
[INFO] [stdout] 46 +         match c  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |         match (self) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -         match (self) {
[INFO] [stdout] 55 +         match self  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |         match (self) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -         match (self) {
[INFO] [stdout] 79 +         match self  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2406/src/main.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |             if (obstruction.is_some() && new_point == obstruction.unwrap()) {
[INFO] [stdout]    |                ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -             if (obstruction.is_some() && new_point == obstruction.unwrap()) {
[INFO] [stdout] 99 +             if obstruction.is_some() && new_point == obstruction.unwrap()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s
[INFO] running `Command { std: "docker" "inspect" "f2471fce88289f6d4d3b37590e14b99efc7cf7744661eb96c51b3cbd28fab7c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2471fce88289f6d4d3b37590e14b99efc7cf7744661eb96c51b3cbd28fab7c0", kill_on_drop: false }`
[INFO] [stdout] f2471fce88289f6d4d3b37590e14b99efc7cf7744661eb96c51b3cbd28fab7c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b6421d45144648435937f2f64c89215b56ace7adbe34317957c11fd6f579681
[INFO] running `Command { std: "docker" "start" "-a" "8b6421d45144648435937f2f64c89215b56ace7adbe34317957c11fd6f579681", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> lib/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling day2406 v0.1.0 (/opt/rustwide/workdir/day2406)
[INFO] [stderr]    Compiling day05 v0.1.0 (/opt/rustwide/workdir/old05)
[INFO] [stderr]    Compiling day2405 v0.1.0 (/opt/rustwide/workdir/day2405)
[INFO] [stderr]    Compiling day2407 v0.1.0 (/opt/rustwide/workdir/day2407)
[INFO] [stderr]    Compiling day2409 v0.1.0 (/opt/rustwide/workdir/day2409)
[INFO] [stderr]    Compiling old06 v0.1.0 (/opt/rustwide/workdir/old06)
[INFO] [stderr]    Compiling day2408 v0.1.0 (/opt/rustwide/workdir/day2408)
[INFO] [stderr]    Compiling day04 v0.1.0 (/opt/rustwide/workdir/old04)
[INFO] [stderr]    Compiling day02 v0.1.0 (/opt/rustwide/workdir/old02)
[INFO] [stderr]    Compiling day2403 v0.1.0 (/opt/rustwide/workdir/day2403)
[INFO] [stderr]    Compiling day03 v0.1.0 (/opt/rustwide/workdir/old03)
[INFO] [stderr]    Compiling day01 v0.1.0 (/opt/rustwide/workdir/old01)
[INFO] [stderr]    Compiling day00 v0.1.0 (/opt/rustwide/workdir/day00)
[INFO] [stderr]    Compiling day2401 v0.1.0 (/opt/rustwide/workdir/day2401)
[INFO] [stderr]    Compiling lib v0.1.0 (/opt/rustwide/workdir/lib)
[INFO] [stderr]    Compiling day2402 v0.1.0 (/opt/rustwide/workdir/day2402)
[INFO] [stdout] warning: unused import: `lib::*`
[INFO] [stdout]  --> day2409/src/ex_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::*;
[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 `if` condition
[INFO] [stdout]  --> day2409/src/ex_1.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 |             let count: usize = if (!char.is_digit(10)) {
[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] 9 -             let count: usize = if (!char.is_digit(10)) {
[INFO] [stdout] 9 +             let count: usize = if !char.is_digit(10)  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |             } else if (i % 2 == 0) {
[INFO] [stdout]    |                       ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -             } else if (i % 2 == 0) {
[INFO] [stdout] 11 +             } else if i % 2 == 0  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     while (finger_left <= finger_right) {
[INFO] [stdout]    |           ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     while (finger_left <= finger_right) {
[INFO] [stdout] 27 +     while finger_left <= finger_right  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_1.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if (arr[finger_left] == last_id_left) {
[INFO] [stdout]    |            ^                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if (arr[finger_left] == last_id_left) {
[INFO] [stdout] 28 +         if arr[finger_left] == last_id_left  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lib::*`
[INFO] [stdout]  --> day2409/src/ex_2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::*;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_2.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let count = if (!char.is_digit(10)) {
[INFO] [stdout]    |                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let count = if (!char.is_digit(10)) {
[INFO] [stdout] 26 +         let count = if !char.is_digit(10)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2409/src/ex_2.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let value = if (i % 2 == 0) {
[INFO] [stdout]    |                        ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -         let value = if (i % 2 == 0) {
[INFO] [stdout] 32 +         let value = if i % 2 == 0  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2409/src/ex_2.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |         match (empty) {
[INFO] [stdout]    |               ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 58 -         match (empty) {
[INFO] [stdout] 58 +         match empty  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> day2409/src/ex_2.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut value_map: Vec<&Entry> = arr_map.iter().filter(|it| it.value.is_some()).collect();
[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: `idx`
[INFO] [stdout]   --> day2409/src/ex_2.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .find(|(idx, empty)| empty.count >= entry.count && empty.idx < entry.idx)
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> day2409/src/ex_1.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 &space.push(char.to_digit(10).unwrap() as usize);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 let _ = &space.push(char.to_digit(10).unwrap() as usize);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_1.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 if (invalid.contains(it)) {
[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] 20 -                 if (invalid.contains(it)) {
[INFO] [stdout] 20 +                 if invalid.contains(it)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_1.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     if (to_invalidate.is_some()) {
[INFO] [stdout]    |                        ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     if (to_invalidate.is_some()) {
[INFO] [stdout] 24 +                     if to_invalidate.is_some()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 if (invalid.contains(it)) {
[INFO] [stdout]    |                    ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -                 if (invalid.contains(it)) {
[INFO] [stdout] 20 +                 if invalid.contains(it)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     if (to_invalidate.is_some()) {
[INFO] [stdout]    |                        ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     if (to_invalidate.is_some()) {
[INFO] [stdout] 24 +                     if to_invalidate.is_some()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 if (ordering.contains_key(a) && ordering[a].contains(b)) {
[INFO] [stdout]    |                    ^                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -                 if (ordering.contains_key(a) && ordering[a].contains(b)) {
[INFO] [stdout] 40 +                 if ordering.contains_key(a) && ordering[a].contains(b)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2405/src/ex_2.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 } else if (ordering.contains_key(b) && ordering[b].contains(a)) {
[INFO] [stdout]    |                           ^                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                 } else if (ordering.contains_key(b) && ordering[b].contains(a)) {
[INFO] [stdout] 42 +                 } else if ordering.contains_key(b) && ordering[b].contains(a)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> day2405/src/ex_1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(input: &str) -> 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: unused import: `max`
[INFO] [stdout]  --> old05/src/ex_2.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{max, min};
[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 `if` condition
[INFO] [stdout]   --> old05/src/ex_2.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let res = if (other.start <= self.start && other.end >= self.end) {
[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] 24 -         let res = if (other.start <= self.start && other.end >= self.end) {
[INFO] [stdout] 24 +         let res = if other.start <= self.start && other.end >= self.end  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> old05/src/ex_2.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if (self.end <= other.start || self.start >= other.end) {
[INFO] [stdout]    |                   ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -         } else if (self.end <= other.start || self.start >= other.end) {
[INFO] [stdout] 27 +         } else if self.end <= other.start || self.start >= other.end  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2408/src/ex_1.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if (*char != '.') {
[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 -             if (*char != '.') {
[INFO] [stdout] 17 +             if *char != '.'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if (*char != '.') {
[INFO] [stdout]    |                ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -             if (*char != '.') {
[INFO] [stdout] 17 +             if *char != '.'  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout]    |                   ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout] 39 +             while finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> day2408/src/ex_2.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout]    |                   ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -             while (finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height) {
[INFO] [stdout] 50 +             while finger.x >= 0 && finger.x < width && finger.y >= 0 && finger.y < height  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |         match (c) {
[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] 46 -         match (c) {
[INFO] [stdout] 46 +         match c  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |         match (self) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -         match (self) {
[INFO] [stdout] 55 +         match self  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]  --> old04/src/ex_2.rs:7:62
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut card_count = Vec::from_iter((0..line_count).map(|it| 1));
[INFO] [stdout]   |                                                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> old04/src/ex_1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(input: &str) -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> day2406/src/main.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |         match (self) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -         match (self) {
[INFO] [stdout] 79 +         match self  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2406/src/main.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |             if (obstruction.is_some() && new_point == obstruction.unwrap()) {
[INFO] [stdout]    |                ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -             if (obstruction.is_some() && new_point == obstruction.unwrap()) {
[INFO] [stdout] 99 +             if obstruction.is_some() && new_point == obstruction.unwrap()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `char`
[INFO] [stdout]   --> day2408/src/ex_1.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |     nodes_per_char.iter().for_each(|(char, points)| {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `char`
[INFO] [stdout]   --> day2408/src/ex_2.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |     nodes_per_char.iter().for_each(|(char, points)| {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lib::NrString`
[INFO] [stdout]  --> old06/src/ex_2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lib::NrString;
[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::collections::HashSet`
[INFO] [stdout]  --> lib/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::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: method `dst_end` is never used
[INFO] [stdout]    --> old05/src/ex_2.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Mapping {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn dst_end(&self) -> usize {
[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: `count`
[INFO] [stdout]   --> day2407/src/ex_1.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let count = vals.iter().count() as u64;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling day2404 v0.1.0 (/opt/rustwide/workdir/day2404)
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]  --> day00/src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn solve(input: &str) -> &str {
[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: `count`
[INFO] [stdout]   --> day2407/src/ex_2.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let count = vals.iter().count() as u64;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2404/src/ex_1.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |     return if (str == "XMAS" || str == "SAMX") {
[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] 34 -     return if (str == "XMAS" || str == "SAMX") {
[INFO] [stdout] 34 +     return if str == "XMAS" || str == "SAMX"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> day2404/src/ex_2.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     return if (str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM") {
[INFO] [stdout]    |               ^                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 -     return if (str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM") {
[INFO] [stdout] 19 +     return if str == "MMASS" || str == "MSAMS" || str == "SMASM" || str == "SSAMM"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> old03/src/ex_1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() {
[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 borrow that must be used
[INFO] [stdout]   --> old03/src/ex_2.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 | /                         &gear_map
[INFO] [stdout] 74 | |                             .entry(*xy)
[INFO] [stdout] 75 | |                             .or_insert_with(Vec::new)
[INFO] [stdout] 76 | |                             .push(part_number.id);
[INFO] [stdout]    | |_________________________________________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 73 |                         let _ = &gear_map
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "8b6421d45144648435937f2f64c89215b56ace7adbe34317957c11fd6f579681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b6421d45144648435937f2f64c89215b56ace7adbe34317957c11fd6f579681", kill_on_drop: false }`
[INFO] [stdout] 8b6421d45144648435937f2f64c89215b56ace7adbe34317957c11fd6f579681
