[INFO] cloning repository https://github.com/mdietrichstein/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdietrichstein/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdietrichstein%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdietrichstein%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23a7aa1137c980ddc87362d18803cd05f1d8f990 [INFO] checking mdietrichstein/adventofcode2021 against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdietrichstein%2Fadventofcode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdietrichstein/adventofcode2021 on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdietrichstein/adventofcode2021 [INFO] finished tweaking git repo https://github.com/mdietrichstein/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/mdietrichstein/adventofcode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mdietrichstein/adventofcode2021 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indoc v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6952d3beecf0b678a1d8f4560041316ad3e46940a862f977ae9e3a9827326aa6 [INFO] running `Command { std: "docker" "start" "-a" "6952d3beecf0b678a1d8f4560041316ad3e46940a862f977ae9e3a9827326aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6952d3beecf0b678a1d8f4560041316ad3e46940a862f977ae9e3a9827326aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6952d3beecf0b678a1d8f4560041316ad3e46940a862f977ae9e3a9827326aa6", kill_on_drop: false }` [INFO] [stdout] 6952d3beecf0b678a1d8f4560041316ad3e46940a862f977ae9e3a9827326aa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e97ae65154bb085cf2c9ebe0bcb539c37417da7744c56353ba4f1aca98df8a4 [INFO] running `Command { std: "docker" "start" "-a" "4e97ae65154bb085cf2c9ebe0bcb539c37417da7744c56353ba4f1aca98df8a4", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/day15) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/day18) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/day17) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day18/src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../resources/input"); [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: method `center` is never used [INFO] [stdout] --> day11/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neighborhood_iter` is never used [INFO] [stdout] --> day11/src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day11/src/map.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 165 | #[inline] [INFO] [stdout] 166 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `center` is never used [INFO] [stdout] --> day11/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neighborhood_iter` is never used [INFO] [stdout] --> day11/src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day11/src/map.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 165 | #[inline] [INFO] [stdout] 166 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> day15/src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | let priority = new_cost + map.manhattan_distance(goal, index).unwrap() as i64; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> day15/src/main.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | .into_iter().enumerate().filter(|(i, position)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day15/src/main.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | }).map(|(i, position)| position).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day15/src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut parent = came_from[¤t_position]; [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] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> day16/src/main.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | Packet::LiteralPacket { version, value } => *version as usize, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> day16/src/main.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | ... Packet::OperatorPacket { version, operation, packets } => (*version as usize) + packets.iter().map(sum_version_numbers).sum:: day16/src/main.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | Packet::LiteralPacket { version, value } => *value, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `center` is never used [INFO] [stdout] --> day15/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `data`, `sliced_map`, and `neighborhood_iter` are never used [INFO] [stdout] --> day15/src/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn data(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn sliced_map(&self, top: usize, left: usize, num_rows: usize, num_columns: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day15/src/map.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 212 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 213 | #[inline] [INFO] [stdout] 214 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_binary` is never used [INFO] [stdout] --> day16/src/bits.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn print_binary(input: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> day15/src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | let priority = new_cost + map.manhattan_distance(goal, index).unwrap() as i64; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> day15/src/main.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | .into_iter().enumerate().filter(|(i, position)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day15/src/main.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | }).map(|(i, position)| position).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | let a = (location - 1 - x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let a = (location - 1 - x); [INFO] [stdout] 67 + let a = location - 1 - x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let b = (location + 1 + x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let b = (location + 1 + x); [INFO] [stdout] 68 + let b = location + 1 + x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let a = (location - 1 - y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - let a = (location - 1 - y); [INFO] [stdout] 84 + let a = location - 1 - y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let b = (location + 1 + y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - let b = (location + 1 + y); [INFO] [stdout] 85 + let b = location + 1 + y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day15/src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut parent = came_from[¤t_position]; [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: method `center` is never used [INFO] [stdout] --> day15/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `data`, `sliced_map`, and `neighborhood_iter` are never used [INFO] [stdout] --> day15/src/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn data(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn sliced_map(&self, top: usize, left: usize, num_rows: usize, num_columns: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day15/src/map.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 212 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 213 | #[inline] [INFO] [stdout] 214 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | let a = (location - 1 - x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let a = (location - 1 - x); [INFO] [stdout] 67 + let a = location - 1 - x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let b = (location + 1 + x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let b = (location + 1 + x); [INFO] [stdout] 68 + let b = location + 1 + x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let a = (location - 1 - y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - let a = (location - 1 - y); [INFO] [stdout] 84 + let a = location - 1 - y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day13/src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let b = (location + 1 + y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - let b = (location + 1 + y); [INFO] [stdout] 85 + let b = location + 1 + y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day14/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day14/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | let num_rows = *coordinates.iter().map(|(x, y)| y).max().unwrap() + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | let num_columns = *coordinates.iter().map(|(x, y)| x).max().unwrap() + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `center` is never used [INFO] [stdout] --> day13/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `neighborhood_iter`, `neighborhood_positions`, and `len` are never used [INFO] [stdout] --> day13/src/map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(input: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn neighborhood_positions(&self, index: usize) -> Option<[Option; 9]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day13/src/map.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 203 | #[inline] [INFO] [stdout] 204 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> day14/src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | for step in 0..num_steps { [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: unused variable: `value` [INFO] [stdout] --> day16/src/main.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | Packet::LiteralPacket { version, value } => *version as usize, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> day14/src/main.rs:86:54 [INFO] [stdout] | [INFO] [stdout] 86 | let char_count_values = char_counts.iter().map(|(k, v)| *v).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> day16/src/main.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | ... Packet::OperatorPacket { version, operation, packets } => (*version as usize) + packets.iter().map(sum_version_numbers).sum:: day18/src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../resources/input"); [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: function `to_string` is never used [INFO] [stdout] --> day14/src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn to_string(word: &Vec) -> String { [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] --> day16/src/main.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | Packet::LiteralPacket { version, value } => *value, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> day16/src/main.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | Packet::OperatorPacket { version, operation, packets } [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_binary` is never used [INFO] [stdout] --> day16/src/bits.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn print_binary(input: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> day14/src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | for step in 0..num_steps { [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: unused variable: `k` [INFO] [stdout] --> day14/src/main.rs:86:54 [INFO] [stdout] | [INFO] [stdout] 86 | let char_count_values = char_counts.iter().map(|(k, v)| *v).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_word` [INFO] [stdout] --> day14/src/main.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (start_word, rules) = parse_instructions(TEST_DATA); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> day14/src/main.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (start_word, rules) = parse_instructions(TEST_DATA); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_word` [INFO] [stdout] --> day14/src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | let (start_word, rules) = parse_instructions(TEST_DATA); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> day14/src/main.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let (start_word, rules) = parse_instructions(TEST_DATA); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_string` is never used [INFO] [stdout] --> day14/src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn to_string(word: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | let num_rows = *coordinates.iter().map(|(x, y)| y).max().unwrap() + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | let num_columns = *coordinates.iter().map(|(x, y)| x).max().unwrap() + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `center` is never used [INFO] [stdout] --> day13/src/map.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Center { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn center(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `neighborhood_iter`, `neighborhood_positions`, and `len` are never used [INFO] [stdout] --> day13/src/map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(input: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn neighborhood_iter(&self) -> NeighborhoodIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn neighborhood_positions(&self, index: usize) -> Option<[Option; 9]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_position` is never used [INFO] [stdout] --> day13/src/map.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl<'a> NeighborhoodIterator<'a> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 203 | #[inline] [INFO] [stdout] 204 | fn current_position(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] error[E0425]: cannot find value `test_input` in this scope [INFO] [stdout] --> day01/src/main.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 40 | const TEST_INPUT: &str = indoc! {" [INFO] [stdout] | ------------------------------- similarly named constant `TEST_INPUT` defined here [INFO] [stdout] ... [INFO] [stdout] 55 | let measurements: Vec = parse_measurements(test_input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `TEST_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_input` in this scope [INFO] [stdout] --> day01/src/main.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 40 | const TEST_INPUT: &str = indoc! {" [INFO] [stdout] | ------------------------------- similarly named constant `TEST_INPUT` defined here [INFO] [stdout] ... [INFO] [stdout] 63 | let measurements: Vec = parse_measurements(test_input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `TEST_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> day04/src/board.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | .filter(|(i, value)| !self.matches.contains(i)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day04/src/board.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|(i, value)| value) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> day04/src/board.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | .filter(|(i, value)| !self.matches.contains(i)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day04/src/board.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|(i, value)| value) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day01` (bin "day01" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4e97ae65154bb085cf2c9ebe0bcb539c37417da7744c56353ba4f1aca98df8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e97ae65154bb085cf2c9ebe0bcb539c37417da7744c56353ba4f1aca98df8a4", kill_on_drop: false }` [INFO] [stdout] 4e97ae65154bb085cf2c9ebe0bcb539c37417da7744c56353ba4f1aca98df8a4