[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#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Feuler-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisMacNaughton/euler-rs on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-8/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71c0c84d2bbf3ca6deb9194ec33ad80c15c04a585d106fae9e8d6e03279feea1 [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" "71c0c84d2bbf3ca6deb9194ec33ad80c15c04a585d106fae9e8d6e03279feea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71c0c84d2bbf3ca6deb9194ec33ad80c15c04a585d106fae9e8d6e03279feea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c0c84d2bbf3ca6deb9194ec33ad80c15c04a585d106fae9e8d6e03279feea1", kill_on_drop: false }` [INFO] [stdout] 71c0c84d2bbf3ca6deb9194ec33ad80c15c04a585d106fae9e8d6e03279feea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5703b1974c6f0a2032c95d18e4111bb198257cdf3b75a1575b3c0130f97914a5 [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" "5703b1974c6f0a2032c95d18e4111bb198257cdf3b75a1575b3c0130f97914a5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5703b1974c6f0a2032c95d18e4111bb198257cdf3b75a1575b3c0130f97914a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5703b1974c6f0a2032c95d18e4111bb198257cdf3b75a1575b3c0130f97914a5", kill_on_drop: false }` [INFO] [stdout] 5703b1974c6f0a2032c95d18e4111bb198257cdf3b75a1575b3c0130f97914a5