[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] testing guillermomuntaner/AdventOfCode2020-Rust against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-7/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6a3220838c2f0e810b36f6f6d6eb7f296bc2c5a952571a98810620a3d4851b [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" "3a6a3220838c2f0e810b36f6f6d6eb7f296bc2c5a952571a98810620a3d4851b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6a3220838c2f0e810b36f6f6d6eb7f296bc2c5a952571a98810620a3d4851b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6a3220838c2f0e810b36f6f6d6eb7f296bc2c5a952571a98810620a3d4851b", kill_on_drop: false }` [INFO] [stdout] 3a6a3220838c2f0e810b36f6f6d6eb7f296bc2c5a952571a98810620a3d4851b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ad49718468dfd9262ca0b13946546029a875b952ca992c6230508c3047d909 [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" "69ad49718468dfd9262ca0b13946546029a875b952ca992c6230508c3047d909", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling array2d v0.2.1 [INFO] [stderr] Compiling reduce v0.1.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling 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` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "69ad49718468dfd9262ca0b13946546029a875b952ca992c6230508c3047d909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ad49718468dfd9262ca0b13946546029a875b952ca992c6230508c3047d909", kill_on_drop: false }` [INFO] [stdout] 69ad49718468dfd9262ca0b13946546029a875b952ca992c6230508c3047d909