[INFO] cloning repository https://github.com/guillermomuntaner/AdventOfCode2020-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guillermomuntaner/AdventOfCode2020-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ef0d39f94841e93847264e3afd1df3e8a0335f2 [INFO] checking guillermomuntaner/AdventOfCode2020-Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust 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/guillermomuntaner/AdventOfCode2020-Rust [INFO] finished tweaking git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust [INFO] tweaked toml for git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust 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 reduce v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 14cdfdae1075d2c43d4c5876c2b44b534c539593de974483970d25c5ff048c5d [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" "14cdfdae1075d2c43d4c5876c2b44b534c539593de974483970d25c5ff048c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14cdfdae1075d2c43d4c5876c2b44b534c539593de974483970d25c5ff048c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cdfdae1075d2c43d4c5876c2b44b534c539593de974483970d25c5ff048c5d", kill_on_drop: false }` [INFO] [stdout] 14cdfdae1075d2c43d4c5876c2b44b534c539593de974483970d25c5ff048c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8aa7fc16e545ce1c371888e3a8f296fd45515134656b24098cb3539914698777 [INFO] running `Command { std: "docker" "start" "-a" "8aa7fc16e545ce1c371888e3a8f296fd45515134656b24098cb3539914698777", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking advent_of_code2020_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/day16.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .reduce(|a, b| a * b) [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] 225 | Iterator::reduce(departure_fields [INFO] [stdout] 226 | .iter() [INFO] [stdout] 227 | .map(|(position, _)| my_ticket[*position]), |a, b| a * b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 225 | Reduce::reduce(departure_fields [INFO] [stdout] 226 | .iter() [INFO] [stdout] 227 | .map(|(position, _)| my_ticket[*position]), |a, b| a * b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/day19.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | .reduce(|left, right| { [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] 124 | Iterator::reduce(group [INFO] [stdout] 125 | .iter() [INFO] [stdout] 126 | .map(|pointer| fill(pointer, rules)), |left, right| { [INFO] [stdout] 127 | left.iter() [INFO] [stdout] 128 | .flat_map(|a| { [INFO] [stdout] 129 | right [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 124 | Reduce::reduce(group [INFO] [stdout] 125 | .iter() [INFO] [stdout] 126 | .map(|pointer| fill(pointer, rules)), |left, right| { [INFO] [stdout] 127 | left.iter() [INFO] [stdout] 128 | .flat_map(|a| { [INFO] [stdout] 129 | right [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/day3.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | .reduce(|a, b| a * b) [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] 127 | Iterator::reduce(slopes [INFO] [stdout] 128 | .iter() [INFO] [stdout] 129 | .map(|slope| calculate_cut_trees_for_toboggan(&tree_map, slope.0, slope.1) as i64), |a, b| a * b) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 | Reduce::reduce(slopes [INFO] [stdout] 128 | .iter() [INFO] [stdout] 129 | .map(|slope| calculate_cut_trees_for_toboggan(&tree_map, slope.0, slope.1) as i64), |a, b| a * b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/day6.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | .reduce(|a, b| a.intersection(&b).cloned().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] 99 | Iterator::reduce(group [INFO] [stdout] 100 | .iter() [INFO] [stdout] 101 | .map::, _>(|line| line.chars().collect()), |a, b| a.intersection(&b).cloned().collect()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 99 | Reduce::reduce(group [INFO] [stdout] 100 | .iter() [INFO] [stdout] 101 | .map::, _>(|line| line.chars().collect()), |a, b| a.intersection(&b).cloned().collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/day16.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/day19.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/day3.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/day6.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings 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 `advent_of_code2020_rust` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8aa7fc16e545ce1c371888e3a8f296fd45515134656b24098cb3539914698777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa7fc16e545ce1c371888e3a8f296fd45515134656b24098cb3539914698777", kill_on_drop: false }` [INFO] [stdout] 8aa7fc16e545ce1c371888e3a8f296fd45515134656b24098cb3539914698777