[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidszotten%2Fadvent-of-code-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] validating manifest of git repo https://github.com/davidszotten/advent-of-code-2020 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reduce v0.1.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 022769b535d5eff2e43890a7ba475a7c5f68306288c97c18ca567312fb7f8ab1 [INFO] running `Command { std: "docker" "start" "-a" "022769b535d5eff2e43890a7ba475a7c5f68306288c97c18ca567312fb7f8ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022769b535d5eff2e43890a7ba475a7c5f68306288c97c18ca567312fb7f8ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022769b535d5eff2e43890a7ba475a7c5f68306288c97c18ca567312fb7f8ab1", kill_on_drop: false }` [INFO] [stdout] 022769b535d5eff2e43890a7ba475a7c5f68306288c97c18ca567312fb7f8ab1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 695a61c469c5cfb290a4d134985a983472b6ea331e21fa8dd1d048d7a84dda17 [INFO] running `Command { std: "docker" "start" "-a" "695a61c469c5cfb290a4d134985a983472b6ea331e21fa8dd1d048d7a84dda17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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] 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] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/bin/day06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/bin/day06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [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" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2020` (bin "day06") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bin/day21.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | .expect("exactly one entry") [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 71 | | .clone(); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bin/day21.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | let ingredients = items.iter().map(|t| t.0.clone()).collect::>(); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/bin/day20.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let tiles = parse(input)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "695a61c469c5cfb290a4d134985a983472b6ea331e21fa8dd1d048d7a84dda17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695a61c469c5cfb290a4d134985a983472b6ea331e21fa8dd1d048d7a84dda17", kill_on_drop: false }` [INFO] [stdout] 695a61c469c5cfb290a4d134985a983472b6ea331e21fa8dd1d048d7a84dda17