[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 try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust" "/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/a-phillips/PE-Rust on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "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-5/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" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "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=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" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "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] e4f99b6997d5b298c2e3d831759ae0d00684273b5efd0cabbcaa0ef4c8be635e [INFO] running `"docker" "start" "-a" "e4f99b6997d5b298c2e3d831759ae0d00684273b5efd0cabbcaa0ef4c8be635e"` [INFO] [stderr] Checking PE v0.0.1 (/opt/rustwide/workdir) [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: 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] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE013.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | let num_digits = 10u; [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] | [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/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 `i` for integer literal [INFO] [stderr] --> src/bin/PE004.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | for i in range(100i*100i,999i*999i).rev(){ [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/PE004.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | for i in range(100i*100i,999i*999i).rev(){ [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/PE004.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | for i in range(100i*100i,999i*999i).rev(){ [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/PE004.rs:8:35 [INFO] [stderr] | [INFO] [stderr] 8 | for i in range(100i*100i,999i*999i).rev(){ [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:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | let mut count = 1i; //since 2 is prime [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bin/PE014.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | let lim = 1_000_000u; [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/PE014.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut max_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] | [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 `u` for integer literal [INFO] [stderr] --> src/bin/PE014.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | let mut max_num = 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/PE014.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | let mut curr_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/PE014.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | for i in range(1u, lim) { [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[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[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[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/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[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[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE004.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | fn is_palindrome(num: int) -> bool{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/bin/PE004.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | fn get_answer() -> int{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE004.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | for i in range(100i*100i,999i*999i).rev(){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bin/PE004.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | for div in range(100, 999){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [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/PE007.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: aborting due to 8 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: could not compile `PE`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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/PE009.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | for c in range(333i, 1000i){ [INFO] [stderr] | ^^^^^ not found in this scope [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[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] [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[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/bin/PE013.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | 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/PE013.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::File; [INFO] [stderr] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/bin/PE013.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/bin/PE013.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let path = Path::new(fp); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bin/PE014.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | fn collatz_count(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/PE014.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | fn collatz_count(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/PE014.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | for i in range(1u, lim) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/bin/PE013.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | let num:u64 = from_str(str_num.slice(0,num_digits+1)).unwrap(); [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 8 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[E0599]: no method named `slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/bin/PE013.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | let num:u64 = from_str(str_num.slice(0,num_digits+1)).unwrap(); [INFO] [stderr] | ^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/bin/PE013.rs:21:33 [INFO] [stderr] | [INFO] [stderr] 21 | println!("{}", sum.to_string().slice(0,num_digits)); [INFO] [stderr] | ^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `PE`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e4f99b6997d5b298c2e3d831759ae0d00684273b5efd0cabbcaa0ef4c8be635e"` [INFO] running `"docker" "rm" "-f" "e4f99b6997d5b298c2e3d831759ae0d00684273b5efd0cabbcaa0ef4c8be635e"` [INFO] [stdout] e4f99b6997d5b298c2e3d831759ae0d00684273b5efd0cabbcaa0ef4c8be635e