[INFO] updating cached repository https://github.com/a-phillips/PE-Rust [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] 0df0b92fbd084f0d74abc54fea404d52662d4d20 [INFO] checking a-phillips/PE-Rust against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a-phillips/PE-Rust on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/a-phillips/PE-Rust [INFO] finished tweaking git repo https://github.com/a-phillips/PE-Rust [INFO] tweaked toml for git repo https://github.com/a-phillips/PE-Rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/a-phillips/PE-Rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+nightly-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] f47510f36c1de6e4fe07b5318fea17caa1790e8879893762404f57cb5be52650 [INFO] running `"docker" "start" "-a" "f47510f36c1de6e4fe07b5318fea17caa1790e8879893762404f57cb5be52650"` [INFO] [stderr] Checking PE v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE058.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | for i in range (0u, 4) { // 4 numbers per diagonal [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i}) [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i}) [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | let mut d_arr = [0u, ..10_000]; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | let mut sum = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | for i in range(2u, 10_000) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE021.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | for i in range(2u, 10_000) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | let base_nums = [3u, //one [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | let teens = [3u, //ten [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | let tens_prefix = [6u, //twenty [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | let hundreds_prefix = [13u, //one hundred and [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | let one_K = 11u; //one thousand [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | let mut mut_sum = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | for i in range(0u, base_nums.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | for i in range(0u, teens.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | for i in range(0u, tens_prefix.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE017.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | for i in range(0u, hundreds_prefix.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/bin/PE001.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | return 0i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bin/PE021.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | fn d(num:uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bin/PE021.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | fn d(num:uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE021.rs:4:2 [INFO] [stderr] | [INFO] [stderr] 4 | range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i}) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE021.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | for i in range(2u, 10_000) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE021.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | for i in range(2u, 10_000) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/bin/PE058.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE058.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | for i in range (0u, 4) { // 4 numbers per diagonal [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE017.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | for i in range(0u, base_nums.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE017.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | for i in range(0u, teens.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE017.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | for i in range(0u, tens_prefix.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE017.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | for i in range(0u, hundreds_prefix.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE001.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | fn get_answer(num: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE001.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | fn get_answer(num: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/bin/PE039.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/bin/PE010.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/bin/PE006.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE039.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | for a in range(1i64, p/3) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE010.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | let answer = range(2i64, lim).filter(|x| is_prime(*x)) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE039.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | for b in range(a, p) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE039.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | for i in range(5i64, 1001i64) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | fn get_sum_sq(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | fn get_sum_sq(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | fn get_sum_sq(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | fn get_sq_sum(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | fn get_sq_sum(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE006.rs:8:36 [INFO] [stderr] | [INFO] [stderr] 8 | fn get_sq_sum(lim: int, i: int) -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f47510f36c1de6e4fe07b5318fea17caa1790e8879893762404f57cb5be52650"` [INFO] running `"docker" "rm" "-f" "f47510f36c1de6e4fe07b5318fea17caa1790e8879893762404f57cb5be52650"` [INFO] [stdout] f47510f36c1de6e4fe07b5318fea17caa1790e8879893762404f57cb5be52650