[INFO] cloning repository https://github.com/infynyxx/rust_algorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infynyxx/rust_algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfynyxx%2Frust_algorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfynyxx%2Frust_algorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 158fae35cb89dafcdf47dc1c7d44b793aa547add
[INFO] checking infynyxx/rust_algorithms/158fae35cb89dafcdf47dc1c7d44b793aa547add against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfynyxx%2Frust_algorithms" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/infynyxx/rust_algorithms
[INFO] finished tweaking git repo https://github.com/infynyxx/rust_algorithms
[INFO] tweaked toml for git repo https://github.com/infynyxx/rust_algorithms written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/infynyxx/rust_algorithms on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/infynyxx/rust_algorithms 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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd4a753bf785f82cc889eef2016609768c5fcf51172f4001515df6a56847c450
[INFO] running `Command { std: "docker" "start" "-a" "dd4a753bf785f82cc889eef2016609768c5fcf51172f4001515df6a56847c450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd4a753bf785f82cc889eef2016609768c5fcf51172f4001515df6a56847c450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd4a753bf785f82cc889eef2016609768c5fcf51172f4001515df6a56847c450", kill_on_drop: false }`
[INFO] [stdout] dd4a753bf785f82cc889eef2016609768c5fcf51172f4001515df6a56847c450
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 706f970bce31c47f14529caa2c7a1d3a93bc52f18373855d86c93c6dec82de86
[INFO] running `Command { std: "docker" "start" "-a" "706f970bce31c47f14529caa2c7a1d3a93bc52f18373855d86c93c6dec82de86", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking rust_algorithms v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/sort.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fn sort(&self) -> Vec<int>;
[INFO] [stdout]   |                           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 2 -     fn sort(&self) -> Vec<int>;
[INFO] [stdout] 2 +     fn sort(&self) -> Vec<i32>;
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Sorting<int> {
[INFO] [stdout]   |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/selection_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SelectionSort<int> {
[INFO] [stdout]   |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/selection_sort.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new (size: int) -> SelectionSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/selection_sort.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 17 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 17 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<int> Sorting for SelectionSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/selection_sort.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut arr: Vec<int> = self.input_array.clone();
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 21 -         let mut arr: Vec<int> = self.input_array.clone();
[INFO] [stdout] 21 +         let mut arr: Vec<i32> = self.input_array.clone();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<int> Sorting for SelectionSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/quick_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct QuickSort<int> {
[INFO] [stdout]   |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/quick_sort.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(size: int) -> QuickSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 10 -         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout] 10 +         let rand_array: Vec<i32> = rand_array(size);
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout] 16 +     fn partition(array: &mut Vec<i32>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:68
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let pivot_index: uint = left + (right -  left) / 2;
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let pivot_value: int = *array.get_mut(pivot_index);
[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 type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut store_index: uint = left;
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 33 -     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout] 33 +     fn swap(array: &mut Vec<i32>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:48
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:61
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout] 40 +     fn quick_sort(array: &mut Vec<i32>, left: uint, right: uint) {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:60
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 50 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 50 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<int> Sorting for QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/merge_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MergeSort<int> {
[INFO] [stdout]   |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/merge_sort.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(size: int) -> MergeSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 10 -         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout] 10 +         let rand_array: Vec<i32> = rand_array(size);
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<i32>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<int>, right: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result: Vec<int> = Vec::new();
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 17 -         let mut result: Vec<int> = Vec::new();
[INFO] [stdout] 17 +         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout] 40 +     fn merge_sort(array: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout] 40 +     fn merge_sort(array: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let length :uint = arr.len();
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let middle: uint = length / 2;
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:47:36
[INFO] [stdout]    |
[INFO] [stdout] 47 |             let mut sort_left: Vec<int> = Vec::new();
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 47 -             let mut sort_left: Vec<int> = Vec::new();
[INFO] [stdout] 47 +             let mut sort_left: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |             for i in range(0, middle) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut sort_right: Vec<int> = Vec::new();
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 51 -             let mut sort_right: Vec<int> = Vec::new();
[INFO] [stdout] 51 +             let mut sort_right: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |             for i in range(middle, length) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 61 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 61 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl<int> Sorting for MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | static NOT_FOUND: int = -1;
[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 type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 3 - fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout] 3 + fn find_rank(items: Vec<i32>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank<int>(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> 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 type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> 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 type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mid: uint = (high + low) / 2;
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |         mid as 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 type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: int) -> int {
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 18 - pub fn search(items: Vec<int>, item: int) -> int {
[INFO] [stdout] 18 + pub fn search(items: Vec<i32>, item: int) -> int {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search<int>(items: Vec<int>, item: int) -> int {
[INFO] [stdout]    |              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/utils.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array(size: int) -> Vec<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 type `int` in this scope
[INFO] [stdout]  --> src/utils.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array(size: int) -> Vec<int> {
[INFO] [stdout]   |                                     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 - pub fn rand_array(size: int) -> Vec<int> {
[INFO] [stdout] 5 + pub fn rand_array(size: int) -> Vec<i32> {
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]   |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/utils.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let u_size_option: Option<uint> = size.to_uint();
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array<uint>(size: int) -> Vec<int> {
[INFO] [stdout]   |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 11 -     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout] 11 +     let rand_arr: Vec<i32> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as int
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 12 -         (rand::random::<int>() % 100i) + idx as int
[INFO] [stdout] 12 +         (rand::random::<i32>() % 100i) + idx as int
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:12:49
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as 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 type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/algorithms/number.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn gcd(x: int, y: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/sort.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fn sort(&self) -> Vec<int>;
[INFO] [stdout]   |                           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 2 -     fn sort(&self) -> Vec<int>;
[INFO] [stdout] 2 +     fn sort(&self) -> Vec<i32>;
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Sorting<int> {
[INFO] [stdout]   |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/selection_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SelectionSort<int> {
[INFO] [stdout]   |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/selection_sort.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new (size: int) -> SelectionSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/selection_sort.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 17 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 17 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<int> Sorting for SelectionSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/selection_sort.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut arr: Vec<int> = self.input_array.clone();
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 21 -         let mut arr: Vec<int> = self.input_array.clone();
[INFO] [stdout] 21 +         let mut arr: Vec<i32> = self.input_array.clone();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<int> Sorting for SelectionSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/quick_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct QuickSort<int> {
[INFO] [stdout]   |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/quick_sort.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(size: int) -> QuickSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 10 -         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout] 10 +         let rand_array: Vec<i32> = rand_array(size);
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout] 16 +     fn partition(array: &mut Vec<i32>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:16:68
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn partition(array: &mut Vec<int>, left: uint, right: uint) -> uint {
[INFO] [stdout]    |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let pivot_index: uint = left + (right -  left) / 2;
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let pivot_value: int = *array.get_mut(pivot_index);
[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 type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut store_index: uint = left;
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 33 -     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout] 33 +     fn swap(array: &mut Vec<i32>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:48
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:33:61
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn swap(array: &mut Vec<int>, pivot_index: uint, right: uint) {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/utils.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as int
[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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout] 40 +     fn quick_sort(array: &mut Vec<i32>, left: uint, right: uint) {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:40:60
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn quick_sort(array: &mut Vec<int>, left: uint, right: uint) {
[INFO] [stdout]    |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/quick_sort.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 50 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 50 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<int> Sorting for QuickSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/merge_sort.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub input_array: Vec<int>
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 -     pub input_array: Vec<int>
[INFO] [stdout] 5 +     pub input_array: Vec<i32>
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MergeSort<int> {
[INFO] [stdout]   |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/sorting/merge_sort.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(size: int) -> MergeSort {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 10 -         let rand_array: Vec<int> = rand_array(size);
[INFO] [stdout] 10 +         let rand_array: Vec<i32> = rand_array(size);
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<i32>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<int>, right: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 16 -     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<int> {
[INFO] [stdout] 16 +     fn merge(left: Vec<int>, right: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result: Vec<int> = Vec::new();
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 17 -         let mut result: Vec<int> = Vec::new();
[INFO] [stdout] 17 +         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout] 40 +     fn merge_sort(array: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 40 -     fn merge_sort(array: Vec<int>) -> Vec<int> {
[INFO] [stdout] 40 +     fn merge_sort(array: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let length :uint = arr.len();
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let middle: uint = length / 2;
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:47:36
[INFO] [stdout]    |
[INFO] [stdout] 47 |             let mut sort_left: Vec<int> = Vec::new();
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 47 -             let mut sort_left: Vec<int> = Vec::new();
[INFO] [stdout] 47 +             let mut sort_left: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |             for i in range(0, middle) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut sort_right: Vec<int> = Vec::new();
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 51 -             let mut sort_right: Vec<int> = Vec::new();
[INFO] [stdout] 51 +             let mut sort_right: Vec<i32> = Vec::new();
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<int> MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |             for i in range(middle, length) {
[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 type `int` in this scope
[INFO] [stdout]   --> src/sorting/merge_sort.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn sort(&self) -> Vec<int> {
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 61 -     fn sort(&self) -> Vec<int> {
[INFO] [stdout] 61 +     fn sort(&self) -> Vec<i32> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl<int> Sorting for MergeSort {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | static NOT_FOUND: int = -1;
[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 type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 3 - fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout] 3 + fn find_rank(items: Vec<i32>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank<int>(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> 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 type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> int {
[INFO] [stdout]   |                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/binary_search.rs:3:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn find_rank(items: Vec<int>, item: int, low: uint, high: uint) -> 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 type `uint` in this scope
[INFO] [stdout]  --> src/binary_search.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mid: uint = (high + low) / 2;
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |         mid as 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 type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: int) -> int {
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 18 - pub fn search(items: Vec<int>, item: int) -> int {
[INFO] [stdout] 18 + pub fn search(items: Vec<i32>, item: int) -> int {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search<int>(items: Vec<int>, item: int) -> int {
[INFO] [stdout]    |              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/binary_search.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn search(items: Vec<int>, item: 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[E0425]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/utils.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array(size: int) -> Vec<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 type `int` in this scope
[INFO] [stdout]  --> src/utils.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array(size: int) -> Vec<int> {
[INFO] [stdout]   |                                     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]   |
[INFO] [stdout] 5 - pub fn rand_array(size: int) -> Vec<int> {
[INFO] [stdout] 5 + pub fn rand_array(size: int) -> Vec<i32> {
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]   |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/utils.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let u_size_option: Option<uint> = size.to_uint();
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rand_array<uint>(size: int) -> Vec<int> {
[INFO] [stdout]   |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 11 -     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout] 11 +     let rand_arr: Vec<i32> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as int
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 12 -         (rand::random::<int>() % 100i) + idx as int
[INFO] [stdout] 12 +         (rand::random::<i32>() % 100i) + idx as int
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn rand_array<int>(size: int) -> Vec<int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/utils.rs:12:49
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as 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/utils.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 |         (rand::random::<int>() % 100i) + idx as int
[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[E0282]: type annotations needed
[INFO] [stdout]   --> src/binary_search.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |     sorted_vector.sort_by(|a, b| {a.cmp(b)});
[INFO] [stdout]    |                            ^      - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 23 |     sorted_vector.sort_by(|a: /* Type */, b| {a.cmp(b)});
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/binary_search.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |     sorted_vector.sort_by(|a, b| {a.cmp(b)});
[INFO] [stdout]    |                            ^      - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 23 |     sorted_vector.sort_by(|a: /* Type */, b| {a.cmp(b)});
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `vec_from_fn`
[INFO] [stdout]   --> src/utils.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |                              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #149698 <https://github.com/rust-lang/rust/issues/149698> for more information
[INFO] [stdout]    = help: add `#![feature(vec_from_fn)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-01-24; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `vec_from_fn`
[INFO] [stdout]   --> src/utils.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let rand_arr: Vec<int> = Vec::from_fn(u_size, | idx | {
[INFO] [stdout]    |                              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #149698 <https://github.com/rust-lang/rust/issues/149698> for more information
[INFO] [stdout]    = help: add `#![feature(vec_from_fn)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-01-24; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_algorithms` (lib) due to 62 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_algorithms` (lib test) due to 62 previous errors
[INFO] running `Command { std: "docker" "inspect" "706f970bce31c47f14529caa2c7a1d3a93bc52f18373855d86c93c6dec82de86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "706f970bce31c47f14529caa2c7a1d3a93bc52f18373855d86c93c6dec82de86", kill_on_drop: false }`
[INFO] [stdout] 706f970bce31c47f14529caa2c7a1d3a93bc52f18373855d86c93c6dec82de86
