[INFO] cloning repository https://github.com/tlehman/advent-2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlehman/advent-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93ddb4a8718d387cf216c41952def74abb8e41be
[INFO] checking tlehman/advent-2020 against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fadvent-2020" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tlehman/advent-2020
[INFO] finished tweaking git repo https://github.com/tlehman/advent-2020
[INFO] tweaked toml for git repo https://github.com/tlehman/advent-2020 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tlehman/advent-2020 on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tlehman/advent-2020 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bf51dfbc65bccfac597c12e9e01389ff15c74553777be2c2b24cbaf0b20a503
[INFO] running `Command { std: "docker" "start" "-a" "5bf51dfbc65bccfac597c12e9e01389ff15c74553777be2c2b24cbaf0b20a503", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bf51dfbc65bccfac597c12e9e01389ff15c74553777be2c2b24cbaf0b20a503", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bf51dfbc65bccfac597c12e9e01389ff15c74553777be2c2b24cbaf0b20a503", kill_on_drop: false }`
[INFO] [stdout] 5bf51dfbc65bccfac597c12e9e01389ff15c74553777be2c2b24cbaf0b20a503
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2cfbcffae20f9767f19f94f4781d81d39d0df0cc861659fd438a3e6e2526131
[INFO] running `Command { std: "docker" "start" "-a" "e2cfbcffae20f9767f19f94f4781d81d39d0df0cc861659fd438a3e6e2526131", kill_on_drop: false }`
[INFO] [stderr]     Checking advent-2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day03.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut toboggan_map = TobogganMap { rows: lines, width: w };
[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: unused variable: `col`
[INFO] [stdout]    --> src/day03.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             for col in 0..6 {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[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/day03.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut toboggan_map = TobogganMap { rows: lines, width: w };
[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: unused variable: `col`
[INFO] [stdout]    --> src/day03.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             for col in 0..6 {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `valid_password` is never used
[INFO] [stdout]   --> src/day02.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn valid_password(raw_rule: &str, password: &str) -> bool {
[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 `valid_password_part2` is never used
[INFO] [stdout]    --> src/day02.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn valid_password_part2(raw_rule: &str, password: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `empty` is never used
[INFO] [stdout]   --> src/day03.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | static empty: char = '.';
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rows` is never used
[INFO] [stdout]    --> src/day03.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl TobogganMap {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn print_rows(self: &TobogganMap) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Passport` is never constructed
[INFO] [stdout]   --> src/day04.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct Passport {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_vector` and `valid` are never used
[INFO] [stdout]    --> src/day04.rs:77:12
[INFO] [stdout]     |
[INFO] [stdout]  76 | impl Passport {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  77 |     pub fn from_vector(v: Vec<String>) -> Passport {            
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn valid(self: &Passport) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_batch_passports` is never used
[INFO] [stdout]    --> src/day04.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn parse_batch_passports(batch_passports: &[&str]) -> Vec<Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `empty` should have an upper case name
[INFO] [stdout]   --> src/day03.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | static empty: char = '.';
[INFO] [stdout]    |        ^^^^^ help: convert the identifier to upper case: `EMPTY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `tree` should have an upper case name
[INFO] [stdout]   --> src/day03.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | static tree: char = '#';
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 72 - static tree: char = '#';
[INFO] [stdout] 72 + static TREE: char = '#';
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `empty` is never used
[INFO] [stdout]   --> src/day03.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | static empty: char = '.';
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rows` is never used
[INFO] [stdout]    --> src/day03.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl TobogganMap {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn print_rows(self: &TobogganMap) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cid` is never read
[INFO] [stdout]   --> src/day04.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct Passport {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     cid: Option<String>  // (Country ID)
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `empty` should have an upper case name
[INFO] [stdout]   --> src/day03.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | static empty: char = '.';
[INFO] [stdout]    |        ^^^^^ help: convert the identifier to upper case: `EMPTY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `tree` should have an upper case name
[INFO] [stdout]   --> src/day03.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | static tree: char = '#';
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 72 - static tree: char = '#';
[INFO] [stdout] 72 + static TREE: char = '#';
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day03.rs:132:45
[INFO] [stdout]     |
[INFO] [stdout] 132 |         lines.push(String::from(raw_lines[i].clone()));
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day03.rs:177:45
[INFO] [stdout]     |
[INFO] [stdout] 177 |         lines.push(String::from(raw_lines[i].clone()));
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "e2cfbcffae20f9767f19f94f4781d81d39d0df0cc861659fd438a3e6e2526131", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2cfbcffae20f9767f19f94f4781d81d39d0df0cc861659fd438a3e6e2526131", kill_on_drop: false }`
[INFO] [stdout] e2cfbcffae20f9767f19f94f4781d81d39d0df0cc861659fd438a3e6e2526131
