[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/f84c684a637427aeeb1c119baeb3539d8d219bcd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjcohen%2Faoc-2020" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjcohen/aoc-2020 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f4104af21d85968071137701e99d61f9d64a9c84db615d97a1cf4cd0a20958d [INFO] running `Command { std: "docker" "start" "-a" "4f4104af21d85968071137701e99d61f9d64a9c84db615d97a1cf4cd0a20958d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f4104af21d85968071137701e99d61f9d64a9c84db615d97a1cf4cd0a20958d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4104af21d85968071137701e99d61f9d64a9c84db615d97a1cf4cd0a20958d", kill_on_drop: false }` [INFO] [stdout] 4f4104af21d85968071137701e99d61f9d64a9c84db615d97a1cf4cd0a20958d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3cf01716a5756d942cc90d1fc00349e784bd3e872ba7a1002aaf33e1908289 [INFO] running `Command { std: "docker" "start" "-a" "4e3cf01716a5756d942cc90d1fc00349e784bd3e872ba7a1002aaf33e1908289", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [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 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: 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: 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: 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] warning: 1 warning emitted [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: 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: 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] 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: 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] 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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] [stderr] error: could not compile `aoc_2020` (bin "day6" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [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] error: aborting due to 1 previous error; 1 warning 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") due to 2 previous errors; 1 warning 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] 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] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] [stderr] error: could not compile `aoc_2020` (bin "day6") due to 2 previous errors; 1 warning 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; 1 warning 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; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e3cf01716a5756d942cc90d1fc00349e784bd3e872ba7a1002aaf33e1908289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3cf01716a5756d942cc90d1fc00349e784bd3e872ba7a1002aaf33e1908289", kill_on_drop: false }` [INFO] [stdout] 4e3cf01716a5756d942cc90d1fc00349e784bd3e872ba7a1002aaf33e1908289