[INFO] cloning repository https://github.com/wwdegroot/aoc-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wwdegroot/aoc-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwdegroot%2Faoc-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwdegroot%2Faoc-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47f709a0ccca06ba316ddfa00aa8d4eee83250c6 [INFO] checking wwdegroot/aoc-2024 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwdegroot%2Faoc-2024" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/wwdegroot/aoc-2024 [INFO] finished tweaking git repo https://github.com/wwdegroot/aoc-2024 [INFO] tweaked toml for git repo https://github.com/wwdegroot/aoc-2024 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wwdegroot/aoc-2024 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wwdegroot/aoc-2024 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6602a3502dbfd5ebca2e93ce043872f96d186c41ebdcc6bf0d664cf5f53289b [INFO] running `Command { std: "docker" "start" "-a" "e6602a3502dbfd5ebca2e93ce043872f96d186c41ebdcc6bf0d664cf5f53289b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6602a3502dbfd5ebca2e93ce043872f96d186c41ebdcc6bf0d664cf5f53289b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6602a3502dbfd5ebca2e93ce043872f96d186c41ebdcc6bf0d664cf5f53289b", kill_on_drop: false }` [INFO] [stdout] e6602a3502dbfd5ebca2e93ce043872f96d186c41ebdcc6bf0d664cf5f53289b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5097409db8c64e701e647afd2e094e66edbb938ebc9c36eba53f21436b064b3 [INFO] running `Command { std: "docker" "start" "-a" "f5097409db8c64e701e647afd2e094e66edbb938ebc9c36eba53f21436b064b3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking priority-queue v2.1.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cached v0.54.0 [INFO] [stderr] Checking rustworkx-core v0.15.1 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/22.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opt` [INFO] [stdout] --> src/bin/03.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::combinator::{iterator, opt}; [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: `many0` and `many1` [INFO] [stdout] --> src/bin/03.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::multi::{many0, many1}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/17.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/09.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [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/09.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/17.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/17.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | _ => !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/17.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn part_two(input: &str) -> Option { [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: associated function `new` is never used [INFO] [stdout] --> src/bin/17.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Computer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 31 | [INFO] [stdout] 32 | fn new() -> Computer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | A: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | B: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | C: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut A: i64 = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut B: i64 = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut C: i64 = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/05.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/16.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes_indeces` is never read [INFO] [stdout] --> src/bin/18.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MemSpace { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | nodes_indeces: HashMap<(isize, isize), NodeIndex> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/18.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / shortest_path::dijkstra( [INFO] [stdout] 87 | | &memspace.graph, [INFO] [stdout] 88 | | memspace.start, [INFO] [stdout] 89 | | Some(memspace.end), [INFO] [stdout] 90 | | |e| Ok::(*e.weight()), [INFO] [stdout] 91 | | None, [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/18.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / shortest_path::dijkstra( [INFO] [stdout] 100 | | &memspace.graph, [INFO] [stdout] 101 | | memspace.start, [INFO] [stdout] 102 | | Some(memspace.end), [INFO] [stdout] 103 | | |e| Ok::(*e.weight()), [INFO] [stdout] 104 | | None, [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/05.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/14.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part_two(input: &str) -> Option { [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/16.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / shortest_path::dijkstra( [INFO] [stdout] 108 | | &maze.paths, [INFO] [stdout] 109 | | maze.start, [INFO] [stdout] 110 | | Some(maze.end), [INFO] [stdout] 111 | | |e| Ok::(*e.weight()), [INFO] [stdout] 112 | | None, [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/16.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bin/16.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | let solution = shortest_path::all_shortest_paths(&maze.paths, maze.start, maze.end, |e| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 123 | | Ok::(*e.weight()) [INFO] [stdout] 124 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/16.rs:122:93 [INFO] [stdout] | [INFO] [stdout] 122 | let solution = shortest_path::all_shortest_paths(&maze.paths, maze.start, maze.end, |e| { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 123 | | Ok::(*e.weight()) [INFO] [stdout] 124 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/16.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Ok::(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/07.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/14.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part_two(input: &str) -> Option { [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: `enumerate` [INFO] [stdout] --> src/bin/08.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{enumerate, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/25.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/06.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | _ => !unreachable!(), [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bin/07.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let N: usize = operators.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bin/12.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "16" test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent_of_code` (bin "18") due to 4 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/12.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut last_seen = plots[pos.0 as usize][pos.1 as usize]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn part_two(input: &str) -> Option { [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/12.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | coorinates.push((r.try_into().unwrap(), c.try_into().unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/12.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | coorinates.push((r.try_into().unwrap(), c.try_into().unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/12.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let area: usize = region.len().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "12" test) due to 3 previous errors; 3 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/05.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | .map(|mut p| { [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: value assigned to `sorted` is never read [INFO] [stdout] --> src/bin/05.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let mut sorted = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/25.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn part_two(input: &str) -> Option { [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: field `nodes_indeces` is never read [INFO] [stdout] --> src/bin/18.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MemSpace { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | nodes_indeces: HashMap<(isize, isize), NodeIndex> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/05.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | .map(|mut p| { [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: value assigned to `sorted` is never read [INFO] [stdout] --> src/bin/05.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let mut sorted = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/bin/18.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / shortest_path::dijkstra( [INFO] [stdout] 87 | | &memspace.graph, [INFO] [stdout] 88 | | memspace.start, [INFO] [stdout] 89 | | Some(memspace.end), [INFO] [stdout] 90 | | |e| Ok::(*e.weight()), [INFO] [stdout] 91 | | None, [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/bin/18.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / shortest_path::dijkstra( [INFO] [stdout] 100 | | &memspace.graph, [INFO] [stdout] 101 | | memspace.start, [INFO] [stdout] 102 | | Some(memspace.end), [INFO] [stdout] 103 | | |e| Ok::(*e.weight()), [INFO] [stdout] 104 | | None, [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/bin/18.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | / shortest_path::dijkstra( [INFO] [stdout] 150 | | &memspace.graph, [INFO] [stdout] 151 | | memspace.start, [INFO] [stdout] 152 | | Some(memspace.end), [INFO] [stdout] 153 | | |_| Ok::(1), [INFO] [stdout] 154 | | None, [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | |_| Ok::(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/bin/18.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / shortest_path::dijkstra( [INFO] [stdout] 174 | | &memspace.graph, [INFO] [stdout] 175 | | memspace.start, [INFO] [stdout] 176 | | Some(memspace.end), [INFO] [stdout] 177 | | |e| Ok::(*e.weight()), [INFO] [stdout] 178 | | None, [INFO] [stdout] 179 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/18.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | |e| Ok::(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "18" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f5097409db8c64e701e647afd2e094e66edbb938ebc9c36eba53f21436b064b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5097409db8c64e701e647afd2e094e66edbb938ebc9c36eba53f21436b064b3", kill_on_drop: false }` [INFO] [stdout] f5097409db8c64e701e647afd2e094e66edbb938ebc9c36eba53f21436b064b3