[INFO] cloning repository https://github.com/adrienthebo/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/adrienthebo/euler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c303e3c045cb703b0a281d6be868eda3795f6780 [INFO] checking adrienthebo/euler-rs against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%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/adrienthebo/euler-rs on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrienthebo/euler-rs [INFO] finished tweaking git repo https://github.com/adrienthebo/euler-rs [INFO] tweaked toml for git repo https://github.com/adrienthebo/euler-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/adrienthebo/euler-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a07c816c875755227161db90346ef2bb3bd86b83040e7568bb2b889f6b2c4099 [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" "a07c816c875755227161db90346ef2bb3bd86b83040e7568bb2b889f6b2c4099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a07c816c875755227161db90346ef2bb3bd86b83040e7568bb2b889f6b2c4099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07c816c875755227161db90346ef2bb3bd86b83040e7568bb2b889f6b2c4099", kill_on_drop: false }` [INFO] [stdout] a07c816c875755227161db90346ef2bb3bd86b83040e7568bb2b889f6b2c4099 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cc5f4c2b73add9cea2938bead9746f259cad71b9d1dcefc1dec49aaaeab915b [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" "2cc5f4c2b73add9cea2938bead9746f259cad71b9d1dcefc1dec49aaaeab915b", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Checking primes v0.2.3 [INFO] [stderr] Checking euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `p6` [INFO] [stdout] --> src/bin/p6.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern crate num_bigint; [INFO] [stdout] 2 | | extern crate num_traits; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use num_bigint::BigInt; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/bin/p6.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold` found for struct `RangeInclusive` in the current scope [INFO] [stdout] --> src/bin/p6.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n); [INFO] [stdout] | ^^^^ method not found in `RangeInclusive` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.2.0/src/bigint.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct BigInt { [INFO] [stdout] | ----------------- doesn't satisfy `BigInt: Step` [INFO] [stdout] | [INFO] [stdout] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BigInt: Step` [INFO] [stdout] which is required by `RangeInclusive: Iterator` [INFO] [stdout] `RangeInclusive: Iterator` [INFO] [stdout] which is required by `&mut RangeInclusive: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold` found for struct `RangeInclusive` in the current scope [INFO] [stdout] --> src/bin/p6.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n); [INFO] [stdout] | ^^^^ method not found in `RangeInclusive` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.2.0/src/bigint.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct BigInt { [INFO] [stdout] | ----------------- doesn't satisfy `BigInt: Step` [INFO] [stdout] | [INFO] [stdout] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BigInt: Step` [INFO] [stdout] which is required by `RangeInclusive: Iterator` [INFO] [stdout] `RangeInclusive: Iterator` [INFO] [stdout] which is required by `&mut RangeInclusive: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold` found for struct `RangeInclusive` in the current scope [INFO] [stdout] --> src/bin/p6.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n) [INFO] [stdout] | ^^^^ method not found in `RangeInclusive` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.2.0/src/bigint.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct BigInt { [INFO] [stdout] | ----------------- doesn't satisfy `BigInt: Step` [INFO] [stdout] | [INFO] [stdout] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BigInt: Step` [INFO] [stdout] which is required by `RangeInclusive: Iterator` [INFO] [stdout] `RangeInclusive: Iterator` [INFO] [stdout] which is required by `&mut RangeInclusive: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold` found for struct `RangeInclusive` in the current scope [INFO] [stdout] --> src/bin/p6.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n) [INFO] [stdout] | ^^^^ method not found in `RangeInclusive` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.2.0/src/bigint.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct BigInt { [INFO] [stdout] | ----------------- doesn't satisfy `BigInt: Step` [INFO] [stdout] | [INFO] [stdout] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BigInt: Step` [INFO] [stdout] which is required by `RangeInclusive: Iterator` [INFO] [stdout] `RangeInclusive: Iterator` [INFO] [stdout] which is required by `&mut RangeInclusive: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [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[E0283]: type annotations needed [INFO] [stdout] --> src/bin/p6.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(delta().into(), 25164150.to_bigint().unwrap()); [INFO] [stdout] | --------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `U` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From` [INFO] [stdout] = note: required because of the requirements on the impl of `Into<_>` for `BigInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2cc5f4c2b73add9cea2938bead9746f259cad71b9d1dcefc1dec49aaaeab915b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc5f4c2b73add9cea2938bead9746f259cad71b9d1dcefc1dec49aaaeab915b", kill_on_drop: false }` [INFO] [stdout] 2cc5f4c2b73add9cea2938bead9746f259cad71b9d1dcefc1dec49aaaeab915b