[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 master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2FAoc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darktrop/Aoc on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded serde v1.0.103 [INFO] [stderr] Downloaded termion v1.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59a78686800d195891f94b8d2dfff767361b173cfd1e460c43796606d64979a4 [INFO] running `Command { std: "docker" "start" "-a" "59a78686800d195891f94b8d2dfff767361b173cfd1e460c43796606d64979a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59a78686800d195891f94b8d2dfff767361b173cfd1e460c43796606d64979a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a78686800d195891f94b8d2dfff767361b173cfd1e460c43796606d64979a4", kill_on_drop: false }` [INFO] [stdout] 59a78686800d195891f94b8d2dfff767361b173cfd1e460c43796606d64979a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48185e8ae3a4d6712589d56fa599439bca5f1bc274ed67595000db7f5fc76dd0 [INFO] running `Command { std: "docker" "start" "-a" "48185e8ae3a4d6712589d56fa599439bca5f1bc274ed67595000db7f5fc76dd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v1.5.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling dirs v4.0.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 pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling h2 v0.3.7 [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 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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: associated function `new` is never used [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: variants `None`, `North`, `South`, `East`, and `West` are never constructed [INFO] [stdout] --> src/solutions/common.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | East, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `zero` is never used [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 `add` is never used [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 `new` is never used [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 `zero` is never used [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 `add` is never used [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 `scale` is never used [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 `neigh` is never used [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: associated function `to_input` is never used [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 `to_vector` is never used [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 `rotate` is never used [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 `new` is never used [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 `init` is never used [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 `print_map` is never used [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: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 57s [INFO] running `Command { std: "docker" "inspect" "48185e8ae3a4d6712589d56fa599439bca5f1bc274ed67595000db7f5fc76dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48185e8ae3a4d6712589d56fa599439bca5f1bc274ed67595000db7f5fc76dd0", kill_on_drop: false }` [INFO] [stdout] 48185e8ae3a4d6712589d56fa599439bca5f1bc274ed67595000db7f5fc76dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb4a1ca2fb307fd4493e142f1b83fb007917ef7ac4a8b0ab95798a51711b01d8 [INFO] running `Command { std: "docker" "start" "-a" "bb4a1ca2fb307fd4493e142f1b83fb007917ef7ac4a8b0ab95798a51711b01d8", 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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: associated function `new` is never used [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: variants `None`, `North`, `South`, `East`, and `West` are never constructed [INFO] [stdout] --> src/solutions/common.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | East, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `zero` is never used [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 `add` is never used [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 `new` is never used [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 `zero` is never used [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 `add` is never used [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 `scale` is never used [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 `neigh` is never used [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: associated function `to_input` is never used [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 `to_vector` is never used [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 `rotate` is never used [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 `new` is never used [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 `init` is never used [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 `print_map` is never used [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: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "bb4a1ca2fb307fd4493e142f1b83fb007917ef7ac4a8b0ab95798a51711b01d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4a1ca2fb307fd4493e142f1b83fb007917ef7ac4a8b0ab95798a51711b01d8", kill_on_drop: false }` [INFO] [stdout] bb4a1ca2fb307fd4493e142f1b83fb007917ef7ac4a8b0ab95798a51711b01d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ba520c3468f64af6b43255c73b621bbbd4400562c9233d70f14aa3d3c1fc363 [INFO] running `Command { std: "docker" "start" "-a" "0ba520c3468f64af6b43255c73b621bbbd4400562c9233d70f14aa3d3c1fc363", 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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] 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: associated function `new` is never used [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: variants `None`, `North`, `South`, `East`, and `West` are never constructed [INFO] [stderr] --> src/solutions/common.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub enum Direction { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 64 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] 65 | North, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 66 | South, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 67 | East, [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] [INFO] [stderr] warning: associated function `new` is never used [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 `zero` is never used [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 `add` is never used [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 `new` is never used [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 `zero` is never used [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 `add` is never used [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 `scale` is never used [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 `neigh` is never used [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: associated function `to_input` is never used [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 `to_vector` is never used [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 `rotate` is never used [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 `new` is never used [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 `init` is never used [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 `print_map` is never used [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 91 warnings (run `cargo fix --bin "advent" --tests` to apply 75 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent-27cd1f76f4c5504c) [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" "0ba520c3468f64af6b43255c73b621bbbd4400562c9233d70f14aa3d3c1fc363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba520c3468f64af6b43255c73b621bbbd4400562c9233d70f14aa3d3c1fc363", kill_on_drop: false }` [INFO] [stdout] 0ba520c3468f64af6b43255c73b621bbbd4400562c9233d70f14aa3d3c1fc363