[INFO] cloning repository https://github.com/mplanchard/aoc_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mplanchard/aoc_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ac7268d230700a46cd60b338084f4210b54f96f [INFO] checking mplanchard/aoc_2020 against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mplanchard/aoc_2020 [INFO] finished tweaking git repo https://github.com/mplanchard/aoc_2020 [INFO] tweaked toml for git repo https://github.com/mplanchard/aoc_2020 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mplanchard/aoc_2020 on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mplanchard/aoc_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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50ace20a8fe175409664a5525797f490d0b034ec923e59d3d7cbef252f17123e [INFO] running `Command { std: "docker" "start" "-a" "50ace20a8fe175409664a5525797f490d0b034ec923e59d3d7cbef252f17123e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50ace20a8fe175409664a5525797f490d0b034ec923e59d3d7cbef252f17123e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ace20a8fe175409664a5525797f490d0b034ec923e59d3d7cbef252f17123e", kill_on_drop: false }` [INFO] [stdout] 50ace20a8fe175409664a5525797f490d0b034ec923e59d3d7cbef252f17123e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08498967ba05620f6353a79f1b1481a0c8ed93fa4ecf74640600d7c6de5db696 [INFO] running `Command { std: "docker" "start" "-a" "08498967ba05620f6353a79f1b1481a0c8ed93fa4ecf74640600d7c6de5db696", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` 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: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day3.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 92 | start: &Coordinate, [INFO] [stdout] 93 | vector: &'a Vector, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 94 | ) -> MapTraverser { [INFO] [stdout] | ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 94 | ) -> MapTraverser<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` 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: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day3.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 92 | start: &Coordinate, [INFO] [stdout] 93 | vector: &'a Vector, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 94 | ) -> MapTraverser { [INFO] [stdout] | ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 94 | ) -> MapTraverser<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "08498967ba05620f6353a79f1b1481a0c8ed93fa4ecf74640600d7c6de5db696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08498967ba05620f6353a79f1b1481a0c8ed93fa4ecf74640600d7c6de5db696", kill_on_drop: false }` [INFO] [stdout] 08498967ba05620f6353a79f1b1481a0c8ed93fa4ecf74640600d7c6de5db696