[INFO] cloning repository https://github.com/gissleh/aoc2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gissleh/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c981ee8531393a21c0a7219dc5415e575376175
[INFO] checking gissleh/aoc2020 against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gissleh/aoc2020 on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gissleh/aoc2020
[INFO] finished tweaking git repo https://github.com/gissleh/aoc2020
[INFO] tweaked toml for git repo https://github.com/gissleh/aoc2020 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/gissleh/aoc2020 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termion v1.5.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37c7ebcc66947cecc056a19b5dcac457046f63fe8243cba5a12d84667f5d1258
[INFO] running `Command { std: "docker" "start" "-a" "37c7ebcc66947cecc056a19b5dcac457046f63fe8243cba5a12d84667f5d1258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37c7ebcc66947cecc056a19b5dcac457046f63fe8243cba5a12d84667f5d1258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37c7ebcc66947cecc056a19b5dcac457046f63fe8243cba5a12d84667f5d1258", kill_on_drop: false }`
[INFO] [stdout] 37c7ebcc66947cecc056a19b5dcac457046f63fe8243cba5a12d84667f5d1258
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f11df257d9c99f05d9013ad8e50318d0a2a99de62e07e19a35347a9ef384a411
[INFO] running `Command { std: "docker" "start" "-a" "f11df257d9c99f05d9013ad8e50318d0a2a99de62e07e19a35347a9ef384a411", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking smallvec v1.5.1
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking termion v1.5.4
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking aoc2019 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/day14.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/year2017-day23.rs:189:29
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 _ => panic!(format!("Unknown op {}", command)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 _ => panic!(format!("Unknown op {}", command)),
[INFO] [stdout] 189 +                 _ => panic!("Unknown op {}", command),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day12.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     _ => panic!(format!("Unknown instruction: {}", current_inst as char)),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 100 -                     _ => panic!(format!("Unknown instruction: {}", current_inst as char)),
[INFO] [stdout] 100 +                     _ => panic!("Unknown instruction: {}", current_inst as char),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Item::Fixed`
[INFO] [stdout]  --> src/day20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::Item::Fixed;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `termion::event::Key::Right`
[INFO] [stdout]  --> src/day20.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use termion::event::Key::Right;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/day21.rs:139:37
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl<'a> Input<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] 139 |     fn parse(input_str: &'a str) -> Input {
[INFO] [stdout]     |                                     ^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/day21.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(is_sorted)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/year2017-day23.rs:189:29
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 _ => panic!(format!("Unknown op {}", command)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 _ => panic!(format!("Unknown op {}", command)),
[INFO] [stdout] 189 +                 _ => panic!("Unknown op {}", command),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sub_indexes` is never read
[INFO] [stdout]    --> src/day19.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 147 | struct Input {
[INFO] [stdout]     |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 150 |     sub_indexes: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day12.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     _ => panic!(format!("Unknown instruction: {}", current_inst as char)),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 100 -                     _ => panic!(format!("Unknown instruction: {}", current_inst as char)),
[INFO] [stdout] 100 +                     _ => panic!("Unknown instruction: {}", current_inst as char),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `horizontal`
[INFO] [stdout]   --> src/day20.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let horizontal = dir == LEFT || dir == RIGHT;
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/day20.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |             .map(|(i, s)| {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day20.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let mut target_dir = FLIPPED_VH[dir];
[INFO] [stdout]    |                 ----^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day20.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let mut side = states[index].tile.sides[dir];
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_slope` is never used
[INFO] [stdout]   --> src/day03.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn check_slope(grid: &FixedGrid<u8>, vx: usize, w: usize, h: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_slope_vertical` is never used
[INFO] [stdout]   --> src/day03.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn check_slope_vertical(grid: &FixedGrid<u8>, vx: usize, vy: usize, w: usize, h: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTIONS` is never used
[INFO] [stdout]   --> src/day20.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DIRECTIONS: [usize; 4] = [RIGHT, DOWN, LEFT, UP];
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_H` is never used
[INFO] [stdout]   --> src/day20.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const FLIPPED_H: [usize; 4] = [LEFT, UP, RIGHT, DOWN];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_V` is never used
[INFO] [stdout]   --> src/day20.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FLIPPED_V: [usize; 4] = [RIGHT, UP, LEFT, DOWN];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_dir` is never used
[INFO] [stdout]   --> src/day20.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn pos_dir(x: usize, y: usize, dir: usize) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_right` is never used
[INFO] [stdout]    --> src/day20.rs:473:4
[INFO] [stdout]     |
[INFO] [stdout] 473 | fn rotate_right(dir: usize, amount: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `put_padded` is never used
[INFO] [stdout]    --> src/day20.rs:550:8
[INFO] [stdout]     |
[INFO] [stdout] 492 | impl Tile {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 550 |     fn put_padded(&self, grid: &mut FixedGrid<u8>, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_slope` is never used
[INFO] [stdout]   --> src/day03.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn check_slope(grid: &FixedGrid<u8>, vx: usize, w: usize, h: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_slope_vertical` is never used
[INFO] [stdout]   --> src/day03.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn check_slope_vertical(grid: &FixedGrid<u8>, vx: usize, vy: usize, w: usize, h: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Item::Fixed`
[INFO] [stdout]  --> src/day20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::Item::Fixed;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `termion::event::Key::Right`
[INFO] [stdout]  --> src/day20.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use termion::event::Key::Right;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/day08.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout]    |                        ^                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout] 53 +                 JMP => pc = (pc as i32 + n) as usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/day08.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout]     |                        ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout] 106 +                 JMP => pc = (pc as i32 + n) as usize,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/day08.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout]    |                        ^                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout] 53 +                 JMP => pc = (pc as i32 + n) as usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/day08.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout]     |                        ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -                 JMP => (pc = (pc as i32 + n) as usize),
[INFO] [stdout] 106 +                 JMP => pc = (pc as i32 + n) as usize,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day08.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 _ => panic!(format!("Unknown instruction: {}", line)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 _ => panic!(format!("Unknown instruction: {}", line)),
[INFO] [stdout] 130 +                 _ => panic!("Unknown instruction: {}", line),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/day21.rs:139:37
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl<'a> Input<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] 139 |     fn parse(input_str: &'a str) -> Input {
[INFO] [stdout]     |                                     ^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/day21.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(is_sorted)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sub_indexes` is never read
[INFO] [stdout]    --> src/day19.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 147 | struct Input {
[INFO] [stdout]     |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 150 |     sub_indexes: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/day16.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl<'a> Input<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] 115 |     fn parse(input: &'a str) -> Input {
[INFO] [stdout]     |                                 ^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day08.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 _ => panic!(format!("Unknown instruction: {}", line)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 _ => panic!(format!("Unknown instruction: {}", line)),
[INFO] [stdout] 130 +                 _ => panic!("Unknown instruction: {}", line),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `horizontal`
[INFO] [stdout]   --> src/day20.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let horizontal = dir == LEFT || dir == RIGHT;
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/day20.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |             .map(|(i, s)| {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day20.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let mut target_dir = FLIPPED_VH[dir];
[INFO] [stdout]    |                 ----^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day20.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let mut side = states[index].tile.sides[dir];
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day18.rs:189:28
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     panic!(format!("Unknown token: {}", *b as char));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 189 -                     panic!(format!("Unknown token: {}", *b as char));
[INFO] [stdout] 189 +                     panic!("Unknown token: {}", *b as char);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIRECTIONS` is never used
[INFO] [stdout]   --> src/day20.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DIRECTIONS: [usize; 4] = [RIGHT, DOWN, LEFT, UP];
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_H` is never used
[INFO] [stdout]   --> src/day20.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const FLIPPED_H: [usize; 4] = [LEFT, UP, RIGHT, DOWN];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_V` is never used
[INFO] [stdout]   --> src/day20.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FLIPPED_V: [usize; 4] = [RIGHT, UP, LEFT, DOWN];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_dir` is never used
[INFO] [stdout]   --> src/day20.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn pos_dir(x: usize, y: usize, dir: usize) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_right` is never used
[INFO] [stdout]    --> src/day20.rs:473:4
[INFO] [stdout]     |
[INFO] [stdout] 473 | fn rotate_right(dir: usize, amount: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `put_padded` is never used
[INFO] [stdout]    --> src/day20.rs:550:8
[INFO] [stdout]     |
[INFO] [stdout] 492 | impl Tile {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 550 |     fn put_padded(&self, grid: &mut FixedGrid<u8>, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/day16.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl<'a> Input<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] 115 |     fn parse(input: &'a str) -> Input {
[INFO] [stdout]     |                                 ^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/day14.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day18.rs:189:28
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     panic!(format!("Unknown token: {}", *b as char));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 189 -                     panic!(format!("Unknown token: {}", *b as char));
[INFO] [stdout] 189 +                     panic!("Unknown token: {}", *b as char);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_part2` is never used
[INFO] [stdout]    --> src/day16.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 226 |     fn test_part2() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.02s
[INFO] running `Command { std: "docker" "inspect" "f11df257d9c99f05d9013ad8e50318d0a2a99de62e07e19a35347a9ef384a411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f11df257d9c99f05d9013ad8e50318d0a2a99de62e07e19a35347a9ef384a411", kill_on_drop: false }`
[INFO] [stdout] f11df257d9c99f05d9013ad8e50318d0a2a99de62e07e19a35347a9ef384a411
