[INFO] cloning repository https://github.com/epochcoder/adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epochcoder/adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepochcoder%2Fadventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepochcoder%2Fadventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4f8007d971e7c849b9697585000e1df0be62ff0 [INFO] checking epochcoder/adventofcode against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepochcoder%2Fadventofcode" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epochcoder/adventofcode on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epochcoder/adventofcode [INFO] finished tweaking git repo https://github.com/epochcoder/adventofcode [INFO] tweaked toml for git repo https://github.com/epochcoder/adventofcode written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/epochcoder/adventofcode 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aa031ead7463aeee3925738ca26faa2c919cb9e16b44095f2c6648f33d931cf [INFO] running `Command { std: "docker" "start" "-a" "5aa031ead7463aeee3925738ca26faa2c919cb9e16b44095f2c6648f33d931cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aa031ead7463aeee3925738ca26faa2c919cb9e16b44095f2c6648f33d931cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa031ead7463aeee3925738ca26faa2c919cb9e16b44095f2c6648f33d931cf", kill_on_drop: false }` [INFO] [stdout] 5aa031ead7463aeee3925738ca26faa2c919cb9e16b44095f2c6648f33d931cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abaf2f9f517a42eab39e9f5d3a5d5ea9fba8d2f3d12b51bd35782c1ad5ce4e0 [INFO] running `Command { std: "docker" "start" "-a" "8abaf2f9f517a42eab39e9f5d3a5d5ea9fba8d2f3d12b51bd35782c1ad5ce4e0", kill_on_drop: false }` [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/libs/utils) [INFO] [stderr] Checking year-2020 v0.1.0 (/opt/rustwide/workdir/libs/year-2020) [INFO] [stderr] Checking regex v1.5.4 [INFO] [stdout] warning: function `day_1` is never used [INFO] [stdout] --> libs/year-2020/src/lib.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn day_1() -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking year-2021 v0.1.0 (/opt/rustwide/workdir/libs/year-2021) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use super::*; [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] --> libs/year-2021/src/day_four.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut piece = self.piece_at_mut(i, row); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> libs/year-2021/src/day_six.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | (1..=days).for_each(|day| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Depth` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Depth(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Depth { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | fn new(line: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_increases` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn count_increases(depths: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Depth` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Depth(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Depth { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 7 | fn from_string(line: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_depths` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sum_depths(depths: &Vec<&Depth>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_increases` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn count_increases(depths: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> libs/year-2021/src/day_five.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | start: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | end: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_vertical`, `is_horizontal`, and `plot` are never used [INFO] [stdout] --> libs/year-2021/src/day_five.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn plot(&self, width: usize, map: &mut Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate` is never used [INFO] [stdout] --> libs/year-2021/src/day_five.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn calculate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Piece` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_four.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_four.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 27 | fn new(w: usize, h: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn piece_idx(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn piece_at_mut(&mut self, x: usize, y: usize) -> &mut Piece { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn piece_at(&self, x: usize, y: usize) -> &Piece { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn intialize_row(&mut self, row: usize, line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn mark_board(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn has_row_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn has_column_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn bingo(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_by_comma` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn split_by_comma(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_by_whitespace` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn split_by_whitespace(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bingo_baby` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn bingo_baby() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_boards` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn load_boards(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fish_ages` is never used [INFO] [stdout] --> libs/year-2021/src/day_six.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn fish_ages() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WIDTH` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnCount` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_three.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ColumnCount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `get_most_significant`, and `get_binary` are never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColumnCount { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 14 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn update(&mut self, ch: &char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_most_significant(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get_binary(column_counts: HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_gamma_rate` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn calculate_gamma_rate(bin: &String) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_epsilon_rate` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_epsilon_rate(bin: &String) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_power_consumption` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculate_power_consumption() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WIDTH` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_decimal`, and `char_at_column` are never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | fn new(line: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn as_decimal(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn char_at_column(&self, col: usize, character: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_life_support_rating` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_life_support_rating() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_rating` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_rating(lines: &Vec, filter: impl Fn(usize, usize) -> bool) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_position` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn calculate_position() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_position_aim` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn calculate_position_aim() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/year-2021/src/day_four.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut piece = self.piece_at_mut(i, row); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> libs/year-2021/src/day_six.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | (1..=days).for_each(|day| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "8abaf2f9f517a42eab39e9f5d3a5d5ea9fba8d2f3d12b51bd35782c1ad5ce4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abaf2f9f517a42eab39e9f5d3a5d5ea9fba8d2f3d12b51bd35782c1ad5ce4e0", kill_on_drop: false }` [INFO] [stdout] 8abaf2f9f517a42eab39e9f5d3a5d5ea9fba8d2f3d12b51bd35782c1ad5ce4e0 [INFO] checking epochcoder/adventofcode against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepochcoder%2Fadventofcode" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epochcoder/adventofcode on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epochcoder/adventofcode [INFO] finished tweaking git repo https://github.com/epochcoder/adventofcode [INFO] tweaked toml for git repo https://github.com/epochcoder/adventofcode written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/epochcoder/adventofcode 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a00290d15315656fb255d0d6fd1e30e591681b8816c6420773ce199cce378347 [INFO] running `Command { std: "docker" "start" "-a" "a00290d15315656fb255d0d6fd1e30e591681b8816c6420773ce199cce378347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a00290d15315656fb255d0d6fd1e30e591681b8816c6420773ce199cce378347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00290d15315656fb255d0d6fd1e30e591681b8816c6420773ce199cce378347", kill_on_drop: false }` [INFO] [stdout] a00290d15315656fb255d0d6fd1e30e591681b8816c6420773ce199cce378347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff270386d8a48af680733127b4823af8b176e978af1ec39ad52070bea108aa5 [INFO] running `Command { std: "docker" "start" "-a" "1ff270386d8a48af680733127b4823af8b176e978af1ec39ad52070bea108aa5", kill_on_drop: false }` [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/libs/utils) [INFO] [stderr] Checking year-2020 v0.1.0 (/opt/rustwide/workdir/libs/year-2020) [INFO] [stderr] Checking regex v1.5.4 [INFO] [stdout] warning: function `day_1` is never used [INFO] [stdout] --> libs/year-2020/src/lib.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn day_1() -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking year-2021 v0.1.0 (/opt/rustwide/workdir/libs/year-2021) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use super::*; [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] --> libs/year-2021/src/day_four.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut piece = self.piece_at_mut(i, row); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> libs/year-2021/src/day_six.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | (1..=days).for_each(|day| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [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] --> libs/year-2021/src/day_four.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut piece = self.piece_at_mut(i, row); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> libs/year-2021/src/day_six.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | (1..=days).for_each(|day| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Depth` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Depth(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Depth { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | fn new(line: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_increases` is never used [INFO] [stdout] --> libs/year-2021/src/day_one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn count_increases(depths: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Depth` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Depth(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Depth { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 7 | fn from_string(line: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_depths` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sum_depths(depths: &Vec<&Depth>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_increases` is never used [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn count_increases(depths: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> libs/year-2021/src/day_five.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | start: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | end: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_vertical`, `is_horizontal`, and `plot` are never used [INFO] [stdout] --> libs/year-2021/src/day_five.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn plot(&self, width: usize, map: &mut Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate` is never used [INFO] [stdout] --> libs/year-2021/src/day_five.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn calculate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Piece` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_four.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_four.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 27 | fn new(w: usize, h: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn piece_idx(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn piece_at_mut(&mut self, x: usize, y: usize) -> &mut Piece { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn piece_at(&self, x: usize, y: usize) -> &Piece { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn intialize_row(&mut self, row: usize, line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn mark_board(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn has_row_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn has_column_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn bingo(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_by_comma` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn split_by_comma(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_by_whitespace` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn split_by_whitespace(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bingo_baby` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn bingo_baby() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_boards` is never used [INFO] [stdout] --> libs/year-2021/src/day_four.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn load_boards(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fish_ages` is never used [INFO] [stdout] --> libs/year-2021/src/day_six.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn fish_ages() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WIDTH` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnCount` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_three.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ColumnCount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `get_most_significant`, and `get_binary` are never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColumnCount { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 14 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn update(&mut self, ch: &char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_most_significant(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get_binary(column_counts: HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_gamma_rate` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn calculate_gamma_rate(bin: &String) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_epsilon_rate` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_epsilon_rate(bin: &String) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_power_consumption` is never used [INFO] [stdout] --> libs/year-2021/src/day_three.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculate_power_consumption() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WIDTH` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_decimal`, and `char_at_column` are never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | fn new(line: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn as_decimal(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn char_at_column(&self, col: usize, character: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_life_support_rating` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_life_support_rating() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_rating` is never used [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_rating(lines: &Vec, filter: impl Fn(usize, usize) -> bool) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_lines() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_position` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn calculate_position() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_position_aim` is never used [INFO] [stdout] --> libs/year-2021/src/day_two.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn calculate_position_aim() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "1ff270386d8a48af680733127b4823af8b176e978af1ec39ad52070bea108aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff270386d8a48af680733127b4823af8b176e978af1ec39ad52070bea108aa5", kill_on_drop: false }` [INFO] [stdout] 1ff270386d8a48af680733127b4823af8b176e978af1ec39ad52070bea108aa5