[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrienthebo/euler-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded primes v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91368b0852970f75cc0854ba62f50bac20cd7be089667c89b41778a5ef861a4a [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" "91368b0852970f75cc0854ba62f50bac20cd7be089667c89b41778a5ef861a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91368b0852970f75cc0854ba62f50bac20cd7be089667c89b41778a5ef861a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91368b0852970f75cc0854ba62f50bac20cd7be089667c89b41778a5ef861a4a", kill_on_drop: false }` [INFO] [stdout] 91368b0852970f75cc0854ba62f50bac20cd7be089667c89b41778a5ef861a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d83c1d6de5db0993a9240deebc261e51f9fa69f62e1e2bd499f95e3248f94115 [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" "d83c1d6de5db0993a9240deebc261e51f9fa69f62e1e2bd499f95e3248f94115", 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]: the method `fold` exists for struct `RangeInclusive`, but its trait bounds were not satisfied [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 cannot be called on `RangeInclusive` due to unsatisfied trait bounds [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 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]: the method `fold` exists for struct `RangeInclusive`, but its trait bounds were not satisfied [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 cannot be called on `RangeInclusive` due to unsatisfied trait bounds [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 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]: the method `fold` exists for struct `RangeInclusive`, but its trait bounds were not satisfied [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 cannot be called on `RangeInclusive` due to unsatisfied trait bounds [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 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]: the method `fold` exists for struct `RangeInclusive`, but its trait bounds were not satisfied [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 cannot be called on `RangeInclusive` due to unsatisfied trait bounds [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 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[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: E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d83c1d6de5db0993a9240deebc261e51f9fa69f62e1e2bd499f95e3248f94115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d83c1d6de5db0993a9240deebc261e51f9fa69f62e1e2bd499f95e3248f94115", kill_on_drop: false }` [INFO] [stdout] d83c1d6de5db0993a9240deebc261e51f9fa69f62e1e2bd499f95e3248f94115