[INFO] cloning repository https://github.com/boylede/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boylede/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 397cc12bb13b7cefb04a151ce87d992b6b7afb6d [INFO] building boylede/aoc2020 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Faoc2020" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boylede/aoc2020 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boylede/aoc2020 [INFO] finished tweaking git repo https://github.com/boylede/aoc2020 [INFO] tweaked toml for git repo https://github.com/boylede/aoc2020 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/boylede/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3388d4cd6385b6b4cb820c7cb689a48b06cd2d62f95ac4f8372f43fa45329621 [INFO] running `Command { std: "docker" "start" "-a" "3388d4cd6385b6b4cb820c7cb689a48b06cd2d62f95ac4f8372f43fa45329621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3388d4cd6385b6b4cb820c7cb689a48b06cd2d62f95ac4f8372f43fa45329621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3388d4cd6385b6b4cb820c7cb689a48b06cd2d62f95ac4f8372f43fa45329621", kill_on_drop: false }` [INFO] [stdout] 3388d4cd6385b6b4cb820c7cb689a48b06cd2d62f95ac4f8372f43fa45329621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99e888827602878b3f2f272dacaafd2507365ef40839b8b8540f96d463adef32 [INFO] running `Command { std: "docker" "start" "-a" "99e888827602878b3f2f272dacaafd2507365ef40839b8b8540f96d463adef32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap/#d36d9117) [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 (https://github.com/clap-rs/clap/#d36d9117) [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ron v0.6.2 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day13.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day14.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day18.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Cursor`, `Read`, `Seek` [INFO] [stdout] --> src/day18.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, Cursor, Read, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day19.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day20.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day22.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day23.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day25.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | let max_x = *area.iter().map(|(Coord(x, y), _)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let max_y = *area.iter().map(|(Coord(x, y), _)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | let min_x = *area.iter().map(|(Coord(x, y), _)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *area.iter().map(|(Coord(x, y), _)| y).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seat` [INFO] [stdout] --> src/day11.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | if let Square::Seat(seat) = square { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day13.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ii` [INFO] [stdout] --> src/day13.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day18.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/day24.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | .filter(|(tile, turns)| turns % 2 == 1) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day24.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_area` [INFO] [stdout] --> src/day11.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn print_area(area: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `range` [INFO] [stdout] --> src/day11.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn range(area: &HashMap) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day18.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> ParseState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_operation` [INFO] [stdout] --> src/day18.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn consume_operation(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_expression` [INFO] [stdout] --> src/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn consume_expression(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_factor` [INFO] [stdout] --> src/day18.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn consume_factor(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Walk` [INFO] [stdout] --> src/day18.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct Walk<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/day18.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward` [INFO] [stdout] --> src/day18.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn backward(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap` [INFO] [stdout] --> src/day18.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn wrap(inner: &'a str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coord` [INFO] [stdout] --> src/day24.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Coord(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[clap(version = "0.1.0", author = "Daniel Boyle")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[derive(Debug, Clone, Clap)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "99e888827602878b3f2f272dacaafd2507365ef40839b8b8540f96d463adef32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99e888827602878b3f2f272dacaafd2507365ef40839b8b8540f96d463adef32", kill_on_drop: false }` [INFO] [stdout] 99e888827602878b3f2f272dacaafd2507365ef40839b8b8540f96d463adef32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a45c7062c979a0932ebe4a2bd8698a9d214334bf9d0b81cc1c20e63e4718011 [INFO] running `Command { std: "docker" "start" "-a" "6a45c7062c979a0932ebe4a2bd8698a9d214334bf9d0b81cc1c20e63e4718011", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day13.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day14.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day18.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Cursor`, `Read`, `Seek` [INFO] [stdout] --> src/day18.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, Cursor, Read, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day19.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day20.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day22.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day23.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day25.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | let max_x = *area.iter().map(|(Coord(x, y), _)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let max_y = *area.iter().map(|(Coord(x, y), _)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | let min_x = *area.iter().map(|(Coord(x, y), _)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *area.iter().map(|(Coord(x, y), _)| y).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seat` [INFO] [stdout] --> src/day11.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | if let Square::Seat(seat) = square { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day13.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ii` [INFO] [stdout] --> src/day13.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day18.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/day24.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | .filter(|(tile, turns)| turns % 2 == 1) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day24.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_area` [INFO] [stdout] --> src/day11.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn print_area(area: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `range` [INFO] [stdout] --> src/day11.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn range(area: &HashMap) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day18.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> ParseState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_operation` [INFO] [stdout] --> src/day18.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn consume_operation(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_expression` [INFO] [stdout] --> src/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn consume_expression(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_factor` [INFO] [stdout] --> src/day18.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn consume_factor(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Walk` [INFO] [stdout] --> src/day18.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct Walk<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/day18.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward` [INFO] [stdout] --> src/day18.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn backward(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap` [INFO] [stdout] --> src/day18.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn wrap(inner: &'a str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coord` [INFO] [stdout] --> src/day24.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Coord(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[clap(version = "0.1.0", author = "Daniel Boyle")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[derive(Debug, Clone, Clap)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day13.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day14.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day18.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Cursor`, `Read`, `Seek` [INFO] [stdout] --> src/day18.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, Cursor, Read, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day19.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day20.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day22.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day23.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day25.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | let max_x = *area.iter().map(|(Coord(x, y), _)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let max_y = *area.iter().map(|(Coord(x, y), _)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | let min_x = *area.iter().map(|(Coord(x, y), _)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *area.iter().map(|(Coord(x, y), _)| y).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seat` [INFO] [stdout] --> src/day11.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | if let Square::Seat(seat) = square { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day13.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ii` [INFO] [stdout] --> src/day13.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let (max_i, max) = rules.iter().max_by(|(i, b), (ii, bb)| b.cmp(bb)).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day14.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day16.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day17.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day18.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day19.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day21.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day22.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day23.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/day24.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | .filter(|(tile, turns)| turns % 2 == 1) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day24.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day25.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(lines: &Vec) -> PartResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_area` [INFO] [stdout] --> src/day11.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn print_area(area: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `range` [INFO] [stdout] --> src/day11.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn range(area: &HashMap) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day18.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> ParseState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_operation` [INFO] [stdout] --> src/day18.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn consume_operation(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_expression` [INFO] [stdout] --> src/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn consume_expression(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_factor` [INFO] [stdout] --> src/day18.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn consume_factor(stream: &mut Walk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Walk` [INFO] [stdout] --> src/day18.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct Walk<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/day18.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward` [INFO] [stdout] --> src/day18.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn backward(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap` [INFO] [stdout] --> src/day18.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn wrap(inner: &'a str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coord` [INFO] [stdout] --> src/day24.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Coord(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc2020-3bc2711d65e5d662) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2020-0bcfed3c5c613227) [INFO] running `Command { std: "docker" "inspect" "6a45c7062c979a0932ebe4a2bd8698a9d214334bf9d0b81cc1c20e63e4718011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a45c7062c979a0932ebe4a2bd8698a9d214334bf9d0b81cc1c20e63e4718011", kill_on_drop: false }` [INFO] [stdout] 6a45c7062c979a0932ebe4a2bd8698a9d214334bf9d0b81cc1c20e63e4718011