[INFO] cloning repository https://github.com/davidszotten/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/davidszotten/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidszotten%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidszotten%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 401a2f994916986737b83dcc2361c3bf85a230b1 [INFO] checking davidszotten/advent-of-code-2020/401a2f994916986737b83dcc2361c3bf85a230b1 against master#55e86c996809902e8bbad512cfb4d2c18be446d9 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidszotten%2Fadvent-of-code-2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidszotten/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/davidszotten/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/davidszotten/advent-of-code-2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidszotten/advent-of-code-2020 on toolchain 55e86c996809902e8bbad512cfb4d2c18be446d9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidszotten/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" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.34 [INFO] [stderr] Downloaded reduce v0.1.3 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f58d20b0c602490954534a0434a358cec0620cc6d56fa770e07e2e502e33ea78 [INFO] running `Command { std: "docker" "start" "-a" "f58d20b0c602490954534a0434a358cec0620cc6d56fa770e07e2e502e33ea78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f58d20b0c602490954534a0434a358cec0620cc6d56fa770e07e2e502e33ea78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f58d20b0c602490954534a0434a358cec0620cc6d56fa770e07e2e502e33ea78", kill_on_drop: false }` [INFO] [stdout] f58d20b0c602490954534a0434a358cec0620cc6d56fa770e07e2e502e33ea78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db625c2ae585c7e3647b3aef2b5787636ed0fd74b15b2166914c46c80b750548 [INFO] running `Command { std: "docker" "start" "-a" "db625c2ae585c7e3647b3aef2b5787636ed0fd74b15b2166914c46c80b750548", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/bin/day06.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | .reduce(|a, b| set_fn(&a, &b)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 16 ~ Reduce::reduce(group [INFO] [stdout] 17 + .split("\n") [INFO] [stdout] 18 + .map(|p| p.chars().collect::>()), |a, b| set_fn(&a, &b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 16 ~ Iterator::reduce(group [INFO] [stdout] 17 + .split("\n") [INFO] [stdout] 18 + .map(|p| p.chars().collect::>()), |a, b| set_fn(&a, &b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (bin "day06") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/bin/day17.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Space [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Space` 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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day24.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn neighbours(&self) -> NeighbourIterator { [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] 115 | fn neighbours(&self) -> NeighbourIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day16.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse(input: &str) -> Result<(Vec, Ticket, Vec)> { [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] 67 | fn parse(input: &str) -> Result<(Vec>, Ticket, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Field<'_>` instead of cloning the inner type [INFO] [stdout] --> src/bin/day16.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | let field = possible_fields[0].clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/bin/day17.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Space [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Space` 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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day16.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse(input: &str) -> Result<(Vec, Ticket, Vec)> { [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] 67 | fn parse(input: &str) -> Result<(Vec>, Ticket, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Field<'_>` instead of cloning the inner type [INFO] [stdout] --> src/bin/day16.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | let field = possible_fields[0].clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db625c2ae585c7e3647b3aef2b5787636ed0fd74b15b2166914c46c80b750548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db625c2ae585c7e3647b3aef2b5787636ed0fd74b15b2166914c46c80b750548", kill_on_drop: false }` [INFO] [stdout] db625c2ae585c7e3647b3aef2b5787636ed0fd74b15b2166914c46c80b750548