[INFO] updating cached repository infynyxx/rust_algorithms [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/infynyxx/rust_algorithms [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/infynyxx/rust_algorithms" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/rust_algorithms"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/rust_algorithms'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/infynyxx/rust_algorithms" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/rust_algorithms"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/rust_algorithms'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 158fae35cb89dafcdf47dc1c7d44b793aa547add [INFO] sha for GitHub repo infynyxx/rust_algorithms: 158fae35cb89dafcdf47dc1c7d44b793aa547add [INFO] validating manifest of infynyxx/rust_algorithms on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of infynyxx/rust_algorithms on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing infynyxx/rust_algorithms [INFO] finished frobbing infynyxx/rust_algorithms [INFO] frobbed toml for infynyxx/rust_algorithms written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infynyxx/rust_algorithms/Cargo.toml [INFO] started frobbing infynyxx/rust_algorithms [INFO] finished frobbing infynyxx/rust_algorithms [INFO] frobbed toml for infynyxx/rust_algorithms written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/rust_algorithms/Cargo.toml [INFO] crate infynyxx/rust_algorithms already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking infynyxx/rust_algorithms against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-3/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infynyxx/rust_algorithms:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a21921a9c229cabf3b1e03f449be22607367e527d7b6f6240f25030db51a850d [INFO] running `"docker" "start" "-a" "a21921a9c229cabf3b1e03f449be22607367e527d7b6f6240f25030db51a850d"` [INFO] [stderr] Checking rust_algorithms v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/utils.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/utils.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/sort.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | fn sort(&self) -> Vec; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new (size: int) -> SelectionSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | let mut arr: Vec = self.input_array.clone(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(size: int) -> QuickSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | let rand_array: Vec = rand_array(size); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:46 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:59 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:68 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | let pivot_index: uint = left + (right - left) / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let pivot_value: int = *array.get_mut(pivot_index); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | let mut store_index: uint = left; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:48 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:47 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:60 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(size: int) -> MergeSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | let rand_array: Vec = rand_array(size); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:54 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | let mut result: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:40:30 [INFO] [stderr] | [INFO] [stderr] 40 | fn merge_sort(array: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:40:43 [INFO] [stderr] | [INFO] [stderr] 40 | fn merge_sort(array: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | let length :uint = arr.len(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let middle: uint = length / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:47:36 [INFO] [stderr] | [INFO] [stderr] 47 | let mut sort_left: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | for i in range(0, middle) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:51:37 [INFO] [stderr] | [INFO] [stderr] 51 | let mut sort_right: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | for i in range(middle, length) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:61:27 [INFO] [stderr] | [INFO] [stderr] 61 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | static NOT_FOUND: int = -1; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:37 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:3:47 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:68 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | let mid: uint = (high + low) / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | mid as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:38 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:46 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rand_array(size: int) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rand_array(size: int) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/utils.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | let u_size_option: Option = size.to_uint(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | let rand_arr: Vec = Vec::from_fn(u_size, | idx | { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:12:49 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_fn` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/utils.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | let rand_arr: Vec = Vec::from_fn(u_size, | idx | { [INFO] [stderr] | ^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 61 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `rust_algorithms`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/algorithms/number.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn gcd(x: int, y: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/sort.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | fn sort(&self) -> Vec; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new (size: int) -> SelectionSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/selection_sort.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | let mut arr: Vec = self.input_array.clone(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(size: int) -> QuickSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | let rand_array: Vec = rand_array(size); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:46 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:59 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:16:68 [INFO] [stderr] | [INFO] [stderr] 16 | fn partition(array: &mut Vec, left: uint, right: uint) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | let pivot_index: uint = left + (right - left) / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | let pivot_value: int = *array.get_mut(pivot_index); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | let mut store_index: uint = left; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:48 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | fn swap(array: &mut Vec, pivot_index: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:47 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:40:60 [INFO] [stderr] | [INFO] [stderr] 40 | fn quick_sort(array: &mut Vec, left: uint, right: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/quick_sort.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub input_array: Vec [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(size: int) -> MergeSort { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | let rand_array: Vec = rand_array(size); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:16:54 [INFO] [stderr] | [INFO] [stderr] 16 | fn merge(left: Vec, right: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | let mut result: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:40:30 [INFO] [stderr] | [INFO] [stderr] 40 | fn merge_sort(array: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:40:43 [INFO] [stderr] | [INFO] [stderr] 40 | fn merge_sort(array: Vec) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | let length :uint = arr.len(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let middle: uint = length / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:47:36 [INFO] [stderr] | [INFO] [stderr] 47 | let mut sort_left: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | for i in range(0, middle) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:51:37 [INFO] [stderr] | [INFO] [stderr] 51 | let mut sort_right: Vec = Vec::new(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | for i in range(middle, length) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sorting/merge_sort.rs:61:27 [INFO] [stderr] | [INFO] [stderr] 61 | fn sort(&self) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | static NOT_FOUND: int = -1; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:37 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:3:47 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:3:68 [INFO] [stderr] | [INFO] [stderr] 3 | fn find_rank(items: Vec, item: int, low: uint, high: uint) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/binary_search.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | let mid: uint = (high + low) / 2; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | mid as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:38 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/binary_search.rs:18:46 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn search(items: Vec, item: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rand_array(size: int) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rand_array(size: int) -> Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/utils.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | let u_size_option: Option = size.to_uint(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | let rand_arr: Vec = Vec::from_fn(u_size, | idx | { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/utils.rs:12:49 [INFO] [stderr] | [INFO] [stderr] 12 | (rand::random::() % 100i) + idx as int [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_fn` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/utils.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | let rand_arr: Vec = Vec::from_fn(u_size, | idx | { [INFO] [stderr] | ^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 61 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `rust_algorithms`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a21921a9c229cabf3b1e03f449be22607367e527d7b6f6240f25030db51a850d"` [INFO] running `"docker" "rm" "-f" "a21921a9c229cabf3b1e03f449be22607367e527d7b6f6240f25030db51a850d"` [INFO] [stdout] a21921a9c229cabf3b1e03f449be22607367e527d7b6f6240f25030db51a850d