[INFO] updating cached repository https://github.com/pillserg/reuler [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 04080f5658cb74223f418ed7340ca8bd5d6c1d2e [INFO] testing pillserg/reuler against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpillserg%2Freuler" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pillserg/reuler on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/pillserg/reuler [INFO] finished tweaking git repo https://github.com/pillserg/reuler [INFO] tweaked toml for git repo https://github.com/pillserg/reuler written to work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/pillserg/reuler already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 0748baeb65993cd991c0a0b991f32d992a84abec80b981224ff4f93a8d48c81b [INFO] running `"docker" "start" "-a" "0748baeb65993cd991c0a0b991f32d992a84abec80b981224ff4f93a8d48c81b"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling reuler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero` [INFO] [stderr] --> src/problems/utils.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::num::{ One, Zero }; [INFO] [stderr] | ^^^ ^^^^ no `Zero` in `num` [INFO] [stderr] | | [INFO] [stderr] | no `One` in `num` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(iter_arith)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(zero_one)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(step_by)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/problems/problem_6.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | for x in (1..n){ [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `problems::utils` [INFO] [stderr] --> src/problems/problem_7.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use problems::utils; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/problems/primes.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | for x in (2..n) { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/problems/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `reuler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "0748baeb65993cd991c0a0b991f32d992a84abec80b981224ff4f93a8d48c81b"` [INFO] running `"docker" "rm" "-f" "0748baeb65993cd991c0a0b991f32d992a84abec80b981224ff4f93a8d48c81b"` [INFO] [stdout] 0748baeb65993cd991c0a0b991f32d992a84abec80b981224ff4f93a8d48c81b