[INFO] updating cached repository https://github.com/adrienthebo/euler-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c303e3c045cb703b0a281d6be868eda3795f6780 [INFO] checking adrienthebo/euler-rs against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrienthebo/euler-rs on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/adrienthebo/euler-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0faf78bc5ccce39b79544d9356de7b7a9c3b4f5c36db5318c8d2a565e117c63 [INFO] running `"docker" "start" "-a" "a0faf78bc5ccce39b79544d9356de7b7a9c3b4f5c36db5318c8d2a565e117c63"` [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] [stderr] error[E0601]: `main` function not found in crate `p6` [INFO] [stderr] --> src/bin/p6.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate num_bigint; [INFO] [stderr] 2 | | extern crate num_traits; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use num_bigint::BigInt; [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/p6.rs` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fold` found for type `std::ops::RangeInclusive` in the current scope [INFO] [stderr] --> src/bin/p6.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n); [INFO] [stderr] | ^^^^ method not found in `std::ops::RangeInclusive` [INFO] [stderr] | [INFO] [stderr] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] `std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fold` found for type `std::ops::RangeInclusive` in the current scope [INFO] [stderr] --> src/bin/p6.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n) [INFO] [stderr] | ^^^^ method not found in `std::ops::RangeInclusive` [INFO] [stderr] | [INFO] [stderr] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] `std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed: cannot resolve `_: std::convert::From` [INFO] [stderr] --> src/bin/p6.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | assert_eq!(delta().into(), 25164150.to_bigint().unwrap()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into<_>` for `num_bigint::BigInt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0283, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `fold` found for type `std::ops::RangeInclusive` in the current scope [INFO] [stderr] --> src/bin/p6.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n); [INFO] [stderr] | ^^^^ method not found in `std::ops::RangeInclusive` [INFO] [stderr] | [INFO] [stderr] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] `std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fold` found for type `std::ops::RangeInclusive` in the current scope [INFO] [stderr] --> src/bin/p6.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n) [INFO] [stderr] | ^^^^ method not found in `std::ops::RangeInclusive` [INFO] [stderr] | [INFO] [stderr] = note: the method `fold` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] `std::ops::RangeInclusive : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a0faf78bc5ccce39b79544d9356de7b7a9c3b4f5c36db5318c8d2a565e117c63"` [INFO] running `"docker" "rm" "-f" "a0faf78bc5ccce39b79544d9356de7b7a9c3b4f5c36db5318c8d2a565e117c63"` [INFO] [stdout] a0faf78bc5ccce39b79544d9356de7b7a9c3b4f5c36db5318c8d2a565e117c63