[INFO] cloning repository https://github.com/Maddy-Hops/advent_of_code_2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maddy-Hops/advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddy-Hops%2Fadvent_of_code_2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddy-Hops%2Fadvent_of_code_2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] faa0b4d7581bf91343c278bfd2f95389f9c66596
[INFO] checking Maddy-Hops/advent_of_code_2020 against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaddy-Hops%2Fadvent_of_code_2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/Maddy-Hops/advent_of_code_2020
[INFO] finished tweaking git repo https://github.com/Maddy-Hops/advent_of_code_2020
[INFO] tweaked toml for git repo https://github.com/Maddy-Hops/advent_of_code_2020 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Maddy-Hops/advent_of_code_2020 on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Maddy-Hops/advent_of_code_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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b77c8722a627ddcae4f71ea897d35b010cc8b3a0412dfa649215ae894148b557
[INFO] running `Command { std: "docker" "start" "-a" "b77c8722a627ddcae4f71ea897d35b010cc8b3a0412dfa649215ae894148b557", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b77c8722a627ddcae4f71ea897d35b010cc8b3a0412dfa649215ae894148b557", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b77c8722a627ddcae4f71ea897d35b010cc8b3a0412dfa649215ae894148b557", kill_on_drop: false }`
[INFO] [stdout] b77c8722a627ddcae4f71ea897d35b010cc8b3a0412dfa649215ae894148b557
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72f66ba19ab1927eaa6408a9e01fd74a8088637b419f39111c35d88d63d64f9d
[INFO] running `Command { std: "docker" "start" "-a" "72f66ba19ab1927eaa6408a9e01fd74a8088637b419f39111c35d88d63d64f9d", kill_on_drop: false }`
[INFO] [stderr]     Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/day16/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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::collections::HashMap`
[INFO] [stdout]  --> src/day16/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `input`
[INFO] [stdout]   --> src/day13/mod.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn part2(input: &[ScheduleEntry]) -> u128 {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/day13/mod.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn part2(input: &[ScheduleEntry]) -> u128 {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]  --> src/day16/mod.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let contents = fs::read_to_string("input/day16.txt").expect("Failed to read the input file");
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/day16/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn part1(input: &[i32]) -> usize {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/day16/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn part2(input: &[i32]) -> usize {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]  --> src/day16/mod.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let contents = fs::read_to_string("input/day16.txt").expect("Failed to read the input file");
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/day16/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn part1(input: &[i32]) -> usize {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/day16/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn part2(input: &[i32]) -> usize {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/day13/mod.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Bus(u128),
[INFO] [stdout]    |     --- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScheduleEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 -     Bus(u128),
[INFO] [stdout] 34 +     Bus(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/day13/mod.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Bus(u128),
[INFO] [stdout]    |     --- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScheduleEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 -     Bus(u128),
[INFO] [stdout] 34 +     Bus(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day4/mod.rs:144:28
[INFO] [stdout]     |
[INFO] [stdout] 144 |             valid_entries.push(entry.clone());
[INFO] [stdout]     |                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `PassportEntry<'_>` does not implement `Clone`, so calling `clone` on `&PassportEntry<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 144 -             valid_entries.push(entry.clone());
[INFO] [stdout] 144 +             valid_entries.push(entry);
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `PassportEntry<'_>`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout]  15 + #[derive(Clone)]
[INFO] [stdout]  16 | struct PassportEntry<'a> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]  --> src/day7/mod.rs:5:54
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn generate<'a>(contents: &'a str) -> HashMap<String,Bag> {
[INFO] [stdout]   |                            --                        ^^^ the same lifetime is hidden here
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            the lifetime is named 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: consistently use `'a`
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn generate<'a>(contents: &'a str) -> HashMap<String,Bag<'a>> {
[INFO] [stdout]   |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/day4/mod.rs:144:28
[INFO] [stdout]     |
[INFO] [stdout] 144 |             valid_entries.push(entry.clone());
[INFO] [stdout]     |                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `PassportEntry<'_>` does not implement `Clone`, so calling `clone` on `&PassportEntry<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 144 -             valid_entries.push(entry.clone());
[INFO] [stdout] 144 +             valid_entries.push(entry);
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `PassportEntry<'_>`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout]  15 + #[derive(Clone)]
[INFO] [stdout]  16 | struct PassportEntry<'a> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]  --> src/day7/mod.rs:5:54
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn generate<'a>(contents: &'a str) -> HashMap<String,Bag> {
[INFO] [stdout]   |                            --                        ^^^ the same lifetime is hidden here
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            the lifetime is named 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: consistently use `'a`
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn generate<'a>(contents: &'a str) -> HashMap<String,Bag<'a>> {
[INFO] [stdout]   |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day7/mod.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn new(rules: &str) -> Bag{
[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] 36 |     fn new(rules: &str) -> Bag<'_>{
[INFO] [stdout]    |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day7/mod.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn new(rules: &str) -> Bag{
[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] 36 |     fn new(rules: &str) -> Bag<'_>{
[INFO] [stdout]    |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "72f66ba19ab1927eaa6408a9e01fd74a8088637b419f39111c35d88d63d64f9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72f66ba19ab1927eaa6408a9e01fd74a8088637b419f39111c35d88d63d64f9d", kill_on_drop: false }`
[INFO] [stdout] 72f66ba19ab1927eaa6408a9e01fd74a8088637b419f39111c35d88d63d64f9d
