[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillermomuntaner%2FAdventOfCode2020-Rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guillermomuntaner/AdventOfCode2020-Rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] [stderr] Downloaded const_fn v0.4.4 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded reduce v0.1.3 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c3955aa3b2ae6dd26f6ff12a5468178260627868447972036717382c90219bd [INFO] running `Command { std: "docker" "start" "-a" "4c3955aa3b2ae6dd26f6ff12a5468178260627868447972036717382c90219bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c3955aa3b2ae6dd26f6ff12a5468178260627868447972036717382c90219bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3955aa3b2ae6dd26f6ff12a5468178260627868447972036717382c90219bd", kill_on_drop: false }` [INFO] [stdout] 4c3955aa3b2ae6dd26f6ff12a5468178260627868447972036717382c90219bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 21dceb645786bfb16ed2cdff1bfe72a5bb7ad7ca2529c6705472f755b2a1c053 [INFO] running `Command { std: "docker" "start" "-a" "21dceb645786bfb16ed2cdff1bfe72a5bb7ad7ca2529c6705472f755b2a1c053", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [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 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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [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] help: disambiguate the method for candidate #2 [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] [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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [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] 130 + .iter() [INFO] [stdout] 131 + .map(|b| { [INFO] [stdout] 132 + let owned_string: String = a.to_owned(); [INFO] [stdout] 133 + let another_owned_string: String = b.to_owned(); [INFO] [stdout] 134 + format!("{}{}", owned_string, another_owned_string) [INFO] [stdout] 135 + }) [INFO] [stdout] 136 + .collect::>() [INFO] [stdout] 137 + }) [INFO] [stdout] 138 + .collect::>() [INFO] [stdout] 139 + }) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [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] 130 + .iter() [INFO] [stdout] 131 + .map(|b| { [INFO] [stdout] 132 + let owned_string: String = a.to_owned(); [INFO] [stdout] 133 + let another_owned_string: String = b.to_owned(); [INFO] [stdout] 134 + format!("{}{}", owned_string, another_owned_string) [INFO] [stdout] 135 + }) [INFO] [stdout] 136 + .collect::>() [INFO] [stdout] 137 + }) [INFO] [stdout] 138 + .collect::>() [INFO] [stdout] 139 + }) [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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [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] help: disambiguate the method for candidate #2 [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] [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 `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] help: disambiguate the method for candidate #1 [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] help: disambiguate the method for candidate #2 [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] [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` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "21dceb645786bfb16ed2cdff1bfe72a5bb7ad7ca2529c6705472f755b2a1c053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dceb645786bfb16ed2cdff1bfe72a5bb7ad7ca2529c6705472f755b2a1c053", kill_on_drop: false }` [INFO] [stdout] 21dceb645786bfb16ed2cdff1bfe72a5bb7ad7ca2529c6705472f755b2a1c053