[INFO] cloning repository https://github.com/jdmeyer3/adventofcode2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdmeyer3/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmeyer3%2Fadventofcode2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmeyer3%2Fadventofcode2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed2d6962d5f3dfcfffafa194440443123d755524
[INFO] checking jdmeyer3/adventofcode2020 against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmeyer3%2Fadventofcode2020" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jdmeyer3/adventofcode2020
[INFO] finished tweaking git repo https://github.com/jdmeyer3/adventofcode2020
[INFO] tweaked toml for git repo https://github.com/jdmeyer3/adventofcode2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jdmeyer3/adventofcode2020 on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jdmeyer3/adventofcode2020 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 509dfd7b08950a45d3f8b49607db8d1cd11ef7584bcf1bddb8bda1763ca0a1f4
[INFO] running `Command { std: "docker" "start" "-a" "509dfd7b08950a45d3f8b49607db8d1cd11ef7584bcf1bddb8bda1763ca0a1f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "509dfd7b08950a45d3f8b49607db8d1cd11ef7584bcf1bddb8bda1763ca0a1f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "509dfd7b08950a45d3f8b49607db8d1cd11ef7584bcf1bddb8bda1763ca0a1f4", kill_on_drop: false }`
[INFO] [stdout] 509dfd7b08950a45d3f8b49607db8d1cd11ef7584bcf1bddb8bda1763ca0a1f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e4407c6c88fa8e745697b410f24ae6294ae26d2bc578337f0e9825fb63fdf9b
[INFO] running `Command { std: "docker" "start" "-a" "1e4407c6c88fa8e745697b410f24ae6294ae26d2bc578337f0e9825fb63fdf9b", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking humantime v2.0.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking env_logger v0.8.2
[INFO] [stderr]     Checking advent2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> src/bin/day13.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bus_id` is never read
[INFO] [stdout]   --> src/bin/day13.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bus_id: usize = 0;
[INFO] [stdout]    |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 25 |                 bus_id = *b;
[INFO] [stdout]    |                 ----------- `bus_id` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pt2` is never used
[INFO] [stdout]   --> src/bin/day13.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn pt2() {}
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> src/bin/day13.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/bin/day11.rs:279:85
[INFO] [stdout]     |
[INFO] [stdout] 279 |     println!("{:?}", seating.seats.iter().filter(|&f| *f == Seat::Occupied).count())
[INFO] [stdout]     |                                                                                     ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 282 |     let input = std::fs::read_to_string("input/day11").unwrap();
[INFO] [stdout]     |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/day2.rs:23:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_file_str(file: Vec<&str>) -> Vec<UsrPwd> {
[INFO] [stdout]    |                                ^^^^          ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_file_str(file: Vec<&str>) -> Vec<UsrPwd<'_>> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/day2.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn from_file_str(file: Vec<&str>) -> Vec<TobogganPwd> {
[INFO] [stdout]    |                                ^^^^          ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn from_file_str(file: Vec<&str>) -> Vec<TobogganPwd<'_>> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/bin/day11.rs:279:85
[INFO] [stdout]     |
[INFO] [stdout] 279 |     println!("{:?}", seating.seats.iter().filter(|&f| *f == Seat::Occupied).count())
[INFO] [stdout]     |                                                                                     ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 282 |     let input = std::fs::read_to_string("input/day11").unwrap();
[INFO] [stdout]     |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bus_id` is never read
[INFO] [stdout]   --> src/bin/day13.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bus_id: usize = 0;
[INFO] [stdout]    |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 25 |                 bus_id = *b;
[INFO] [stdout]    |                 ----------- `bus_id` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pt2` is never used
[INFO] [stdout]   --> src/bin/day13.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn pt2() {}
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/bin/day5.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/bin/day5.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let half = ((self.0 + self.1) / 2);
[INFO] [stdout]    |                        ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             let half = ((self.0 + self.1) / 2);
[INFO] [stdout] 41 +             let half = (self.0 + self.1) / 2 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/bin/day11.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> src/bin/day12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/bin/day12.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Match`
[INFO] [stdout]  --> src/bin/day12.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use regex::{Match, Regex};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]  --> src/bin/day12.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::internal::Inst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]  --> src/bin/day12.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::{Debug, Formatter};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/bin/day12.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/bin/day4.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Level`, `error`, `info`, and `log_enabled`
[INFO] [stdout]  --> src/bin/day4.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, error, log_enabled, info, Level};
[INFO] [stdout]   |                  ^^^^^  ^^^^^^^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> src/bin/day12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/bin/day12.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Match`
[INFO] [stdout]  --> src/bin/day12.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use regex::{Match, Regex};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]  --> src/bin/day12.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::internal::Inst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]  --> src/bin/day12.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::{Debug, Formatter};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/bin/day12.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/bin/day11.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/bin/day5.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/bin/day5.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let half = ((self.0 + self.1) / 2);
[INFO] [stdout]    |                        ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             let half = ((self.0 + self.1) / 2);
[INFO] [stdout] 41 +             let half = (self.0 + self.1) / 2 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bin/day12.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 let turn = (num / 90);
[INFO] [stdout]     |                            ^        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                 let turn = (num / 90);
[INFO] [stdout] 168 +                 let turn = num / 90 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bin/day12.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 let turn = (num / 90);
[INFO] [stdout]     |                            ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -                 let turn = (num / 90);
[INFO] [stdout] 172 +                 let turn = num / 90 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bin/day12.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 let turn = (num / 90);
[INFO] [stdout]     |                            ^        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                 let turn = (num / 90);
[INFO] [stdout] 168 +                 let turn = num / 90 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/bin/day12.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 let turn = (num / 90);
[INFO] [stdout]     |                            ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -                 let turn = (num / 90);
[INFO] [stdout] 172 +                 let turn = num / 90 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/bin/day3.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/bin/day6.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let answer: Vec<char> = Vec::new();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day11.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for (i, mut s) in self.seats.clone().iter_mut().enumerate() {
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day11.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |         for (i, mut s) in self.seats.clone().iter_mut().enumerate() {
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exec`
[INFO] [stdout]    --> src/bin/day8.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let exec = self.execute();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_exec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/bin/day4.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Level`, `error`, `info`, and `log_enabled`
[INFO] [stdout]  --> src/bin/day4.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, error, log_enabled, info, Level};
[INFO] [stdout]   |                  ^^^^^  ^^^^^^^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent2020` (bin "day11") due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/day10.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for (i, j) in self.0.iter().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perms`
[INFO] [stdout]   --> src/bin/day10.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let perms = 0;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_perms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day4.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cred_arr: Vec<&str> = creds.split(" ").collect();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/day4.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn register_passport(input: &str) -> Vec<PassportCredentials> {
[INFO] [stdout]     |                             ^^^^         ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn register_passport(input: &str) -> Vec<PassportCredentials<'_>> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day11.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for (i, mut s) in self.seats.clone().iter_mut().enumerate() {
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day11.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |         for (i, mut s) in self.seats.clone().iter_mut().enumerate() {
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/bin/day3.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day4.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut cred_arr: Vec<&str> = creds.split(" ").collect();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/day4.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn register_passport(input: &str) -> Vec<PassportCredentials> {
[INFO] [stdout]     |                             ^^^^         ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn register_passport(input: &str) -> Vec<PassportCredentials<'_>> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/day10.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for (i, j) in self.0.iter().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/day2.rs:23:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_file_str(file: Vec<&str>) -> Vec<UsrPwd> {
[INFO] [stdout]    |                                ^^^^          ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_file_str(file: Vec<&str>) -> Vec<UsrPwd<'_>> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/day2.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn from_file_str(file: Vec<&str>) -> Vec<TobogganPwd> {
[INFO] [stdout]    |                                ^^^^          ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn from_file_str(file: Vec<&str>) -> Vec<TobogganPwd<'_>> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perms`
[INFO] [stdout]   --> src/bin/day10.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let perms = 0;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_perms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent2020` (bin "day11" test) due to 1 previous error; 3 warnings emitted
[INFO] [stdout] warning: struct `WaypointInstructions` is never constructed
[INFO] [stdout]   --> src/bin/day12.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct WaypointInstructions {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `Direction` should have an upper case name
[INFO] [stdout]   --> src/bin/day12.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     static ref Direction: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 -     static ref Direction: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout] 12 +     static ref DIRECTION: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaypointInstructions` is never constructed
[INFO] [stdout]   --> src/bin/day12.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct WaypointInstructions {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `Direction` should have an upper case name
[INFO] [stdout]   --> src/bin/day12.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     static ref Direction: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 -     static ref Direction: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout] 12 +     static ref DIRECTION: Vec<Cardinal> = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exec`
[INFO] [stdout]    --> src/bin/day8.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let exec = self.execute();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_exec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/bin/day6.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let answer: Vec<char> = Vec::new();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1e4407c6c88fa8e745697b410f24ae6294ae26d2bc578337f0e9825fb63fdf9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e4407c6c88fa8e745697b410f24ae6294ae26d2bc578337f0e9825fb63fdf9b", kill_on_drop: false }`
[INFO] [stdout] 1e4407c6c88fa8e745697b410f24ae6294ae26d2bc578337f0e9825fb63fdf9b
