[INFO] cloning repository https://github.com/Darktrop/Aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darktrop/Aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2FAoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2FAoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7135aed78df15501dcbc5c53ae8d0c022b5f7faf [INFO] testing Darktrop/Aoc against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2FAoc" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darktrop/Aoc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Darktrop/Aoc [INFO] finished tweaking git repo https://github.com/Darktrop/Aoc [INFO] tweaked toml for git repo https://github.com/Darktrop/Aoc written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Darktrop/Aoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9cdfb79a16e9a9490d26b4f0c48d071faef003331e95fac60bc3edef92533b57 [INFO] running `Command { std: "docker" "start" "-a" "9cdfb79a16e9a9490d26b4f0c48d071faef003331e95fac60bc3edef92533b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cdfb79a16e9a9490d26b4f0c48d071faef003331e95fac60bc3edef92533b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdfb79a16e9a9490d26b4f0c48d071faef003331e95fac60bc3edef92533b57", kill_on_drop: false }` [INFO] [stdout] 9cdfb79a16e9a9490d26b4f0c48d071faef003331e95fac60bc3edef92533b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 47c198ffbc27b43141474c113c7326b211b4ab5495a28778bbdc33775c069d59 [INFO] running `Command { std: "docker" "start" "-a" "47c198ffbc27b43141474c113c7326b211b4ab5495a28778bbdc33775c069d59", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling termion v1.5.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/solutions/template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solutions/common.rs:128:79 [INFO] [stdout] | [INFO] [stdout] 128 | let (min_width, max_width) = match self.data.iter().minmax_by_key(|(k,v)|k.x) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solutions/common.rs:135:81 [INFO] [stdout] | [INFO] [stdout] 135 | let (min_height, max_height) = match self.data.iter().minmax_by_key(|(k,v)|k.y) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(year: &str, day: &str, part: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: i32, y: i32, z: i32) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/solutions/common.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn zero() -> Vector3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solutions/common.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&self, other: Vector3) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(x: i32, y: i32) -> Vector2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/solutions/common.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn zero() -> Vector2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solutions/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add(&self, other: &Vector2) -> Vector2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/solutions/common.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn scale(&self, scalar: i32) -> Vector2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neigh` [INFO] [stdout] --> src/solutions/common.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neigh(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/solutions/common.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `North` [INFO] [stdout] --> src/solutions/common.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `South` [INFO] [stdout] --> src/solutions/common.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `East` [INFO] [stdout] --> src/solutions/common.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `West` [INFO] [stdout] --> src/solutions/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | West [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: `to_input` [INFO] [stdout] --> src/solutions/common.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_input(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vector` [INFO] [stdout] --> src/solutions/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn to_vector(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/solutions/common.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rotate(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(stdout: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/solutions/common.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_map` [INFO] [stdout] --> src/solutions/common.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn print_map(&mut self, player: Vector2, symbol: &T, clean: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 95 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "47c198ffbc27b43141474c113c7326b211b4ab5495a28778bbdc33775c069d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c198ffbc27b43141474c113c7326b211b4ab5495a28778bbdc33775c069d59", kill_on_drop: false }` [INFO] [stdout] 47c198ffbc27b43141474c113c7326b211b4ab5495a28778bbdc33775c069d59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f1c36c3fb57c2379e9edead4b020f29dd45bcb458e15b9c64724412a5b0494 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4f1c36c3fb57c2379e9edead4b020f29dd45bcb458e15b9c64724412a5b0494", kill_on_drop: false }` [INFO] [stderr] Compiling advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/solutions/template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/template.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solutions/common.rs:128:79 [INFO] [stdout] | [INFO] [stdout] 128 | let (min_width, max_width) = match self.data.iter().minmax_by_key(|(k,v)|k.x) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solutions/common.rs:135:81 [INFO] [stdout] | [INFO] [stdout] 135 | let (min_height, max_height) = match self.data.iter().minmax_by_key(|(k,v)|k.y) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d3.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d4.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d5.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d6.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d7.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d8.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d9.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d10.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d11.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d12.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d13.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d14.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d15.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d16.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d17.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d18.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d19.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d20.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d21.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d22.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d23.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d24.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/solutions/y2021/d25.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(year: &str, day: &str, part: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: i32, y: i32, z: i32) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/solutions/common.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn zero() -> Vector3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solutions/common.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&self, other: Vector3) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(x: i32, y: i32) -> Vector2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/solutions/common.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn zero() -> Vector2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solutions/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add(&self, other: &Vector2) -> Vector2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/solutions/common.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn scale(&self, scalar: i32) -> Vector2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neigh` [INFO] [stdout] --> src/solutions/common.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neigh(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/solutions/common.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `North` [INFO] [stdout] --> src/solutions/common.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `South` [INFO] [stdout] --> src/solutions/common.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `East` [INFO] [stdout] --> src/solutions/common.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: variant is never constructed: `West` [INFO] [stdout] --> src/solutions/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | West [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solutions/common.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Copy, 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: `to_input` [INFO] [stdout] --> src/solutions/common.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_input(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vector` [INFO] [stdout] --> src/solutions/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn to_vector(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/solutions/common.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rotate(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solutions/common.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(stdout: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/solutions/common.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_map` [INFO] [stdout] --> src/solutions/common.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn print_map(&mut self, player: Vector2, symbol: &T, clean: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 95 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.93s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent-edb00bbaa9519bd6) [INFO] running `Command { std: "docker" "inspect" "d4f1c36c3fb57c2379e9edead4b020f29dd45bcb458e15b9c64724412a5b0494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f1c36c3fb57c2379e9edead4b020f29dd45bcb458e15b9c64724412a5b0494", kill_on_drop: false }` [INFO] [stdout] d4f1c36c3fb57c2379e9edead4b020f29dd45bcb458e15b9c64724412a5b0494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a54751f6b1065609e483b10e3eb78646f78819757a8747a8bd6a75002ccd064 [INFO] running `Command { std: "docker" "start" "-a" "6a54751f6b1065609e483b10e3eb78646f78819757a8747a8bd6a75002ccd064", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/solutions/template.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/template.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/template.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/template.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/solutions/common.rs:128:79 [INFO] [stderr] | [INFO] [stderr] 128 | let (min_width, max_width) = match self.data.iter().minmax_by_key(|(k,v)|k.x) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/solutions/common.rs:135:81 [INFO] [stderr] | [INFO] [stderr] 135 | let (min_height, max_height) = match self.data.iter().minmax_by_key(|(k,v)|k.y) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d3.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d3.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d3.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d4.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d4.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d4.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d5.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d5.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d5.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d6.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d6.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d6.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d7.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d7.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d7.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d8.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d8.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d8.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d9.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d9.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d9.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d10.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d10.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d10.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d11.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d11.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d11.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d12.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d12.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d12.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d13.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d13.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d13.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d14.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d14.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d14.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d15.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d15.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d15.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d16.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d16.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d16.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d17.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d17.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d17.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d18.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d18.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d18.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d19.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d19.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d19.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d20.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d20.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d20.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d21.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d21.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d21.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d22.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d22.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d22.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d23.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d23.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d23.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d24.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d24.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d24.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d25.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn parse_input(input: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d25.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn solve_part1(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/solutions/y2021/d25.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn solve_part2(input: Self::Input) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/solutions/mod.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | fn new(year: &str, day: &str, part: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/solutions/common.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(x: i32, y: i32, z: i32) -> Vector3 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `zero` [INFO] [stderr] --> src/solutions/common.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn zero() -> Vector3 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/solutions/common.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn add(&self, other: Vector3) -> Vector3 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/solutions/common.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(x: i32, y: i32) -> Vector2 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `zero` [INFO] [stderr] --> src/solutions/common.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn zero() -> Vector2 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/solutions/common.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn add(&self, other: &Vector2) -> Vector2 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `scale` [INFO] [stderr] --> src/solutions/common.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn scale(&self, scalar: i32) -> Vector2 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `neigh` [INFO] [stderr] --> src/solutions/common.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn neigh(&self) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `None` [INFO] [stderr] --> src/solutions/common.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/solutions/common.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `North` [INFO] [stderr] --> src/solutions/common.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | North, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/solutions/common.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `South` [INFO] [stderr] --> src/solutions/common.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | South, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/solutions/common.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `East` [INFO] [stderr] --> src/solutions/common.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | East, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/solutions/common.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `West` [INFO] [stderr] --> src/solutions/common.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | West [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/solutions/common.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_input` [INFO] [stderr] --> src/solutions/common.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn to_input(&self) -> i64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_vector` [INFO] [stderr] --> src/solutions/common.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn to_vector(&self) -> Vector2 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate` [INFO] [stderr] --> src/solutions/common.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn rotate(&self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/solutions/common.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn new(stdout: W) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `init` [INFO] [stderr] --> src/solutions/common.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn init(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_map` [INFO] [stderr] --> src/solutions/common.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn print_map(&mut self, player: Vector2, symbol: &T, clean: bool) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent` (bin "advent" test) generated 95 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent-edb00bbaa9519bd6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a54751f6b1065609e483b10e3eb78646f78819757a8747a8bd6a75002ccd064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a54751f6b1065609e483b10e3eb78646f78819757a8747a8bd6a75002ccd064", kill_on_drop: false }` [INFO] [stdout] 6a54751f6b1065609e483b10e3eb78646f78819757a8747a8bd6a75002ccd064