[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] checking ChrisMacNaughton/euler-rs against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Feuler-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisMacNaughton/euler-rs on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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-1/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b50c935edabfdd27da6a423ebab5d6d5e6df6e3aaa01a3307fe9a070ee0ccd06 [INFO] running `Command { std: "docker" "start" "-a" "b50c935edabfdd27da6a423ebab5d6d5e6df6e3aaa01a3307fe9a070ee0ccd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b50c935edabfdd27da6a423ebab5d6d5e6df6e3aaa01a3307fe9a070ee0ccd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50c935edabfdd27da6a423ebab5d6d5e6df6e3aaa01a3307fe9a070ee0ccd06", kill_on_drop: false }` [INFO] [stdout] b50c935edabfdd27da6a423ebab5d6d5e6df6e3aaa01a3307fe9a070ee0ccd06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c05f7aa515d7296ee669addc16075b508163261dc5018e4a174fbb4451de115f [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" "c05f7aa515d7296ee669addc16075b508163261dc5018e4a174fbb4451de115f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking bencher v0.1.4 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking 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] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [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] [stderr] error: could not compile `euler` [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] [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] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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" "c05f7aa515d7296ee669addc16075b508163261dc5018e4a174fbb4451de115f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05f7aa515d7296ee669addc16075b508163261dc5018e4a174fbb4451de115f", kill_on_drop: false }` [INFO] [stdout] c05f7aa515d7296ee669addc16075b508163261dc5018e4a174fbb4451de115f