[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [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 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 0bbb1238a0f65f8928e638c9a4d40d13a029c2a21547f5c41429532e83baf3f7 [INFO] running `Command { std: "docker" "start" "-a" "0bbb1238a0f65f8928e638c9a4d40d13a029c2a21547f5c41429532e83baf3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bbb1238a0f65f8928e638c9a4d40d13a029c2a21547f5c41429532e83baf3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbb1238a0f65f8928e638c9a4d40d13a029c2a21547f5c41429532e83baf3f7", kill_on_drop: false }` [INFO] [stdout] 0bbb1238a0f65f8928e638c9a4d40d13a029c2a21547f5c41429532e83baf3f7 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d102448400078a6725e2578292cf95c1282717987f2f880436c7bb7826d2de91 [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" "d102448400078a6725e2578292cf95c1282717987f2f880436c7bb7826d2de91", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [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: 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[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: 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" "d102448400078a6725e2578292cf95c1282717987f2f880436c7bb7826d2de91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d102448400078a6725e2578292cf95c1282717987f2f880436c7bb7826d2de91", kill_on_drop: false }` [INFO] [stdout] d102448400078a6725e2578292cf95c1282717987f2f880436c7bb7826d2de91