[INFO] cloning repository https://github.com/Jakedavies/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jakedavies/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc0396141d1518734ef74ddaf2f04464965ac304 [INFO] checking Jakedavies/aoc2021 against master#0c1fb2a1e65a57073dc62dd502319a00cf753371 for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jakedavies/aoc2021 on toolchain 0c1fb2a1e65a57073dc62dd502319a00cf753371 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jakedavies/aoc2021 [INFO] finished tweaking git repo https://github.com/Jakedavies/aoc2021 [INFO] tweaked toml for git repo https://github.com/Jakedavies/aoc2021 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jakedavies/aoc2021 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" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Jakedavies/aoc2021 against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jakedavies/aoc2021 on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jakedavies/aoc2021 [INFO] finished tweaking git repo https://github.com/Jakedavies/aoc2021 [INFO] tweaked toml for git repo https://github.com/Jakedavies/aoc2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jakedavies/aoc2021 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" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b1c7f4cd2dc257b4c3ee915804977f74b3f1a9dc95d0cc7f2cd48a9226796be [INFO] running `Command { std: "docker" "start" "-a" "1b1c7f4cd2dc257b4c3ee915804977f74b3f1a9dc95d0cc7f2cd48a9226796be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b1c7f4cd2dc257b4c3ee915804977f74b3f1a9dc95d0cc7f2cd48a9226796be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1c7f4cd2dc257b4c3ee915804977f74b3f1a9dc95d0cc7f2cd48a9226796be", kill_on_drop: false }` [INFO] [stdout] 1b1c7f4cd2dc257b4c3ee915804977f74b3f1a9dc95d0cc7f2cd48a9226796be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf8abb8a216c17b0ad0832306546a262219ac1d262dfc3f077d7e1fcd8419aa [INFO] running `Command { std: "docker" "start" "-a" "9bf8abb8a216c17b0ad0832306546a262219ac1d262dfc3f077d7e1fcd8419aa", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day3.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut result: String = count_to_binary_string(counts); [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/days/day3.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut result: String = count_to_binary_string(counts); [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/days/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut fish: Vec = lines[0] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils/file_utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day1.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day2.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day2.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn invert_binary_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day3.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filled` and `val` are never read [INFO] [stdout] --> src/days/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct BingoCell { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | filled: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | val: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BingoCell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `won` and `board` are never read [INFO] [stdout] --> src/days/day4.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Bingo { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | won: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | board: Vec> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bingo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fill_number`, `check_won`, `from_lines`, `print`, and `get_unfilled_sum` are never used [INFO] [stdout] --> src/days/day4.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bingo { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | fn fill_number(&mut self, num: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn check_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_lines(input: &[&str]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_unfilled_sum(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day4.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day4.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x1`, `y1`, `x2`, and `y2` are never read [INFO] [stdout] --> src/days/day5.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vent { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | x1: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | y1: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | x2: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | y2: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/days/day5.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_input(input: &str) -> Vent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_to_key` is never used [INFO] [stdout] --> src/days/day5.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn coord_to_key(x: i32, y: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_pointmap` is never used [INFO] [stdout] --> src/days/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_to_pointmap(map: &mut HashMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day5.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day5.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/days/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn simulate(fishes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_fishmap` is never used [INFO] [stdout] --> src/days/day6.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn init_fishmap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate_v2` is never used [INFO] [stdout] --> src/days/day6.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn simulate_v2(fishes: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day6.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day6.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day7.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut fish: Vec = lines[0] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils/file_utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day1.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Forward`, and `Back` are never constructed [INFO] [stdout] --> src/days/day2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Forward, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Back [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command` is never used [INFO] [stdout] --> src/days/day2.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_command(instruction: &str) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_command` is never used [INFO] [stdout] --> src/days/day2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn apply_command(origin: Point, command: &str) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_command_part2` is never used [INFO] [stdout] --> src/days/day2.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn apply_command_part2(aim: Aim, origin: Point, command: &str) -> (Aim, Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day2.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day2.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn process_binary_string(mut counts: Vec, binary: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn invert_binary_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_to_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn count_to_binary_string(counts: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day3.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_oxygen` is never used [INFO] [stdout] --> src/days/day3.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn extract_oxygen(mut counts: Vec>) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_co2` is never used [INFO] [stdout] --> src/days/day3.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn extract_co2(mut counts: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filled` and `val` are never read [INFO] [stdout] --> src/days/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct BingoCell { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | filled: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | val: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BingoCell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `won` and `board` are never read [INFO] [stdout] --> src/days/day4.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Bingo { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | won: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | board: Vec> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bingo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fill_number`, `check_won`, `from_lines`, `print`, and `get_unfilled_sum` are never used [INFO] [stdout] --> src/days/day4.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bingo { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | fn fill_number(&mut self, num: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn check_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_lines(input: &[&str]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_unfilled_sum(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day4.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day4.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x1`, `y1`, `x2`, and `y2` are never read [INFO] [stdout] --> src/days/day5.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vent { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | x1: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | y1: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | x2: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | y2: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/days/day5.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_input(input: &str) -> Vent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_to_key` is never used [INFO] [stdout] --> src/days/day5.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn coord_to_key(x: i32, y: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_pointmap` is never used [INFO] [stdout] --> src/days/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_to_pointmap(map: &mut HashMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day5.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day5.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/days/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn simulate(fishes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_fishmap` is never used [INFO] [stdout] --> src/days/day6.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn init_fishmap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate_v2` is never used [INFO] [stdout] --> src/days/day6.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn simulate_v2(fishes: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day6.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day6.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day7.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "9bf8abb8a216c17b0ad0832306546a262219ac1d262dfc3f077d7e1fcd8419aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf8abb8a216c17b0ad0832306546a262219ac1d262dfc3f077d7e1fcd8419aa", kill_on_drop: false }` [INFO] [stdout] 9bf8abb8a216c17b0ad0832306546a262219ac1d262dfc3f077d7e1fcd8419aa