[INFO] cloning repository https://github.com/atimos/advent2019
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atimos/advent2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 20def034d9b50dd9ecf6214cedeca853db47e5ba
[INFO] checking atimos/advent2019 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatimos%2Fadvent2019" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/atimos/advent2019
[INFO] finished tweaking git repo https://github.com/atimos/advent2019
[INFO] tweaked toml for git repo https://github.com/atimos/advent2019 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/atimos/advent2019 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/atimos/advent2019 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded displaydoc v0.1.5
[INFO] [stderr]   Downloaded joinery v2.0.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.6
[INFO] [stderr]   Downloaded thiserror v1.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1176bfc070b9d67fb3d1c880b4cf53b01db1f7e660cd86c24145df73c93afe4a
[INFO] running `Command { std: "docker" "start" "-a" "1176bfc070b9d67fb3d1c880b4cf53b01db1f7e660cd86c24145df73c93afe4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1176bfc070b9d67fb3d1c880b4cf53b01db1f7e660cd86c24145df73c93afe4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1176bfc070b9d67fb3d1c880b4cf53b01db1f7e660cd86c24145df73c93afe4a", kill_on_drop: false }`
[INFO] [stdout] 1176bfc070b9d67fb3d1c880b4cf53b01db1f7e660cd86c24145df73c93afe4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bcec5b6c3fa08c38285277ebe13afe4b68d09ce78a64b2b0e1669919e1c101e8
[INFO] running `Command { std: "docker" "start" "-a" "bcec5b6c3fa08c38285277ebe13afe4b68d09ce78a64b2b0e1669919e1c101e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]     Checking joinery v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.6
[INFO] [stderr]    Compiling displaydoc v0.1.5
[INFO] [stderr]     Checking thiserror v1.0.6
[INFO] [stderr]     Checking advent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day2.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn step1() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]   --> src/day2.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn step2() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/day2/enum_.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type Result<T> = StdResult<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result<usize> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/day2/error.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Error {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/error.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Result<T> = StdResult<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/error.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/error.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result<usize> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day2/panic.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn step1<R: std::io::Read>(input: R) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]  --> src/day2/panic.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn step2<R: std::io::Read>(input: R) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> src/day2/panic.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse<R: std::io::Read>(mut input: R) -> Vec<usize> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/panic.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn run(mut program: Vec<usize>) -> Vec<usize> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/day2/thiserror.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_OPERATIONS` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const MAX_OPERATIONS: usize = 1000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn apply(
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIRE1` is never used
[INFO] [stdout]  --> src/day3.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const WIRE1: &str = "R1009,U263,L517,U449,L805,D78,L798,D883,L777,D562,R652,D348,R999,D767,L959,U493,R59,D994,L225,D226,R634,D200,R95...
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIRE2` is never used
[INFO] [stdout]  --> src/day3.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const WIRE2: &str = "L1003,D960,L10,D57,R294,U538,R867,D426,L524,D441,R775,U308,R577,D785,R495,U847,R643,D895,R448,U685,L253,U312,L31...
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day3.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn step1() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]   --> src/day3.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn step2() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dir` is never used
[INFO] [stdout]   --> src/day3.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Dir {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/day3.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_route` is never used
[INFO] [stdout]   --> src/day3.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn get_route(wire: &str) -> Vec<Point> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_steps` is never used
[INFO] [stdout]   --> src/day3.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_steps(route: &str) -> Vec<(Dir, i32)> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `walk` is never used
[INFO] [stdout]   --> src/day3.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn walk(dir: Dir, dist: i32, path: &mut Vec<Point>) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_x_path` is never used
[INFO] [stdout]   --> src/day3.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn add_x_path(
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_y_path` is never used
[INFO] [stdout]   --> src/day3.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn add_y_path(
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/day2/thiserror.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)]
[INFO] [stdout]   |                                              ^------------------
[INFO] [stdout]   |                                              |
[INFO] [stdout]   |                                              `Display` is not local
[INFO] [stdout]   |                                              move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day2.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn step1() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]   --> src/day2.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn step2() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/day2/enum_.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type Result<T> = StdResult<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/enum_.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result<usize> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/day2/error.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Error {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/error.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Result<T> = StdResult<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/error.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/error.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn apply(op: impl Fn(usize, usize) -> usize, pos: usize, program: &mut [usize]) -> Result<usize> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day2/panic.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn step1<R: std::io::Read>(input: R) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]  --> src/day2/panic.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn step2<R: std::io::Read>(input: R) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> src/day2/panic.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse<R: std::io::Read>(mut input: R) -> Vec<usize> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/panic.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn run(mut program: Vec<usize>) -> Vec<usize> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/day2/thiserror.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_OPERATIONS` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const MAX_OPERATIONS: usize = 1000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn run(program: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]   --> src/day2/thiserror.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn apply(
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIRE1` is never used
[INFO] [stdout]  --> src/day3.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const WIRE1: &str = "R1009,U263,L517,U449,L805,D78,L798,D883,L777,D562,R652,D348,R999,D767,L959,U493,R59,D994,L225,D226,R634,D200,R95...
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIRE2` is never used
[INFO] [stdout]  --> src/day3.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const WIRE2: &str = "L1003,D960,L10,D57,R294,U538,R867,D426,L524,D441,R775,U308,R577,D785,R495,U847,R643,D895,R448,U685,L253,U312,L31...
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step1` is never used
[INFO] [stdout]  --> src/day3.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn step1() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step2` is never used
[INFO] [stdout]   --> src/day3.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn step2() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dir` is never used
[INFO] [stdout]   --> src/day3.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Dir {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/day3.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_route` is never used
[INFO] [stdout]   --> src/day3.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn get_route(wire: &str) -> Vec<Point> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_steps` is never used
[INFO] [stdout]   --> src/day3.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_steps(route: &str) -> Vec<(Dir, i32)> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `walk` is never used
[INFO] [stdout]   --> src/day3.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn walk(dir: Dir, dist: i32, path: &mut Vec<Point>) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_x_path` is never used
[INFO] [stdout]   --> src/day3.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn add_x_path(
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_y_path` is never used
[INFO] [stdout]   --> src/day3.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn add_y_path(
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/day2/thiserror.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)]
[INFO] [stdout]   |                                              ^------------------
[INFO] [stdout]   |                                              |
[INFO] [stdout]   |                                              `Display` is not local
[INFO] [stdout]   |                                              move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.24s
[INFO] running `Command { std: "docker" "inspect" "bcec5b6c3fa08c38285277ebe13afe4b68d09ce78a64b2b0e1669919e1c101e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcec5b6c3fa08c38285277ebe13afe4b68d09ce78a64b2b0e1669919e1c101e8", kill_on_drop: false }`
[INFO] [stdout] bcec5b6c3fa08c38285277ebe13afe4b68d09ce78a64b2b0e1669919e1c101e8
