[INFO] crate sort 0.0.4 is already in cache [INFO] testing sort-0.0.4 against 1.38.0 for beta-1.39-1 [INFO] extracting crate sort 0.0.4 into work/builds/worker-0/source [INFO] validating manifest of crates.io crate sort 0.0.4 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sort 0.0.4 [INFO] finished tweaking crates.io crate sort 0.0.4 [INFO] tweaked toml for crates.io crate sort 0.0.4 written to work/builds/worker-0/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 1d952f9a07896aa9df8e7394f953ae2e33a8a2d8477a4be2be45f10acc0fd698 [INFO] running `"docker" "start" "-a" "1d952f9a07896aa9df8e7394f953ae2e33a8a2d8477a4be2be45f10acc0fd698"` [INFO] [stderr] Compiling sort v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] error: expected type, found `|` [INFO] [stderr] --> src/lib.rs:11:48 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn quick_sort_by(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) { [INFO] [stderr] | ^ expected type [INFO] [stderr] [INFO] [stderr] error: expected one of `:` or `@`, found `|` [INFO] [stderr] --> src/lib.rs:11:55 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn quick_sort_by(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) { [INFO] [stderr] | ^ expected one of `:` or `@` here [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::slice::SlicePrelude` [INFO] [stderr] --> src/lib.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use core::slice::{SlicePrelude}; [INFO] [stderr] | ^^^^^^^^^^^^ no `SlicePrelude` in `slice` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::ptr::RawPtr` [INFO] [stderr] --> src/lib.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use core::ptr::{RawPtr}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `RawPtr` in `ptr` [INFO] [stderr] | help: a similar name exists in the module: `FatPtr` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:18:49 [INFO] [stderr] | [INFO] [stderr] 18 | let mut right = pivot.offset(d.len() as int - 1); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cmp` in this scope [INFO] [stderr] --> src/lib.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | while left < right && (*cmp)(&*right, &*pivot) == Greater { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cmp` in this scope [INFO] [stderr] --> src/lib.rs:23:37 [INFO] [stderr] | [INFO] [stderr] 23 | while left < right && (*cmp)(&*left, &*pivot) != Greater { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cmp` in this scope [INFO] [stderr] --> src/lib.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | if (*cmp)(&*left, &*pivot) != Greater { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | (pivot as uint - d.as_ptr() as uint) / mem::size_of::() [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:34:40 [INFO] [stderr] | [INFO] [stderr] 34 | (pivot as uint - d.as_ptr() as uint) / mem::size_of::() [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cmp` in this scope [INFO] [stderr] --> src/lib.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | quick_sort_by(d.slice_to_mut(pivot_index), cmp); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cmp` in this scope [INFO] [stderr] --> src/lib.rs:37:54 [INFO] [stderr] | [INFO] [stderr] 37 | quick_sort_by(d.slice_from_mut(pivot_index + 1), cmp); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: variant `Greater` is private [INFO] [stderr] --> src/lib.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | use core::cmp::{Ordering, Greater}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Ordering` [INFO] [stderr] --> src/lib.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use core::cmp::{Ordering, Greater}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn quick_sort_by(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) { [INFO] [stderr] | -------------------------------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 36 | quick_sort_by(d.slice_to_mut(pivot_index), cmp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_to_mut` found for type `&mut [T]` in the current scope [INFO] [stderr] --> src/lib.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | quick_sort_by(d.slice_to_mut(pivot_index), cmp); [INFO] [stderr] | ^^^^^^^^^^^^ help: there is a method with a similar name: `align_to_mut` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn quick_sort_by(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) { [INFO] [stderr] | -------------------------------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 37 | quick_sort_by(d.slice_from_mut(pivot_index + 1), cmp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from_mut` found for type `&mut [T]` in the current scope [INFO] [stderr] --> src/lib.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | quick_sort_by(d.slice_from_mut(pivot_index + 1), cmp); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `sort`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1d952f9a07896aa9df8e7394f953ae2e33a8a2d8477a4be2be45f10acc0fd698"` [INFO] running `"docker" "rm" "-f" "1d952f9a07896aa9df8e7394f953ae2e33a8a2d8477a4be2be45f10acc0fd698"` [INFO] [stdout] 1d952f9a07896aa9df8e7394f953ae2e33a8a2d8477a4be2be45f10acc0fd698