[INFO] cloning repository https://github.com/jmacmahon/advent-of-code-2016 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmacmahon/advent-of-code-2016" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacmahon%2Fadvent-of-code-2016", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacmahon%2Fadvent-of-code-2016'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 065b54ffec30020f9242161531bbf4fe438bb8c4 [INFO] checking jmacmahon/advent-of-code-2016 against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacmahon%2Fadvent-of-code-2016" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmacmahon/advent-of-code-2016 on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmacmahon/advent-of-code-2016 [INFO] finished tweaking git repo https://github.com/jmacmahon/advent-of-code-2016 [INFO] tweaked toml for git repo https://github.com/jmacmahon/advent-of-code-2016 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmacmahon/advent-of-code-2016 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 796b237147423b348aaa59ef64bb579162aaf47192ab0d279745aa854018c90c [INFO] running `Command { std: "docker" "start" "-a" "796b237147423b348aaa59ef64bb579162aaf47192ab0d279745aa854018c90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "796b237147423b348aaa59ef64bb579162aaf47192ab0d279745aa854018c90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "796b237147423b348aaa59ef64bb579162aaf47192ab0d279745aa854018c90c", kill_on_drop: false }` [INFO] [stdout] 796b237147423b348aaa59ef64bb579162aaf47192ab0d279745aa854018c90c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 018dda80826d9806ef7b749f78b4bb5aa4e95fceb784c2abd799325ad9c8b0fa [INFO] running `Command { std: "docker" "start" "-a" "018dda80826d9806ef7b749f78b4bb5aa4e95fceb784c2abd799325ad9c8b0fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_line(line: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_line(line: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_line(line: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_line(line: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn main_result() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn main_result() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn main_result() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn main_result() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:38:57 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_and_verify(line: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_and_verify(line: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:38:57 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_and_verify(line: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_and_verify(line: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | fn main_result() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn main_result() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | fn main_result() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn main_result() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:74:64 [INFO] [stdout] | [INFO] [stdout] 74 | fn count_three_lines(lines: &Vec<&str>) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | fn count_three_lines(lines: &Vec<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:74:64 [INFO] [stdout] | [INFO] [stdout] 74 | fn count_three_lines(lines: &Vec<&str>) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | fn count_three_lines(lines: &Vec<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:95:72 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_three_lines<'a, T>(mut iter: T) -> Result, Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | fn get_three_lines<'a, T>(mut iter: T) -> Result, Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:95:72 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_three_lines<'a, T>(mut iter: T) -> Result, Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | fn get_three_lines<'a, T>(mut iter: T) -> Result, Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day04/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_line(line: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_line(line: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day04/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_line(line: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_line(line: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day04/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn main_error() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn main_error() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day04/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn main_error() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn main_error() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day01/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &'static str = "R2, L3, R2, R4, L2, L1, R2, R4, R1, L4, L5, R5, R5, R2, R2, R1, L2, L3, L2, L1, R3, L5, R187, R1, R4, L1, R5... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day01/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { L, R } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> src/day01/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompassPoint` is never used [INFO] [stdout] --> src/day01/mod.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum CompassPoint { N, E, S, W } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/day01/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day01/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_to_position` is never used [INFO] [stdout] --> src/day01/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply_to_position(position: &mut Position, step: &Step) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_step` is never used [INFO] [stdout] --> src/day01/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_step(step_str: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day02/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX` is never used [INFO] [stdout] --> src/day02/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INDEX: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYPAD` is never used [INFO] [stdout] --> src/day02/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KEYPAD: [[char; 5]; 5] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day02/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_button_part2` is never used [INFO] [stdout] --> src/day02/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_next_button_part2(pos: &mut (usize, usize), line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day01/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &'static str = "R2, L3, R2, R4, L2, L1, R2, R4, R1, L4, L5, R5, R5, R2, R2, R1, L2, L3, L2, L1, R3, L5, R187, R1, R4, L1, R5... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day01/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { L, R } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> src/day01/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompassPoint` is never used [INFO] [stdout] --> src/day01/mod.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum CompassPoint { N, E, S, W } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/day01/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day01/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_to_position` is never used [INFO] [stdout] --> src/day01/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn apply_to_position(position: &mut Position, step: &Step) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_step` is never used [INFO] [stdout] --> src/day01/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_step(step_str: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day02/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX` is never used [INFO] [stdout] --> src/day02/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INDEX: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYPAD` is never used [INFO] [stdout] --> src/day02/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KEYPAD: [[char; 5]; 5] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day02/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_button_part2` is never used [INFO] [stdout] --> src/day02/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_next_button_part2(pos: &mut (usize, usize), line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "018dda80826d9806ef7b749f78b4bb5aa4e95fceb784c2abd799325ad9c8b0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018dda80826d9806ef7b749f78b4bb5aa4e95fceb784c2abd799325ad9c8b0fa", kill_on_drop: false }` [INFO] [stdout] 018dda80826d9806ef7b749f78b4bb5aa4e95fceb784c2abd799325ad9c8b0fa