[INFO] updating cached repository https://github.com/a-phillips/PE-Rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/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] 0df0b92fbd084f0d74abc54fea404d52662d4d20 [INFO] checking a-phillips/PE-Rust against master#9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7 for pr-64564 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a-phillips/PE-Rust on toolchain 9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "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 work/builds/worker-3/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 `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/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=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" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 16b1bdfc385e6639d284244db296e134f75b95642ced314287ba59fae24f297c [INFO] running `"docker" "start" "-a" "16b1bdfc385e6639d284244db296e134f75b95642ced314287ba59fae24f297c"` [INFO] [stderr] Checking PE v0.0.1 (/opt/rustwide/workdir) [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/PE008.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | str_num.chars().fold(1u, |product, factor| { [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/PE008.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | let prod_len = 13u; [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/PE008.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | let products = range(0u, str_big_num.len()-prod_len+1).map(|x| get_product(str_big_num.slice(x, x+prod_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/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/PE028.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | let dim = 1001u; [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/PE028.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | let mut curr_num = 3u; [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/PE028.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | let mut inc_by = 2u; [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/PE028.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | let mut inc_count = 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/PE028.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | let mut sum = 1u; [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/PE009.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | for c in range(333i, 1000i){ [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/PE009.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | for c in range(333i, 1000i){ [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/PE009.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | for b in range(1i, 1000i-c){ [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/PE009.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | for b in range(1i, 1000i-c){ [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/PE009.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | for a in range(1000i-c-b, 1000i-c-b+1){ [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/PE009.rs:8:39 [INFO] [stderr] | [INFO] [stderr] 8 | for a in range(1000i-c-b, 1000i-c-b+1){ [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[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE009.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | for c in range(333i, 1000i){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE009.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | for b in range(1i, 1000i-c){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE009.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | for a in range(1000i-c-b, 1000i-c-b+1){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 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 `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::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[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[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[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] 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: 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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: crate `PE002` should have a snake case name [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[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE008.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | let products = range(0u, str_big_num.len()-prod_len+1).map(|x| get_product(str_big_num.slice(x, x+prod_len))); [INFO] [stderr] | ^^^^^ not found in this scope [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[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: 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: 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[E0599]: no method named `slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/bin/PE008.rs:32:89 [INFO] [stderr] | [INFO] [stderr] 32 | let products = range(0u, str_big_num.len()-prod_len+1).map(|x| get_product(str_big_num.slice(x, x+prod_len))); [INFO] [stderr] | ^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 5 previous errors [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: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "16b1bdfc385e6639d284244db296e134f75b95642ced314287ba59fae24f297c"` [INFO] running `"docker" "rm" "-f" "16b1bdfc385e6639d284244db296e134f75b95642ced314287ba59fae24f297c"` [INFO] [stdout] 16b1bdfc385e6639d284244db296e134f75b95642ced314287ba59fae24f297c