[INFO] cloning repository https://github.com/adrienthebo/euler-rs [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c303e3c045cb703b0a281d6be868eda3795f6780 [INFO] checking adrienthebo/euler-rs against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrienthebo/euler-rs on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "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-5/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" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=allow" "-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" "+beta-2019-10-27" "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] f8a189f6c8ad7ad23ecb1f650df650a6194235e61946a49737afaab6e78bf0fd [INFO] running `"docker" "start" "-a" "f8a189f6c8ad7ad23ecb1f650df650a6194235e61946a49737afaab6e78bf0fd"` [INFO] [stderr] Checking primes v0.2.3 [INFO] [stderr] Checking num-bigint v0.2.0 [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: 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[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 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this 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" "f8a189f6c8ad7ad23ecb1f650df650a6194235e61946a49737afaab6e78bf0fd"` [INFO] running `"docker" "rm" "-f" "f8a189f6c8ad7ad23ecb1f650df650a6194235e61946a49737afaab6e78bf0fd"` [INFO] [stdout] f8a189f6c8ad7ad23ecb1f650df650a6194235e61946a49737afaab6e78bf0fd