[INFO] cloning repository https://github.com/guilgaly/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/guilgaly/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12ed35072eb6f5d5e8eaba70ae34c7d8f192961f [INFO] checking guilgaly/advent-of-code-2020 against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2020" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guilgaly/advent-of-code-2020 on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guilgaly/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/guilgaly/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/guilgaly/advent-of-code-2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/guilgaly/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded intmap v0.7.0 [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 379eb03d0569d296c5a1f68d267a434ffacc9a7985b7b5d4a55352873fcd9815 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "379eb03d0569d296c5a1f68d267a434ffacc9a7985b7b5d4a55352873fcd9815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "379eb03d0569d296c5a1f68d267a434ffacc9a7985b7b5d4a55352873fcd9815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "379eb03d0569d296c5a1f68d267a434ffacc9a7985b7b5d4a55352873fcd9815", kill_on_drop: false }` [INFO] [stdout] 379eb03d0569d296c5a1f68d267a434ffacc9a7985b7b5d4a55352873fcd9815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a3b3a6dddf7acf737d6ae50d28e0fb5c1f01575100198618f49d1d298494565 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7a3b3a6dddf7acf737d6ae50d28e0fb5c1f01575100198618f49d1d298494565", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking intmap v0.7.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stderr] Checking day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stderr] Checking day_19 v0.1.0 (/opt/rustwide/workdir/day_19) [INFO] [stderr] Checking day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stderr] Checking day_4 v0.1.0 (/opt/rustwide/workdir/day_4) [INFO] [stderr] Checking day_14 v0.1.0 (/opt/rustwide/workdir/day_14) [INFO] [stderr] Checking day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Checking day_11 v0.1.0 (/opt/rustwide/workdir/day_11) [INFO] [stderr] Checking day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Checking day_25 v0.1.0 (/opt/rustwide/workdir/day_25) [INFO] [stderr] Checking day_18 v0.1.0 (/opt/rustwide/workdir/day_18) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> day_19/src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> day_6/src/main.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | .reduce(|acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ Iterator::reduce(group [INFO] [stdout] 25 + .lines() [INFO] [stdout] 26 + .map(|line| line.chars().collect::>()), |acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ Reduce::reduce(group [INFO] [stdout] 25 + .lines() [INFO] [stdout] 26 + .map(|line| line.chars().collect::>()), |acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> day_6/src/main.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | .reduce(|acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ Iterator::reduce(group [INFO] [stdout] 25 + .lines() [INFO] [stdout] 26 + .map(|line| line.chars().collect::>()), |acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ Reduce::reduce(group [INFO] [stdout] 25 + .lines() [INFO] [stdout] 26 + .map(|line| line.chars().collect::>()), |acc, next| acc.intersection(&next).copied().collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] Checking day_20 v0.1.0 (/opt/rustwide/workdir/day_20) [INFO] [stdout] warning: unused import: `common::reduce::Reduce` [INFO] [stdout] --> day_6/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::reduce::Reduce` [INFO] [stdout] --> day_6/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::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 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 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 `day_6` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> day_20/src/main.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> day_20/src/main.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `TEST_INPUT` [INFO] [stdout] --> day_20/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static TEST_INPUT: &str = include_str!("test_input"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a3b3a6dddf7acf737d6ae50d28e0fb5c1f01575100198618f49d1d298494565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3b3a6dddf7acf737d6ae50d28e0fb5c1f01575100198618f49d1d298494565", kill_on_drop: false }` [INFO] [stdout] 7a3b3a6dddf7acf737d6ae50d28e0fb5c1f01575100198618f49d1d298494565