[INFO] cloning repository https://github.com/Danmou/advent-of-code-2021-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Danmou/advent-of-code-2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63ce1fbef1ad92a60baeb680303ca6411a79ab93 [INFO] testing Danmou/advent-of-code-2021-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanmou%2Fadvent-of-code-2021-rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Danmou/advent-of-code-2021-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Danmou/advent-of-code-2021-rust [INFO] finished tweaking git repo https://github.com/Danmou/advent-of-code-2021-rust [INFO] tweaked toml for git repo https://github.com/Danmou/advent-of-code-2021-rust written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/Danmou/advent-of-code-2021-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_isaac v0.2.0 [INFO] [stderr] Downloaded graphlib v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36ecc8ffd615f2b2be74ac29f0252d20baa3ef2414548ab9a274f0967a6d95c4 [INFO] running `Command { std: "docker" "start" "-a" "36ecc8ffd615f2b2be74ac29f0252d20baa3ef2414548ab9a274f0967a6d95c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ecc8ffd615f2b2be74ac29f0252d20baa3ef2414548ab9a274f0967a6d95c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ecc8ffd615f2b2be74ac29f0252d20baa3ef2414548ab9a274f0967a6d95c4", kill_on_drop: false }` [INFO] [stdout] 36ecc8ffd615f2b2be74ac29f0252d20baa3ef2414548ab9a274f0967a6d95c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa99b6c08472e8eeddd53a6edafd5cdcc801de016762fe529a2fdcd4462822c6 [INFO] running `Command { std: "docker" "start" "-a" "fa99b6c08472e8eeddd53a6edafd5cdcc801de016762fe529a2fdcd4462822c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling rand_isaac v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling graphlib v0.6.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling pathfinding v3.0.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `best_position` is assigned to, but never used [INFO] [stdout] --> src/bin/aoc7a/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut best_position = -1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_best_position` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_position` is never read [INFO] [stdout] --> src/bin/aoc7a/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | best_position = pos; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `up` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2b/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | up, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `down` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2b/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | down, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `forward` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2b/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | forward, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/bin/aoc22a/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn contains(&self, p: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/bin/aoc22a/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn size(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/bin/aoc22a/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn contains(&self, (x, y, z): (T, T, T)) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/bin/aoc22a/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn size(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/aoc3b/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `up` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3b/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | up, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `down` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3b/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | down, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `forward` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3b/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | forward, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_points` [INFO] [stdout] --> src/bin/aoc13a/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn draw_points(points: &HashSet<(usize, usize)>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bin/aoc14b/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for (count) in char_counts.values_mut() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - for (count) in char_counts.values_mut() { [INFO] [stdout] 60 + for count in char_counts.values_mut() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/aoc11a/main.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | let mut flashed = map.mapv(|v| false); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [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/aoc12b/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut path = queue.pop().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc11a/main.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | Zip::from(&flashed).and(&mut *map).for_each(|&f, mut v| { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc22b/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut region = match rest [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: associated function is never used: `remove_by_val` [INFO] [stdout] --> src/bin/aoc12b/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn remove_by_val(&mut self, v: V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/bin/aoc22b/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn contains(&self, p: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc11a/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut new_flashed = map.mapv(|v| v > 9); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crop` [INFO] [stdout] --> src/bin/aoc22b/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn crop(&mut self, other: &Range) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/bin/aoc22b/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn size(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/bin/aoc22b/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn contains(&self, (x, y, z): (T, T, T)) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crop` [INFO] [stdout] --> src/bin/aoc22b/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn crop(&mut self, x: Range, y: Range, z: Range) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/bin/aoc22b/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn size(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/aoc12b/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | graph.add_edge(&id1, &id2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/aoc3a/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `up` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3a/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | up, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `down` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3a/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | down, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `forward` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc3a/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | forward, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/aoc3a/main.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | gamma |= (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - gamma |= (1 << i); [INFO] [stdout] 48 + gamma |= 1 << i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/aoc3a/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | epsilon |= (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - epsilon |= (1 << i); [INFO] [stdout] 50 + epsilon |= 1 << i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_position` is assigned to, but never used [INFO] [stdout] --> src/bin/aoc7b/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut best_position = -1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_best_position` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_position` is never read [INFO] [stdout] --> src/bin/aoc7b/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | best_position = pos; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/bin/aoc5a/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/bin/aoc16b/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let version = parse_int(iter, 3)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [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/aoc23a/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [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/aoc23a/main.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let mut map = Map::new(); [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: variant `up` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2a/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | up, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `down` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2a/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | down, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `forward` should have an upper camel case name [INFO] [stdout] --> src/bin/aoc2a/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | forward, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/bin/aoc5b/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bin/aoc17b/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/bin/aoc14a/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | for step in 0..10 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_image` [INFO] [stdout] --> src/bin/aoc20b/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn print_image(image: &Image) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc12a/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut path = queue.pop().unwrap(); [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: associated function is never used: `remove_by_val` [INFO] [stdout] --> src/bin/aoc12a/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn remove_by_val(&mut self, v: V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/aoc12a/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | graph.add_edge(&id1, &id2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deref_mut` found for reference `&Rc>` in the current scope [INFO] [stdout] --> src/bin/aoc18a/main.rs:88:52 [INFO] [stdout] | [INFO] [stdout] 88 | c if c.is_digit(10) => current.deref_mut().set_val(c.to_string().parse().unwrap()), [INFO] [stdout] | ^^^^^^^^^ method not found in `&Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2021` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc23b/main.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut ret = self.content[idx].clone().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc23b/main.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut amph = src.remove(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc23b/main.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut map = Map::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/aoc23b/main.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | let mut cost = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_moves` [INFO] [stdout] --> src/bin/aoc23b/main.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | fn execute_moves(&mut self, steps: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa99b6c08472e8eeddd53a6edafd5cdcc801de016762fe529a2fdcd4462822c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa99b6c08472e8eeddd53a6edafd5cdcc801de016762fe529a2fdcd4462822c6", kill_on_drop: false }` [INFO] [stdout] fa99b6c08472e8eeddd53a6edafd5cdcc801de016762fe529a2fdcd4462822c6