[INFO] crate sort 0.0.4 is already in cache
[INFO] extracting crate sort 0.0.4 into work/ex/beta-1.37-6/sources/1.36.0/reg/sort/0.0.4
[INFO] extracting crate sort 0.0.4 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sort/0.0.4
[INFO] validating manifest of sort-0.0.4 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of sort-0.0.4 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing sort-0.0.4
[INFO] finished frobbing sort-0.0.4
[INFO] frobbed toml for sort-0.0.4 written to work/ex/beta-1.37-6/sources/1.36.0/reg/sort/0.0.4/Cargo.toml
[INFO] started frobbing sort-0.0.4
[INFO] finished frobbing sort-0.0.4
[INFO] frobbed toml for sort-0.0.4 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sort/0.0.4/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing sort-0.0.4 against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/sort/0.0.4:/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=warn" "-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" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] c771ad5d9e0d3f4eed18066f260df1ec50cbc593d2ef6c6f0f4bdb306b36fcb9
[INFO] running `"docker" "start" "-a" "c771ad5d9e0d3f4eed18066f260df1ec50cbc593d2ef6c6f0f4bdb306b36fcb9"`
[INFO] [stderr]    Compiling sort v0.0.4 (/opt/crater/workdir)
[INFO] [stderr] error: expected type, found `|`
[INFO] [stderr]   --> src/lib.rs:11:48
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn quick_sort_by<T>(d: &mut [T], cmp: &mut |&T, &T| -> Ordering) {
[INFO] [stderr]    |                                                ^
[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<T>(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]   |                 ^^^^^^ no `RawPtr` in `ptr`
[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::<T>()
[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::<T>()
[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<T>(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<T>(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" "c771ad5d9e0d3f4eed18066f260df1ec50cbc593d2ef6c6f0f4bdb306b36fcb9"`
[INFO] running `"docker" "rm" "-f" "c771ad5d9e0d3f4eed18066f260df1ec50cbc593d2ef6c6f0f4bdb306b36fcb9"`
[INFO] [stdout] c771ad5d9e0d3f4eed18066f260df1ec50cbc593d2ef6c6f0f4bdb306b36fcb9
