[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reduce v0.1.3 [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b45e16693977e710745cb195caceaa929097b333bae524f2df9ea04ae13cc99 [INFO] running `Command { std: "docker" "start" "-a" "6b45e16693977e710745cb195caceaa929097b333bae524f2df9ea04ae13cc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b45e16693977e710745cb195caceaa929097b333bae524f2df9ea04ae13cc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b45e16693977e710745cb195caceaa929097b333bae524f2df9ea04ae13cc99", kill_on_drop: false }` [INFO] [stdout] 6b45e16693977e710745cb195caceaa929097b333bae524f2df9ea04ae13cc99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b488ae4a280cab592bb0e2b501f3077135622379c9c795a5963e074e7a01b01b [INFO] running `Command { std: "docker" "start" "-a" "b488ae4a280cab592bb0e2b501f3077135622379c9c795a5963e074e7a01b01b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking reduce v0.1.3 [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] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [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` 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" "b488ae4a280cab592bb0e2b501f3077135622379c9c795a5963e074e7a01b01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b488ae4a280cab592bb0e2b501f3077135622379c9c795a5963e074e7a01b01b", kill_on_drop: false }` [INFO] [stdout] b488ae4a280cab592bb0e2b501f3077135622379c9c795a5963e074e7a01b01b