[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded intmap v0.7.0 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d031e932851785ae3b3428ccaf61fa543d1b3cb530fc8f083a91ce40e8b2b9ac [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" "d031e932851785ae3b3428ccaf61fa543d1b3cb530fc8f083a91ce40e8b2b9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d031e932851785ae3b3428ccaf61fa543d1b3cb530fc8f083a91ce40e8b2b9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d031e932851785ae3b3428ccaf61fa543d1b3cb530fc8f083a91ce40e8b2b9ac", kill_on_drop: false }` [INFO] [stdout] d031e932851785ae3b3428ccaf61fa543d1b3cb530fc8f083a91ce40e8b2b9ac [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6dcffb364c32229901d684b0e9b1e35740a3c033a6eb921ff9b3d4627f1d46e [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" "a6dcffb364c32229901d684b0e9b1e35740a3c033a6eb921ff9b3d4627f1d46e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [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_15 v0.1.0 (/opt/rustwide/workdir/day_15) [INFO] [stderr] Checking day_5 v0.1.0 (/opt/rustwide/workdir/day_5) [INFO] [stderr] Checking day_16 v0.1.0 (/opt/rustwide/workdir/day_16) [INFO] [stderr] Checking day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stderr] Checking day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stderr] Checking day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Checking day_12 v0.1.0 (/opt/rustwide/workdir/day_12) [INFO] [stderr] Checking day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Checking day_14 v0.1.0 (/opt/rustwide/workdir/day_14) [INFO] [stderr] Checking day_23 v0.1.0 (/opt/rustwide/workdir/day_23) [INFO] [stderr] Checking day_17 v0.1.0 (/opt/rustwide/workdir/day_17) [INFO] [stderr] Checking day_22 v0.1.0 (/opt/rustwide/workdir/day_22) [INFO] [stderr] Checking day_21 v0.1.0 (/opt/rustwide/workdir/day_21) [INFO] [stdout] warning: unused import: `all` [INFO] [stdout] --> day_21/src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use common::itertools::{all, Itertools}; [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_21/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use common::reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> day_23/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stdout] warning: 1 warning 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] [stderr] Checking day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [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] [stderr] Checking day_13 v0.1.0 (/opt/rustwide/workdir/day_13) [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] 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: unused variable: `i` [INFO] [stdout] --> day_21/src/main.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | .sorted_by_key(|(a, i)| a) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> day_21/src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | .map(|(a, i)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `potential_ingredients_by_allergen` as mutable because it is also borrowed as immutable [INFO] [stdout] --> day_21/src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 37 | let (allergen, ingredient) = &potential_ingredients_by_allergen [INFO] [stdout] | --------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 42 | potential_ingredients_by_allergen.remove(**allergen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a6dcffb364c32229901d684b0e9b1e35740a3c033a6eb921ff9b3d4627f1d46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6dcffb364c32229901d684b0e9b1e35740a3c033a6eb921ff9b3d4627f1d46e", kill_on_drop: false }` [INFO] [stdout] a6dcffb364c32229901d684b0e9b1e35740a3c033a6eb921ff9b3d4627f1d46e