[INFO] updating cached repository a-phillips/PE-Rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/a-phillips/PE-Rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/a-phillips/PE-Rust" "work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/a-phillips/PE-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/a-phillips/PE-Rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/a-phillips/PE-Rust" "work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/a-phillips/PE-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/a-phillips/PE-Rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0df0b92fbd084f0d74abc54fea404d52662d4d20 [INFO] sha for GitHub repo a-phillips/PE-Rust: 0df0b92fbd084f0d74abc54fea404d52662d4d20 [INFO] validating manifest of a-phillips/PE-Rust on toolchain master#c43d03a19f326f4a323569328cc501e86eb6d22e [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of a-phillips/PE-Rust on toolchain try#75eff020d0923c035c2fe220db4a0465cd847048 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing a-phillips/PE-Rust [INFO] finished frobbing a-phillips/PE-Rust [INFO] frobbed toml for a-phillips/PE-Rust written to work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/a-phillips/PE-Rust/Cargo.toml [INFO] started frobbing a-phillips/PE-Rust [INFO] finished frobbing a-phillips/PE-Rust [INFO] frobbed toml for a-phillips/PE-Rust written to work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/a-phillips/PE-Rust/Cargo.toml [INFO] crate a-phillips/PE-Rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking a-phillips/PE-Rust against try#75eff020d0923c035c2fe220db4a0465cd847048 for pr-63565 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63565/worker-2/try#75eff020d0923c035c2fe220db4a0465cd847048:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/a-phillips/PE-Rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] fd73b694fc15742597cf393cd37019f307024948ae18f126f1b8c6f16c9ed98e [INFO] running `"docker" "start" "-a" "fd73b694fc15742597cf393cd37019f307024948ae18f126f1b8c6f16c9ed98e"` [INFO] [stderr] Checking PE v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE033.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | let mut i = 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/PE033.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | for i in range(0u, 4) { [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/PE007.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | let mut count = 1i; //since 2 is prime [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: invalid suffix `i` for integer literal [INFO] [stderr] --> src/bin/PE007.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | while count != 10001i { [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: 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: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE022.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | let mut sum = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [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] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [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] [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/PE022.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | 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 `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: 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[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: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this 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[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/bin/PE022.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::BufferedReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::File` [INFO] [stderr] --> src/bin/PE022.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::File; [INFO] [stderr] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/bin/PE022.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let path = Path::new(fp); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bin/PE022.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | fn name_score(name:&str) -> uint { [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: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[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE033.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | for num in range(10i64, 100i64-1) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE033.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | for den in range(num+1, 100i64) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE033.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | for i in range(0u, 4) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE033.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | for i in range(2i64, num_prod/2) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/bin/PE033.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | if (num_chars[0] == den_chars[1]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/bin/PE033.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | else if (num_chars[1] == den_chars[0]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] warning: crate `PE002` should have a snake case name [INFO] [stderr] error: Could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pe002` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/PE033.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | let mut nums = [0i64, ..4]; [INFO] [stderr] | ^^^ expected i64, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `i64` [INFO] [stderr] found type `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/PE033.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | let mut dens = [0i64, ..4]; [INFO] [stderr] | ^^^ expected i64, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `i64` [INFO] [stderr] found type `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `split_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/bin/PE022.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | let mut names:Vec<&str> = name_str.split_str(",").collect(); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `split_at` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/bin/PE007.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stderr] [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: Could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fd73b694fc15742597cf393cd37019f307024948ae18f126f1b8c6f16c9ed98e"` [INFO] running `"docker" "rm" "-f" "fd73b694fc15742597cf393cd37019f307024948ae18f126f1b8c6f16c9ed98e"` [INFO] [stdout] fd73b694fc15742597cf393cd37019f307024948ae18f126f1b8c6f16c9ed98e