[INFO] cloning repository https://github.com/akarsh1995/advent-of-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akarsh1995/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarsh1995%2Fadvent-of-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarsh1995%2Fadvent-of-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca3913a1194e21fcae3f9b3a95d46592baa30328
[INFO] checking akarsh1995/advent-of-code against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarsh1995%2Fadvent-of-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/akarsh1995/advent-of-code
[INFO] finished tweaking git repo https://github.com/akarsh1995/advent-of-code
[INFO] tweaked toml for git repo https://github.com/akarsh1995/advent-of-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/akarsh1995/advent-of-code on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/akarsh1995/advent-of-code 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b690df54dc6654877d35d0d7b19bea9d1fde24c88298a53ccb26373d24ab5fc
[INFO] running `Command { std: "docker" "start" "-a" "8b690df54dc6654877d35d0d7b19bea9d1fde24c88298a53ccb26373d24ab5fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b690df54dc6654877d35d0d7b19bea9d1fde24c88298a53ccb26373d24ab5fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b690df54dc6654877d35d0d7b19bea9d1fde24c88298a53ccb26373d24ab5fc", kill_on_drop: false }`
[INFO] [stdout] 8b690df54dc6654877d35d0d7b19bea9d1fde24c88298a53ccb26373d24ab5fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 660c1aa12242fe4b81cd867e63a118008ce3f3fe65726f389a617c7ebcab2dca
[INFO] running `Command { std: "docker" "start" "-a" "660c1aa12242fe4b81cd867e63a118008ce3f3fe65726f389a617c7ebcab2dca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking regex-syntax v0.7.2
[INFO] [stderr]     Checking aho-corasick v1.0.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking regex v1.8.4
[INFO] [stderr]     Checking advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::read_to_string`
[INFO] [stdout]  --> src/advent_of_code/day_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::read_to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/advent_of_code/day_5.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         for row in 0..8 {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol_1p1` is never used
[INFO] [stdout]  --> src/advent_of_code/day_1.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sol_1p1(x: &str) -> u32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol_1p2` is never used
[INFO] [stdout]   --> src/advent_of_code/day_1.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sol_1p2(x: &str) -> u32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]  --> src/advent_of_code/day_10.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Instruction {
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cycles` is never used
[INFO] [stdout]   --> src/advent_of_code/day_10.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Instruction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 12 |     fn cycles(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]   --> src/advent_of_code/day_10.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct CPU {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `decode`, `draw`, `step`, and `get_running_cycle` are never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:57:8
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  57 |     fn new(input: &str) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     fn decode(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     fn draw(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn step(&mut self) -> bool {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn get_running_cycle(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISPLAY_MASK` is never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:121:7
[INFO] [stdout]     |
[INFO] [stdout] 121 | const DISPLAY_MASK: u64 = 0b1111111111111111111111111111111111111111;
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cycle_mask` is never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn cycle_mask(cycle: u32) -> u64 {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sprite_value` is never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn sprite_value(pos: i32) -> u64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `msb_ones` is never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn msb_ones(mut num: u64) -> u64 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `overflow_shift` is never used
[INFO] [stdout]    --> src/advent_of_code/day_10.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn overflow_shift(num: u64, pos: i32) -> u64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WorryLevel` is never used
[INFO] [stdout]  --> src/advent_of_code/day_11.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type WorryLevel = i32;
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Monkey` is never constructed
[INFO] [stdout]  --> src/advent_of_code/day_11.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Monkey {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Value` is never used
[INFO] [stdout]   --> src/advent_of_code/day_11.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Value {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Operation` is never used
[INFO] [stdout]   --> src/advent_of_code/day_11.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Operation {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeepAwayGame` is never constructed
[INFO] [stdout]   --> src/advent_of_code/day_11.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct KeepAwayGame {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `times_inspected` and `throw` are never used
[INFO] [stdout]   --> src/advent_of_code/day_11.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl KeepAwayGame {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 59 |     fn times_inspected(&self) -> Vec<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn throw(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `operate` is never used
[INFO] [stdout]    --> src/advent_of_code/day_11.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn operate(l: WorryLevel, operation: Operation, test: i32, if_true: u32, if_false: u32) -> (u32, i32) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]    --> src/advent_of_code/day_11.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl Monkey {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] 168 |     fn parse(values: &str) -> Self {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Input` is never constructed
[INFO] [stdout]  --> src/advent_of_code/day_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Input<'a>(&'a str);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_move` is never used
[INFO] [stdout]  --> src/advent_of_code/day_2.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl<'a> Input<'a> {
[INFO] [stdout]   | ------------------ method in this implementation
[INFO] [stdout] 4 |     fn get_move(&self) -> Move {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Move` is never used
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum Move {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OutCome` is never used
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum OutCome {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_move_score`, `get_outcome`, and `get_win_score` are never used
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Move {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 28 |     fn get_move_score(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn get_outcome(&self, opponents_move: &Self) -> OutCome {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn get_win_score(&self, opponents_move: &Self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_total_score` is never used
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn calc_total_score<'a>(in_str: &'a str) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Action` is never constructed
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | struct Action<'a>(&'a str);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Input2` is never constructed
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | struct Input2<'a>(&'a str);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_win_move` is never used
[INFO] [stdout]   --> src/advent_of_code/day_2.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn get_win_move(opponents_move: &Move) -> Move {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_losing_move` is never used
[INFO] [stdout]    --> src/advent_of_code/day_2.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn get_losing_move(opponents_move: &Move) -> Move {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `target`, `opponent_move`, `get_target_move`, and `get_score` are never used
[INFO] [stdout]    --> src/advent_of_code/day_2.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl<'a> Input2<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 115 |     fn target(&self) -> OutCome {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn opponent_move(&self) -> Move {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     fn get_target_move(&self) -> Move {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn get_score(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ord_val` is never used
[INFO] [stdout]  --> src/advent_of_code/day_3.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn get_ord_val(s: char) -> u8 {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ordval_from_string` is never used
[INFO] [stdout]   --> src/advent_of_code/day_3.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn get_ordval_from_string(s: &str) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three_lines_common` is never used
[INFO] [stdout]   --> src/advent_of_code/day_3.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn three_lines_common(s1: &str, s2: &str, s3: &str) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INPUT` is never used
[INFO] [stdout]  --> src/advent_of_code/day_4.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const INPUT: &'static str = include_str!("../../data/year_2022__day_4");
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Range` is never constructed
[INFO] [stdout]  --> src/advent_of_code/day_4.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Range {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `contains`, `contains_partial`, and `new` are never used
[INFO] [stdout]   --> src/advent_of_code/day_4.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Range {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 10 |     fn contains(&self, s: Range) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn contains_partial(&self, s: Range) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn new(s: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]  --> src/advent_of_code/day_5.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Move {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/advent_of_code/day_5.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Move {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 10 |     fn from_str(m: &str) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RowCompare` is never used
[INFO] [stdout]  --> src/advent_of_code/day_8.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait RowCompare {
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Rope` is never constructed
[INFO] [stdout]    --> src/advent_of_code/day_9.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Rope {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/advent_of_code/day_9.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Head {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 13 |     position: Coordinates,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Head` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/advent_of_code/day_9.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Tail {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 18 |     position: Coordinates,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `head`, `tail`, and `movements` are never read
[INFO] [stdout]   --> src/advent_of_code/day_9.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Knot {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 23 |     head: Head,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     tail: Tail,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     movements: HashSet<Coordinates>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Knot` 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 `move_head`, `move_head_n_steps`, and `get_total_positions` are never used
[INFO] [stdout]   --> src/advent_of_code/day_9.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Knot {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 45 |     fn move_head(&mut self, diff: Coordinates) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn move_head_n_steps(&mut self, diff: Coordinates, n_steps: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     fn get_total_positions(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Movement` is never used
[INFO] [stdout]    --> src/advent_of_code/day_9.rs:129:6
[INFO] [stdout]     |
[INFO] [stdout] 129 | enum Movement {
[INFO] [stdout]     |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `knots` is never read
[INFO] [stdout]    --> src/advent_of_code/day_9.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Rope {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 170 |     knots: Vec<Knot>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `move_rope` are never used
[INFO] [stdout]    --> src/advent_of_code/day_9.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Rope {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 174 |     fn new(size: usize) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn move_rope(&mut self, diff: Coordinates) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `roman_to_dec` is never used
[INFO] [stdout]   --> src/leetcode/lc_13.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn roman_to_dec(roman: &str) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_arrays` is never used
[INFO] [stdout]  --> src/leetcode/lc_20.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn sort_arrays(first: Vec<i32>, second: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_index` is never used
[INFO] [stdout]   --> src/leetcode/lc_28.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn first_index(haystack: &str, needle: &str) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_of_longest` is never used
[INFO] [stdout]  --> src/leetcode/lc_3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn length_of_longest(x: &str) -> u32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `v` is never used
[INFO] [stdout]  --> src/leetcode/lc_35.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn v(x: &[i32], l: usize, h: usize, target: i32) -> usize {
[INFO] [stdout]   |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ins_pos` is never used
[INFO] [stdout]   --> src/leetcode/lc_35.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn ins_pos(x: &[i32], target: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bin_add` is never used
[INFO] [stdout]  --> src/leetcode/lc_67.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn bin_add(a: &str, b: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `palindrome_number` is never used
[INFO] [stdout]  --> src/leetcode/lc_9.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn palindrome_number(x: i32) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (lib) due to 1 previous error; 56 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "660c1aa12242fe4b81cd867e63a118008ce3f3fe65726f389a617c7ebcab2dca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "660c1aa12242fe4b81cd867e63a118008ce3f3fe65726f389a617c7ebcab2dca", kill_on_drop: false }`
[INFO] [stdout] 660c1aa12242fe4b81cd867e63a118008ce3f3fe65726f389a617c7ebcab2dca
