[INFO] cloning repository https://github.com/bjcohen/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjcohen/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjcohen%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjcohen%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f84c684a637427aeeb1c119baeb3539d8d219bcd [INFO] checking bjcohen/aoc-2020 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjcohen%2Faoc-2020" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjcohen/aoc-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/bjcohen/aoc-2020 [INFO] finished tweaking git repo https://github.com/bjcohen/aoc-2020 [INFO] tweaked toml for git repo https://github.com/bjcohen/aoc-2020 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bjcohen/aoc-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 937b2fc7e599671601c0fe2f9986c2003d08de2941a93e67bb8fa652be7c005d [INFO] running `Command { std: "docker" "start" "-a" "937b2fc7e599671601c0fe2f9986c2003d08de2941a93e67bb8fa652be7c005d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "937b2fc7e599671601c0fe2f9986c2003d08de2941a93e67bb8fa652be7c005d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937b2fc7e599671601c0fe2f9986c2003d08de2941a93e67bb8fa652be7c005d", kill_on_drop: false }` [INFO] [stdout] 937b2fc7e599671601c0fe2f9986c2003d08de2941a93e67bb8fa652be7c005d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 64b2990cfedc0967c9d87f079a31d03a07c7c46ad79be0ea43380a475d3ff5bd [INFO] running `Command { std: "docker" "start" "-a" "64b2990cfedc0967c9d87f079a31d03a07c7c46ad79be0ea43380a475d3ff5bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.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] Checking regex v1.4.2 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir/aoc) [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/day13.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/day13.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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/day21.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|s| s.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/day21.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | let e = acc.entry(a.clone()).or_insert(set.clone()); [INFO] [stdout] | ^^^^^^^^ [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/day21.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|s| s.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day6.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_fold_self` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/day6.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_fold_self)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day4.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | cid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/day12.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `Map` in the current scope [INFO] [stdout] --> src/day6.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 34 | / g.lines() [INFO] [stdout] 35 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 36 | | .fold_first(|a, b| a.intersection(&b).cloned().collect()) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Map, {closure@day6.rs:35:22}>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2020` (bin "day6") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day6.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_fold_self` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/day6.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_fold_self)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day6.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/day7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `Map` in the current scope [INFO] [stdout] --> src/day6.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 34 | / g.lines() [INFO] [stdout] 35 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 36 | | .fold_first(|a, b| a.intersection(&b).cloned().collect()) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Map, {closure@day6.rs:35:22}>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_fold_self` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_fold_self)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2020` (bin "day6" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `Map` in the current scope [INFO] [stdout] --> src/day6.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 34 | / g.lines() [INFO] [stdout] 35 | | .map(|l| l.chars().collect::>()) [INFO] [stdout] 36 | | .fold_first(|a, b| a.intersection(&b).cloned().collect()) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Map, {closure@day6.rs:35:22}>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64b2990cfedc0967c9d87f079a31d03a07c7c46ad79be0ea43380a475d3ff5bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b2990cfedc0967c9d87f079a31d03a07c7c46ad79be0ea43380a475d3ff5bd", kill_on_drop: false }` [INFO] [stdout] 64b2990cfedc0967c9d87f079a31d03a07c7c46ad79be0ea43380a475d3ff5bd