[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] testing guilgaly/advent-of-code-2020 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2020" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guilgaly/advent-of-code-2020 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-6/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58e589c7a27aa1e194104dc91db7c1bd3a3a66d8edf84f7908012cabfae188d5 [INFO] running `Command { std: "docker" "start" "-a" "58e589c7a27aa1e194104dc91db7c1bd3a3a66d8edf84f7908012cabfae188d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58e589c7a27aa1e194104dc91db7c1bd3a3a66d8edf84f7908012cabfae188d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e589c7a27aa1e194104dc91db7c1bd3a3a66d8edf84f7908012cabfae188d5", kill_on_drop: false }` [INFO] [stdout] 58e589c7a27aa1e194104dc91db7c1bd3a3a66d8edf84f7908012cabfae188d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd6507b2019977c0204c3b84af8dfed1490e339e7d34b66a5dfa78130bda342 [INFO] running `Command { std: "docker" "start" "-a" "9cd6507b2019977c0204c3b84af8dfed1490e339e7d34b66a5dfa78130bda342", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling reduce v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling intmap v0.7.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling day_25 v0.1.0 (/opt/rustwide/workdir/day_25) [INFO] [stderr] Compiling day_24 v0.1.0 (/opt/rustwide/workdir/day_24) [INFO] [stderr] Compiling day_23 v0.1.0 (/opt/rustwide/workdir/day_23) [INFO] [stderr] Compiling day_21 v0.1.0 (/opt/rustwide/workdir/day_21) [INFO] [stderr] Compiling day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stderr] Compiling day_19 v0.1.0 (/opt/rustwide/workdir/day_19) [INFO] [stderr] Compiling day_11 v0.1.0 (/opt/rustwide/workdir/day_11) [INFO] [stderr] Compiling day_16 v0.1.0 (/opt/rustwide/workdir/day_16) [INFO] [stderr] Compiling day_17 v0.1.0 (/opt/rustwide/workdir/day_17) [INFO] [stderr] Compiling day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [INFO] [stderr] Compiling day_14 v0.1.0 (/opt/rustwide/workdir/day_14) [INFO] [stderr] Compiling day_13 v0.1.0 (/opt/rustwide/workdir/day_13) [INFO] [stderr] Compiling day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stderr] Compiling day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stderr] Compiling day_12 v0.1.0 (/opt/rustwide/workdir/day_12) [INFO] [stderr] Compiling day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Compiling day_18 v0.1.0 (/opt/rustwide/workdir/day_18) [INFO] [stderr] Compiling day_22 v0.1.0 (/opt/rustwide/workdir/day_22) [INFO] [stderr] Compiling day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] Compiling day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Compiling day_5 v0.1.0 (/opt/rustwide/workdir/day_5) [INFO] [stderr] Compiling day_15 v0.1.0 (/opt/rustwide/workdir/day_15) [INFO] [stderr] Compiling day_20 v0.1.0 (/opt/rustwide/workdir/day_20) [INFO] [stderr] Compiling day_8 v0.1.0 (/opt/rustwide/workdir/day_8) [INFO] [stderr] Compiling day_4 v0.1.0 (/opt/rustwide/workdir/day_4) [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] [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: `HashMap` [INFO] [stdout] --> day_24/src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [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] 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 `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 associated function for candidate #1 [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] help: disambiguate the associated function for candidate #2 [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] [INFO] [stdout] [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: 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: static is never used: `TEST_INPUT` [INFO] [stdout] --> day_24/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 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: 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] [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: 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] | _______________________________________- [INFO] [stdout] 38 | | .iter() [INFO] [stdout] | |___________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 42 | potential_ingredients_by_allergen.remove(**allergen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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: 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] = note: `#[warn(unused_imports)]` on by default [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9cd6507b2019977c0204c3b84af8dfed1490e339e7d34b66a5dfa78130bda342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd6507b2019977c0204c3b84af8dfed1490e339e7d34b66a5dfa78130bda342", kill_on_drop: false }` [INFO] [stdout] 9cd6507b2019977c0204c3b84af8dfed1490e339e7d34b66a5dfa78130bda342