[INFO] cloning repository https://github.com/a-phillips/PE-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-phillips/PE-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0df0b92fbd084f0d74abc54fea404d52662d4d20
[INFO] checking a-phillips/PE-Rust against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-phillips%2FPE-Rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/a-phillips/PE-Rust on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/a-phillips/PE-Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84eab9a41b94207b18032d6d64961e80355ec1006a586d8bcbce3e0efdb05bce
[INFO] running `Command { std: "docker" "start" "-a" "84eab9a41b94207b18032d6d64961e80355ec1006a586d8bcbce3e0efdb05bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84eab9a41b94207b18032d6d64961e80355ec1006a586d8bcbce3e0efdb05bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84eab9a41b94207b18032d6d64961e80355ec1006a586d8bcbce3e0efdb05bce", kill_on_drop: false }`
[INFO] [stdout] 84eab9a41b94207b18032d6d64961e80355ec1006a586d8bcbce3e0efdb05bce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d96ac35d321811f2513b1595e9dec1318621b9f9041aed605e089f1f7d7babc8
[INFO] running `Command { std: "docker" "start" "-a" "d96ac35d321811f2513b1595e9dec1318621b9f9041aed605e089f1f7d7babc8", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking PE v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::num::Float`
[INFO] [stdout]  --> src/bin/PE058.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::Float;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE058.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         for i in range (0u, 4) { // 4 numbers per diagonal
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE001.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_answer(num: int) -> int{
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    not found in this scope
[INFO] [stdout]   |                    help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE001.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_answer(num: int) -> int{
[INFO] [stdout]   |                            ^^^
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            not found in this scope
[INFO] [stdout]   |                            help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE001.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |         return 0i;
[INFO] [stdout]   |                ^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE001.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_answer(num: int) -> int{
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    not found in this scope
[INFO] [stdout]   |                    help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE001.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_answer(num: int) -> int{
[INFO] [stdout]   |                            ^^^
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            not found in this scope
[INFO] [stdout]   |                            help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE028.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let dim = 1001u;
[INFO] [stdout]   |               ^^^^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE028.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut curr_num = 3u;
[INFO] [stdout]   |                        ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE028.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut inc_by = 2u;
[INFO] [stdout]   |                      ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE028.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut inc_count = 0u;
[INFO] [stdout]   |                         ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE028.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut sum = 1u;
[INFO] [stdout]   |                   ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]  --> src/bin/PE011.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                            ^ expected `;` or `]`
[INFO] [stdout]   |
[INFO] [stdout]   = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]   |
[INFO] [stdout] 1 - fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 1 + fn max_by_col (grid:&[[uint; ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]  --> src/bin/PE011.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                                   ^ expected `;` or `]`
[INFO] [stdout]   |
[INFO] [stdout]   = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]   |
[INFO] [stdout] 1 - fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 1 + fn max_by_col (grid:&[[uint, ..20]; ..20], len:uint) -> uint {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                            ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 17 - fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 17 + fn max_by_row (grid:&[[uint; ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                   ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 17 - fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 17 + fn max_by_row (grid:&[[uint, ..20]; ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                  ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 33 - fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 33 + fn max_by_diag_down (grid:&[[uint; ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:33:41
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                         ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 33 - fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 33 + fn max_by_diag_down (grid:&[[uint, ..20]; ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE001" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 49 - fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 49 + fn max_by_diag_up (grid:&[[uint; ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/bin/PE011.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                       ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 49 - fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout] 49 + fn max_by_diag_up (grid:&[[uint, ..20]; ..20], len:uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE058.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         for i in range (0u, 4) { // 4 numbers per diagonal
[INFO] [stdout]    |                         ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE001.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |         return 0i;
[INFO] [stdout]   |                ^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE028") due to 5 previous errors
[INFO] [stdout] error[E0432]: unresolved import `std::num::Float`
[INFO] [stdout]  --> src/bin/PE010.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::num::Float;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE001") due to 3 previous errors
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader`
[INFO] [stdout]  --> src/bin/PE022.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufferedReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/bin/PE022.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]   |
[INFO] [stdout] 4 - use std::io::File;
[INFO] [stdout] 4 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE009.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for c in range(333i, 1000i){
[INFO] [stdout]   |              ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE009.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for b in range(1i, 1000i-c){
[INFO] [stdout]   |                  ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE009.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |             for a in range(1000i-c-b, 1000i-c-b+1){
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE010.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let answer = range(2i64, lim).filter(|x| is_prime(*x))
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/bin/PE022.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let path = Path::new(fp);
[INFO] [stdout]   |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE022.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn name_score(name:&str) -> uint {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE058") due to 3 previous errors
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for c in range(333i, 1000i){
[INFO] [stdout]   |                    ^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for c in range(333i, 1000i){
[INFO] [stdout]   |                          ^^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for b in range(1i, 1000i-c){
[INFO] [stdout]   |                        ^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for b in range(1i, 1000i-c){
[INFO] [stdout]   |                            ^^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |             for a in range(1000i-c-b, 1000i-c-b+1){
[INFO] [stdout]   |                            ^^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE009.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 |             for a in range(1000i-c-b, 1000i-c-b+1){
[INFO] [stdout]   |                                       ^^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE022.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut sum = 0u;
[INFO] [stdout]    |                   ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE022.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut sum = 0u;
[INFO] [stdout]    |                   ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::num::Int`
[INFO] [stdout]  --> src/bin/PE015.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::Int;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `Int` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE015.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn n_choose_r (n:int, r:int) -> i64 {
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  not found in this scope
[INFO] [stdout]   |                  help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE015.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn n_choose_r (n:int, r:int) -> i64 {
[INFO] [stdout]   |                         ^^^
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         not found in this scope
[INFO] [stdout]   |                         help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE015.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for num in range((max_den+1), (n+1)) {
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE015.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let answer = range(0i, (20+1)).map(|x| n_choose_r(20, x).pow(2)).fold(0i64, |acc, i| { acc + i});
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE010" test) due to 2 previous errors
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for col in range(0u, 20) {
[INFO] [stdout]   |                ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |         for row in range(0u, 20-len) {
[INFO] [stdout]   |                    ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE011.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |             for i in range(0, len) {
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:17:48
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:17:57
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for row in range(0u, 20) {
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             for i in range(0, len) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:33:54
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:33:63
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for row in range(0u, 20-len) {
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             for i in range(0, len) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:49:52
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:49:61
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     for row in range(len, 20) {
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             for i in range(0, len) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE009") due to 9 previous errors
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/bin/PE021.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn d(num:uint) -> uint {
[INFO] [stdout]   |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/bin/PE021.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn d(num:uint) -> uint {
[INFO] [stdout]   |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE021.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i})
[INFO] [stdout]   |     ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE021.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in range(2u, 10_000) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE021.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     for i in range(2u, 10_000) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/bin/PE015.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for num in range((max_den+1), (n+1)) {
[INFO] [stdout]    |                      ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -     for num in range((max_den+1), (n+1)) {
[INFO] [stdout] 11 +     for num in range(max_den+1 , (n+1)) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/bin/PE015.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for num in range((max_den+1), (n+1)) {
[INFO] [stdout]    |                                   ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -     for num in range((max_den+1), (n+1)) {
[INFO] [stdout] 11 +     for num in range((max_den+1), n+1 ) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/bin/PE015.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let answer = range(0i, (20+1)).map(|x| n_choose_r(20, x).pow(2)).fold(0i64, |acc, i| { acc + i});
[INFO] [stdout]    |                            ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     let answer = range(0i, (20+1)).map(|x| n_choose_r(20, x).pow(2)).fold(0i64, |acc, i| { acc + i});
[INFO] [stdout] 27 +     let answer = range(0i, 20+1 ).map(|x| n_choose_r(20, x).pow(2)).fold(0i64, |acc, i| { acc + i});
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/bin/PE015.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let answer = range(0i, (20+1)).map(|x| n_choose_r(20, x).pow(2)).fold(0i64, |acc, i| { acc + i});
[INFO] [stdout]    |                        ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE011.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut max_prod = 0u;
[INFO] [stdout]   |                        ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE011.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for col in range(0u, 20) {
[INFO] [stdout]   |                      ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE021.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i})
[INFO] [stdout]   |           ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE015" test) due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE011.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |         for row in range(0u, 20-len) {
[INFO] [stdout]   |                          ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut max_prod = 0u;
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for row in range(0u, 20) {
[INFO] [stdout]    |                      ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                          ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut max_prod = 0u;
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for row in range(0u, 20-len) {
[INFO] [stdout]    |                      ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                          ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut max_prod = 0u;
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |         for col in range(0u, 20-len) {
[INFO] [stdout]    |                          ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE011.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let mut grid = [[0u, ..20], ..20];
[INFO] [stdout]    |                      ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::num::Float`
[INFO] [stdout]  --> src/bin/PE010.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::num::Float;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE021.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 |     range(1u, num).filter(|x| num%*x==0).fold(0u, |acc, i| {acc + i})
[INFO] [stdout]   |                                               ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE021.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut d_arr = [0u, ..10_000];
[INFO] [stdout]   |                      ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE021.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut sum = 0u;
[INFO] [stdout]   |                   ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE021.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in range(2u, 10_000) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE021.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     for i in range(2u, 10_000) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE010.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let answer = range(2i64, lim).filter(|x| is_prime(*x))
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE017.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for i in range(0u, base_nums.len()) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE017.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for i in range(0u, teens.len()) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE017.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     for i in range(0u, tens_prefix.len()) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE017.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 |     for i in range(0u, hundreds_prefix.len()) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/bin/PE017.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let base_nums = [3u, //one
[INFO] [stdout]   |                      ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let teens = [3u, //ten
[INFO] [stdout]    |                  ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let tens_prefix = [6u, //twenty
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let hundreds_prefix = [13u, //one hundred and
[INFO] [stdout]    |                            ^^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let one_K = 11u; //one thousand
[INFO] [stdout]    |                 ^^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut mut_sum = 0u;
[INFO] [stdout]    |                       ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for i in range(0u, base_nums.len()) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for i in range(0u, teens.len()) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |     for i in range(0u, tens_prefix.len()) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/bin/PE017.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |     for i in range(0u, hundreds_prefix.len()) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `split_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/bin/PE022.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut names:Vec<&str> = name_str.split_str(",").collect();
[INFO] [stdout]    |                                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `split` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 -     let mut names:Vec<&str> = name_str.split_str(",").collect();
[INFO] [stdout] 36 +     let mut names:Vec<&str> = name_str.split(",").collect();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/PE011.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                              ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected type `usize`
[INFO] [stdout]            found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/PE011.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn max_by_col (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]   |                                     ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected type `usize`
[INFO] [stdout]            found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                              ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn max_by_row (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                     ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:33:36
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                    ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn max_by_diag_down (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                           ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:49:34
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                  ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/PE011.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn max_by_diag_up (grid:&[[uint, ..20], ..20], len:uint) -> uint {
[INFO] [stdout]    |                                         ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `words` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bin/PE011.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |     for it in str_grid.words().enumerate() {
[INFO] [stdout]    |                        ^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/bin/PE011.rs:88:28
[INFO] [stdout]    |
[INFO] [stdout] 88 |         grid[it.0/20][it.0%20] = from_str(it.1).unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE021") due to 11 previous errors
[INFO] [stderr] error: could not compile `PE` (bin "PE010") due to 2 previous errors
[INFO] [stderr] error: could not compile `PE` (bin "PE017" test) due to 14 previous errors
[INFO] [stderr] error: could not compile `PE` (bin "PE022") due to 7 previous errors
[INFO] [stderr] error: could not compile `PE` (bin "PE011" test) due to 54 previous errors
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE004.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn is_palindrome(num: int) -> bool{
[INFO] [stdout]   |                       ^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       not found in this scope
[INFO] [stdout]   |                       help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/bin/PE004.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn get_answer() -> int{
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    not found in this scope
[INFO] [stdout]   |                    help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]  --> src/bin/PE004.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in range(100i*100i,999i*999i).rev(){
[INFO] [stdout]   |              ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::slice::range;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/bin/PE004.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |             for div in range(100, 999){
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE004.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in range(100i*100i,999i*999i).rev(){
[INFO] [stdout]   |                    ^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE004.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in range(100i*100i,999i*999i).rev(){
[INFO] [stdout]   |                         ^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE004.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in range(100i*100i,999i*999i).rev(){
[INFO] [stdout]   |                              ^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]  --> src/bin/PE004.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in range(100i*100i,999i*999i).rev(){
[INFO] [stdout]   |                                   ^^^^ invalid suffix `i`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PE` (bin "PE004" test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "d96ac35d321811f2513b1595e9dec1318621b9f9041aed605e089f1f7d7babc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d96ac35d321811f2513b1595e9dec1318621b9f9041aed605e089f1f7d7babc8", kill_on_drop: false }`
[INFO] [stdout] d96ac35d321811f2513b1595e9dec1318621b9f9041aed605e089f1f7d7babc8
