[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] 66bd5afe28b71fe596adefc50fac413a72fcde81 [INFO] testing wwdegroot/aoc-2024 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwdegroot%2Faoc-2024" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wwdegroot/aoc-2024 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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] Downloading crates ... [INFO] [stderr] Downloaded cached_proc_macro v0.23.0 [INFO] [stderr] Downloaded cached v0.54.0 [INFO] [stderr] Downloaded rustworkx-core v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb1cdc5b793c5a3cd89d686b56376b7bfdcc1a9d72b6dc815678cc92a2ae809 [INFO] running `Command { std: "docker" "start" "-a" "4cb1cdc5b793c5a3cd89d686b56376b7bfdcc1a9d72b6dc815678cc92a2ae809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb1cdc5b793c5a3cd89d686b56376b7bfdcc1a9d72b6dc815678cc92a2ae809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb1cdc5b793c5a3cd89d686b56376b7bfdcc1a9d72b6dc815678cc92a2ae809", kill_on_drop: false }` [INFO] [stdout] 4cb1cdc5b793c5a3cd89d686b56376b7bfdcc1a9d72b6dc815678cc92a2ae809 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a27d71ca1a8de9512f073e4c20562b3a395ebae6bb97115a7b8527255f4b11 [INFO] running `Command { std: "docker" "start" "-a" "b0a27d71ca1a8de9512f073e4c20562b3a395ebae6bb97115a7b8527255f4b11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling priority-queue v2.1.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Compiling rustworkx-core v0.15.1 [INFO] [stderr] Compiling cached v0.54.0 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [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)]` 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: 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/15.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | None => !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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/15.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | None => !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/15.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | None => !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/15.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | None => !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/15.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | _ => !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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | 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)]` 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.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: value assigned to `sorted` is never read [INFO] [stdout] --> src/bin/05.rs:103:21 [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)]` 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)]` 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)]` 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: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)]` on by default [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)]` 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)]` 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)]` 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: 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)]` 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.70s [INFO] running `Command { std: "docker" "inspect" "b0a27d71ca1a8de9512f073e4c20562b3a395ebae6bb97115a7b8527255f4b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a27d71ca1a8de9512f073e4c20562b3a395ebae6bb97115a7b8527255f4b11", kill_on_drop: false }` [INFO] [stdout] b0a27d71ca1a8de9512f073e4c20562b3a395ebae6bb97115a7b8527255f4b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ac82fa0054fe3d2cd20bd105bdd7e9c5fbfd9655eb7e6e5b5498b29c05289e9 [INFO] running `Command { std: "docker" "start" "-a" "3ac82fa0054fe3d2cd20bd105bdd7e9c5fbfd9655eb7e6e5b5498b29c05289e9", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [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)]` on by default [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: unreachable expression [INFO] [stdout] --> src/bin/15.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | None => !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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/15.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | None => !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/15.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | None => !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/15.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | None => !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/15.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | _ => !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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | 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)]` 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)]` 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: 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)]` 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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` on by default [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)]` 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)]` 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)]` 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)]` 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: 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sorted` is never read [INFO] [stdout] --> src/bin/05.rs:103:21 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.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: 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)]` 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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "3ac82fa0054fe3d2cd20bd105bdd7e9c5fbfd9655eb7e6e5b5498b29c05289e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac82fa0054fe3d2cd20bd105bdd7e9c5fbfd9655eb7e6e5b5498b29c05289e9", kill_on_drop: false }` [INFO] [stdout] 3ac82fa0054fe3d2cd20bd105bdd7e9c5fbfd9655eb7e6e5b5498b29c05289e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1fc2b505485455f8c8dac141dc8d89bc3404967c9f34550ac6ebd8d442a4c27 [INFO] running `Command { std: "docker" "start" "-a" "f1fc2b505485455f8c8dac141dc8d89bc3404967c9f34550ac6ebd8d442a4c27", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/bin/07.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/bin/07.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | let N: usize = operators.len(); [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `opt` [INFO] [stderr] --> src/bin/03.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use nom::combinator::{iterator, opt}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `many0` and `many1` [INFO] [stderr] --> src/bin/03.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use nom::multi::{many0, many1}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `enumerate` [INFO] [stderr] --> src/bin/08.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use itertools::{enumerate, Itertools}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/09.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/09.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/04.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/04.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "07" test) generated 2 warnings [INFO] [stderr] warning: `advent_of_code` (bin "03" test) generated 2 warnings (run `cargo fix --bin "03" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `advent_of_code` (bin "08" test) generated 1 warning (run `cargo fix --bin "08" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `advent_of_code` (bin "09" test) generated 2 warnings [INFO] [stderr] warning: `advent_of_code` (bin "04" test) generated 2 warnings [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/15.rs:74:33 [INFO] [stderr] | [INFO] [stderr] 74 | None => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/15.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | None => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/15.rs:94:33 [INFO] [stderr] | [INFO] [stderr] 94 | None => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/15.rs:104:33 [INFO] [stderr] | [INFO] [stderr] 104 | None => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/15.rs:159:22 [INFO] [stderr] | [INFO] [stderr] 159 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/15.rs:188:17 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/17.rs:55:22 [INFO] [stderr] | [INFO] [stderr] 55 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/17.rs:122:18 [INFO] [stderr] | [INFO] [stderr] 122 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/17.rs:160:22 [INFO] [stderr] | [INFO] [stderr] 160 | _ => !unreachable!() [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/17.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `A` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | A: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `B` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | B: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: structure field `C` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | C: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | let mut A: i64 = 0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:132:17 [INFO] [stderr] | [INFO] [stderr] 132 | let mut B: i64 = 0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `C` should have a snake case name [INFO] [stderr] --> src/bin/17.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | let mut C: i64 = 0; [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/06.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/bin/05.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `sorted` is never read [INFO] [stderr] --> src/bin/05.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | let mut sorted = false; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/05.rs:102:15 [INFO] [stderr] | [INFO] [stderr] 102 | .map(|mut p| { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/16.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/16.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | _ => !unreachable!(), [INFO] [stderr] | ^-------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/bin/12.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/12.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | let mut last_seen = plots[pos.0 as usize][pos.1 as usize]; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/12.rs:124:17 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/14.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn part_two(input: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "15" test) generated 6 warnings [INFO] [stderr] warning: `advent_of_code` (bin "17" test) generated 10 warnings [INFO] [stderr] warning: `advent_of_code` (bin "06" test) generated 1 warning [INFO] [stderr] warning: `advent_of_code` (bin "05" test) generated 3 warnings (run `cargo fix --bin "05" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `advent_of_code` (bin "16" test) generated 2 warnings [INFO] [stderr] warning: `advent_of_code` (bin "12" test) generated 3 warnings (run `cargo fix --bin "12" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `advent_of_code` (bin "14" test) generated 1 warning [INFO] [stderr] warning: field `nodes_indeces` is never read [INFO] [stderr] --> src/bin/18.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct MemSpace { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | nodes_indeces: HashMap<(isize, isize), NodeIndex> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MemSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "18" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/advent_of_code-4e7d9574cb4b1416) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/01.rs (/opt/rustwide/target/debug/deps/01-86d0b33e2627ce4b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/02.rs (/opt/rustwide/target/debug/deps/02-3537265c351bdb3d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/03.rs (/opt/rustwide/target/debug/deps/03-22e1d758a6f2c87d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stderr] Running unittests src/bin/04.rs (/opt/rustwide/target/debug/deps/04-2af6c22d00d1d633) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/05.rs (/opt/rustwide/target/debug/deps/05-fd5c6cde81969f25) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/06.rs (/opt/rustwide/target/debug/deps/06-9029a308356dfd2a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/07.rs (/opt/rustwide/target/debug/deps/07-ef1c942642aabb9e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/08.rs (/opt/rustwide/target/debug/deps/08-1ce541b7a9f23847) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_two_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/09.rs (/opt/rustwide/target/debug/deps/09-17e01658ce174c99) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/11.rs (/opt/rustwide/target/debug/deps/11-00b1d07b7a8c0414) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_split_number_in_halves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/12.rs (/opt/rustwide/target/debug/deps/12-c248874995100d4d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/14.rs (/opt/rustwide/target/debug/deps/14-42f8d21f90d518ab) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/15.rs (/opt/rustwide/target/debug/deps/15-d2954ba43effe6df) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/16.rs (/opt/rustwide/target/debug/deps/16-1d01914b53d6aa6a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Running unittests src/bin/17.rs (/opt/rustwide/target/debug/deps/17-419938fb42a63c89) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_computer ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_computer3 ... ok [INFO] [stderr] Running unittests src/bin/18.rs (/opt/rustwide/target/debug/deps/18-ba86771abece9f0a) [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_computer2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/19.rs (/opt/rustwide/target/debug/deps/19-e88b5b44ec6b4edf) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-0d53c8b34ba69801) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1fc2b505485455f8c8dac141dc8d89bc3404967c9f34550ac6ebd8d442a4c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1fc2b505485455f8c8dac141dc8d89bc3404967c9f34550ac6ebd8d442a4c27", kill_on_drop: false }` [INFO] [stdout] f1fc2b505485455f8c8dac141dc8d89bc3404967c9f34550ac6ebd8d442a4c27