[INFO] cloning repository https://github.com/ChrisMacNaughton/euler-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChrisMacNaughton/euler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Feuler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Feuler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 725e2f5e689d2e94cada7a25e66af39e8b01c354 [INFO] testing ChrisMacNaughton/euler-rs against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Feuler-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisMacNaughton/euler-rs on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ChrisMacNaughton/euler-rs [INFO] finished tweaking git repo https://github.com/ChrisMacNaughton/euler-rs [INFO] tweaked toml for git repo https://github.com/ChrisMacNaughton/euler-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ChrisMacNaughton/euler-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 279b3ef5b5a3c83e0c83023584e5c9d0782e8f83c2f2e0271ea06de9d97957bf [INFO] running `Command { std: "docker" "start" "-a" "279b3ef5b5a3c83e0c83023584e5c9d0782e8f83c2f2e0271ea06de9d97957bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "279b3ef5b5a3c83e0c83023584e5c9d0782e8f83c2f2e0271ea06de9d97957bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279b3ef5b5a3c83e0c83023584e5c9d0782e8f83c2f2e0271ea06de9d97957bf", kill_on_drop: false }` [INFO] [stdout] 279b3ef5b5a3c83e0c83023584e5c9d0782e8f83c2f2e0271ea06de9d97957bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f7c02506ae1228218f12b52944d70b574482393981fb801cd0aa57c04e3c24b [INFO] running `Command { std: "docker" "start" "-a" "8f7c02506ae1228218f12b52944d70b574482393981fb801cd0aa57c04e3c24b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/problems.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | (1 .. max + 1).reduce(|a, b| lcm(a, b)).unwrap() [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] --> src/reduce.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / fn reduce(mut self, f: F) -> Option [INFO] [stdout] 10 | | where Self: Sized, [INFO] [stdout] 11 | | F: FnMut(T, T) -> T, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::ops::Range` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 97 | Reduce::reduce((1 .. max + 1), |a, b| lcm(a, b)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 97 | Iterator::reduce((1 .. max + 1), |a, b| lcm(a, b)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> src/problems.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `euler` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f7c02506ae1228218f12b52944d70b574482393981fb801cd0aa57c04e3c24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7c02506ae1228218f12b52944d70b574482393981fb801cd0aa57c04e3c24b", kill_on_drop: false }` [INFO] [stdout] 8f7c02506ae1228218f12b52944d70b574482393981fb801cd0aa57c04e3c24b