[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#bdcb6a99e853732f8ec050ae4986aa3af51d44c5 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepochcoder%2Fadventofcode" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epochcoder/adventofcode on toolchain bdcb6a99e853732f8ec050ae4986aa3af51d44c5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "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-69/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: "/workspace/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "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-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac41de930468f358cf589bad266da44e28c04e380e2c5df9a6ca90cd4319aeda [INFO] running `Command { std: "docker" "start" "-a" "ac41de930468f358cf589bad266da44e28c04e380e2c5df9a6ca90cd4319aeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac41de930468f358cf589bad266da44e28c04e380e2c5df9a6ca90cd4319aeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac41de930468f358cf589bad266da44e28c04e380e2c5df9a6ca90cd4319aeda", kill_on_drop: false }` [INFO] [stdout] ac41de930468f358cf589bad266da44e28c04e380e2c5df9a6ca90cd4319aeda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9587689e540e439fa74e54041d91118dc3c947000f4cbf537c26f5bcce2ff12 [INFO] running `Command { std: "docker" "start" "-a" "f9587689e540e439fa74e54041d91118dc3c947000f4cbf537c26f5bcce2ff12", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [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] [stdout] warning: function is never used: `day_1` [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 aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [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: 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: 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: associated function is never used: `new` [INFO] [stdout] --> libs/year-2021/src/day_one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(line: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [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 is never used: `count_increases` [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: associated function is never used: `from_string` [INFO] [stdout] --> libs/year-2021/src/day_one_extra.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn from_string(line: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [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 is never used: `sum_depths` [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 is never used: `count_increases` [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: field is never read: `start` [INFO] [stdout] --> libs/year-2021/src/day_five.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | start: 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] --> libs/year-2021/src/day_five.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> libs/year-2021/src/day_five.rs:14:5 [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] --> libs/year-2021/src/day_five.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vertical` [INFO] [stdout] --> libs/year-2021/src/day_five.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_horizontal` [INFO] [stdout] --> libs/year-2021/src/day_five.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plot` [INFO] [stdout] --> libs/year-2021/src/day_five.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn plot(&self, width: usize, map: &mut Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate` [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: field is never read: `num` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | num: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chosen` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | chosen: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.16s [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Board` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Board` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | content: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Board` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bingo` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | bingo: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Board` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_four.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(w: usize, h: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_idx` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn piece_idx(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_at_mut` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn piece_at_mut(&mut self, x: usize, y: usize) -> &mut Piece { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_at` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn piece_at(&self, x: usize, y: usize) -> &Piece { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intialize_row` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn intialize_row(&mut self, row: usize, line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mark_board` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn mark_board(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_row_marked` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn has_row_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_column_marked` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn has_column_marked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bingo` [INFO] [stdout] --> libs/year-2021/src/day_four.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn bingo(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_by_comma` [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 is never used: `split_by_whitespace` [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 is never used: `bingo_baby` [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 is never used: `load_boards` [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 is never used: `fish_ages` [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 is never used: `WIDTH` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ones` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ones: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnCount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_three.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zeros` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | zeros: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnCount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> libs/year-2021/src/day_three.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn update(&mut self, ch: &char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_most_significant` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_most_significant(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_binary` [INFO] [stdout] --> libs/year-2021/src/day_three.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_binary(column_counts: HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_gamma_rate` [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 is never used: `calculate_epsilon_rate` [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 is never used: `calculate_power_consumption` [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 is never used: `WIDTH` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static WIDTH: usize = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(line: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_decimal` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_decimal(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `char_at_column` [INFO] [stdout] --> libs/year-2021/src/day_three_extra.rs:19:8 [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 is never used: `calculate_life_support_rating` [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 is never used: `calculate_rating` [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 is never used: `read_lines` [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 is never used: `calculate_position` [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 is never used: `calculate_position_aim` [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: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9587689e540e439fa74e54041d91118dc3c947000f4cbf537c26f5bcce2ff12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9587689e540e439fa74e54041d91118dc3c947000f4cbf537c26f5bcce2ff12", kill_on_drop: false }` [INFO] [stdout] f9587689e540e439fa74e54041d91118dc3c947000f4cbf537c26f5bcce2ff12