[INFO] cloning repository https://github.com/adek05/AdventOfCode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adek05/AdventOfCode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd3cf77ebb3c9f0f93e902a7ae6a3ffe8a2b6d0b [INFO] checking adek05/AdventOfCode2020/dd3cf77ebb3c9f0f93e902a7ae6a3ffe8a2b6d0b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adek05/AdventOfCode2020 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/adek05/AdventOfCode2020 [INFO] finished tweaking git repo https://github.com/adek05/AdventOfCode2020 [INFO] tweaked toml for git repo https://github.com/adek05/AdventOfCode2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adek05/AdventOfCode2020 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded scan-rules v0.2.0 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 656bfe4b5ee844b5ecb92811f279fbfde22757b4fdd8bdfb3c491f9bdf0921c0 [INFO] running `Command { std: "docker" "start" "-a" "656bfe4b5ee844b5ecb92811f279fbfde22757b4fdd8bdfb3c491f9bdf0921c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "656bfe4b5ee844b5ecb92811f279fbfde22757b4fdd8bdfb3c491f9bdf0921c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656bfe4b5ee844b5ecb92811f279fbfde22757b4fdd8bdfb3c491f9bdf0921c0", kill_on_drop: false }` [INFO] [stdout] 656bfe4b5ee844b5ecb92811f279fbfde22757b4fdd8bdfb3c491f9bdf0921c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] eb60faf562e4d3b435bc6fb3760a3e6595f2ca6311fc31b1a8d96c8b42ec001d [INFO] running `Command { std: "docker" "start" "-a" "eb60faf562e4d3b435bc6fb3760a3e6595f2ca6311fc31b1a8d96c8b42ec001d", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking AdventOfCode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/handheld_halting.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | instructions[(line as usize)] = next_instruction; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - instructions[(line as usize)] = next_instruction; [INFO] [stdout] 130 + instructions[line as usize] = next_instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/handheld_halting.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | instructions[(line as usize)] = next_instruction; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - instructions[(line as usize)] = next_instruction; [INFO] [stdout] 130 + instructions[line as usize] = next_instruction; [INFO] [stdout] | [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: unreachable statement [INFO] [stdout] --> src/crab_cups.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 12 | / loop { [INFO] [stdout] 13 | | current_cup -= 1; [INFO] [stdout] 14 | | if current_cup == 0 { [INFO] [stdout] 15 | | current_cup = modulo; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 25 | panic!("Unreachable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [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/allergen_assessment.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] error[E0599]: no method named `fold_first` found for struct `Map` in the current scope [INFO] [stdout] --> src/allergen_assessment.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 52 | let ingredients: HashSet = products [INFO] [stdout] | ________________________________________________- [INFO] [stdout] 53 | | .iter() [INFO] [stdout] 54 | | .filter(|product| product.allergens.contains(&allergen)) [INFO] [stdout] 55 | | .map(|product| product.ingredients.clone()) [INFO] [stdout] 56 | | .fold_first(|acc, p| acc.intersection(&p).cloned().collect()) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Map, {closure@allergen_assessment.rs:54:25}>, {closure@allergen_assessment.rs:55:22}>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/allergen_assessment-22bda1292a5e3173.long-type-11780170868955618141.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/jurassic_jigsaw.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | ("Tile", let tile_no: usize, ..other) => tile_no [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `other` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/jurassic_jigsaw.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let tile_no = scan!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | &lines[0]; [INFO] [stdout] 89 | | ("Tile", let tile_no: usize, ..other) => tile_no [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/crab_cups.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 12 | / loop { [INFO] [stdout] 13 | | current_cup -= 1; [INFO] [stdout] 14 | | if current_cup == 0 { [INFO] [stdout] 15 | | current_cup = modulo; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 25 | panic!("Unreachable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2020` (bin "allergen_assessment" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/allergen_assessment.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: unused variable: `other` [INFO] [stdout] --> src/jurassic_jigsaw.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | ("Tile", let tile_no: usize, ..other) => tile_no [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `other` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/jurassic_jigsaw.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let tile_no = scan!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | &lines[0]; [INFO] [stdout] 89 | | ("Tile", let tile_no: usize, ..other) => tile_no [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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/allergen_assessment.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 52 | let ingredients: HashSet = products [INFO] [stdout] | ________________________________________________- [INFO] [stdout] 53 | | .iter() [INFO] [stdout] 54 | | .filter(|product| product.allergens.contains(&allergen)) [INFO] [stdout] 55 | | .map(|product| product.ingredients.clone()) [INFO] [stdout] 56 | | .fold_first(|acc, p| acc.intersection(&p).cloned().collect()) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Map, {closure@allergen_assessment.rs:54:25}>, {closure@allergen_assessment.rs:55:22}>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/allergen_assessment-be0e6df4843f1f28.long-type-886836457436176640.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `AdventOfCode2020` (bin "allergen_assessment") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "eb60faf562e4d3b435bc6fb3760a3e6595f2ca6311fc31b1a8d96c8b42ec001d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb60faf562e4d3b435bc6fb3760a3e6595f2ca6311fc31b1a8d96c8b42ec001d", kill_on_drop: false }` [INFO] [stdout] eb60faf562e4d3b435bc6fb3760a3e6595f2ca6311fc31b1a8d96c8b42ec001d