[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#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2020" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guilgaly/advent-of-code-2020 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-5/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded intmap v0.7.0 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cef90787a436a1b70de1d4db388bc46ea9cdc863b6ab32fc169c6e9e0de50cac [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" "cef90787a436a1b70de1d4db388bc46ea9cdc863b6ab32fc169c6e9e0de50cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cef90787a436a1b70de1d4db388bc46ea9cdc863b6ab32fc169c6e9e0de50cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef90787a436a1b70de1d4db388bc46ea9cdc863b6ab32fc169c6e9e0de50cac", kill_on_drop: false }` [INFO] [stdout] cef90787a436a1b70de1d4db388bc46ea9cdc863b6ab32fc169c6e9e0de50cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43cbddb851462156abc9ce5f56c7cccb4fee64a05d327056654990e100982524 [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" "43cbddb851462156abc9ce5f56c7cccb4fee64a05d327056654990e100982524", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking intmap v0.7.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking day_14 v0.1.0 (/opt/rustwide/workdir/day_14) [INFO] [stderr] Checking day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stderr] Checking day_25 v0.1.0 (/opt/rustwide/workdir/day_25) [INFO] [stderr] Checking day_13 v0.1.0 (/opt/rustwide/workdir/day_13) [INFO] [stderr] Checking day_12 v0.1.0 (/opt/rustwide/workdir/day_12) [INFO] [stderr] Checking day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Checking day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stderr] Checking day_8 v0.1.0 (/opt/rustwide/workdir/day_8) [INFO] [stderr] Checking day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [INFO] [stderr] Checking day_22 v0.1.0 (/opt/rustwide/workdir/day_22) [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] 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] [stderr] error: could not compile `day_6` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> day_13/src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let N = busses.iter().map(|(_, id)| id).product::(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ni` should have a snake case name [INFO] [stdout] --> day_13/src/main.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let Ni = N / id; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ni` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "43cbddb851462156abc9ce5f56c7cccb4fee64a05d327056654990e100982524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43cbddb851462156abc9ce5f56c7cccb4fee64a05d327056654990e100982524", kill_on_drop: false }` [INFO] [stdout] 43cbddb851462156abc9ce5f56c7cccb4fee64a05d327056654990e100982524