[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#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-12/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] [stderr] Downloaded reduce v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 179764f3a672e607d1823dbf6626b46f345466b69275398bcad4c4aa2504380a [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" "179764f3a672e607d1823dbf6626b46f345466b69275398bcad4c4aa2504380a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179764f3a672e607d1823dbf6626b46f345466b69275398bcad4c4aa2504380a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179764f3a672e607d1823dbf6626b46f345466b69275398bcad4c4aa2504380a", kill_on_drop: false }` [INFO] [stdout] 179764f3a672e607d1823dbf6626b46f345466b69275398bcad4c4aa2504380a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c5a526799a8e71a34b25a37a5a53eecc70e08d0d3e92353fdb8ddf20395954 [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" "74c5a526799a8e71a34b25a37a5a53eecc70e08d0d3e92353fdb8ddf20395954", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.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 criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rayon v1.5.0 [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" "74c5a526799a8e71a34b25a37a5a53eecc70e08d0d3e92353fdb8ddf20395954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c5a526799a8e71a34b25a37a5a53eecc70e08d0d3e92353fdb8ddf20395954", kill_on_drop: false }` [INFO] [stdout] 74c5a526799a8e71a34b25a37a5a53eecc70e08d0d3e92353fdb8ddf20395954