[INFO] cloning repository https://github.com/Erzhan004/Sorting_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Erzhan004/Sorting_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2FSorting_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2FSorting_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aac9458d7d9a5d572c53dcbabd1e6398d1e4136d [INFO] checking Erzhan004/Sorting_Rust against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2FSorting_Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Erzhan004/Sorting_Rust [INFO] finished tweaking git repo https://github.com/Erzhan004/Sorting_Rust [INFO] tweaked toml for git repo https://github.com/Erzhan004/Sorting_Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Erzhan004/Sorting_Rust on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Erzhan004/Sorting_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12a74f14658158fdc2c39f7c6a93e8f7768ff8836a7ef1e98a3ed2fa0f4ea123 [INFO] running `Command { std: "docker" "start" "-a" "12a74f14658158fdc2c39f7c6a93e8f7768ff8836a7ef1e98a3ed2fa0f4ea123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12a74f14658158fdc2c39f7c6a93e8f7768ff8836a7ef1e98a3ed2fa0f4ea123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a74f14658158fdc2c39f7c6a93e8f7768ff8836a7ef1e98a3ed2fa0f4ea123", kill_on_drop: false }` [INFO] [stdout] 12a74f14658158fdc2c39f7c6a93e8f7768ff8836a7ef1e98a3ed2fa0f4ea123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3e942f3d2effbfcc2abdf2357a084aefbdefa1b36db9a36fe5a9e370f546e3e [INFO] running `Command { std: "docker" "start" "-a" "b3e942f3d2effbfcc2abdf2357a084aefbdefa1b36db9a36fe5a9e370f546e3e", kill_on_drop: false }` [INFO] [stderr] Checking sorting_library v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `quicksort` in this scope [INFO] [stdout] --> src/quick_sort.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | quicksort(&mut arr[0..pivot_index]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quicksort` in this scope [INFO] [stdout] --> src/quick_sort.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | quicksort(&mut arr[pivot_index + 1..]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quicksort` in this scope [INFO] [stdout] --> src/quick_sort.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | quicksort(&mut arr[0..pivot_index]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quicksort` in this scope [INFO] [stdout] --> src/quick_sort.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | quicksort(&mut arr[pivot_index + 1..]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[T]`, a non-copy slice [INFO] [stdout] --> src/quick_sort.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let pivot = arr[arr.len() / 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `arr[_]` has type `T`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/quick_sort.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn partition(arr: &mut [T]) -> usize { [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] 12 | let pivot = arr[arr.len() / 2]; [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | let pivot = &arr[arr.len() / 2]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[T]`, a non-copy slice [INFO] [stdout] --> src/quick_sort.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let pivot = arr[arr.len() / 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `arr[_]` has type `T`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/quick_sort.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn partition(arr: &mut [T]) -> usize { [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] 12 | let pivot = arr[arr.len() / 2]; [INFO] [stdout] | ------------------ you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | let pivot = &arr[arr.len() / 2]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorting_library` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorting_library` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b3e942f3d2effbfcc2abdf2357a084aefbdefa1b36db9a36fe5a9e370f546e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e942f3d2effbfcc2abdf2357a084aefbdefa1b36db9a36fe5a9e370f546e3e", kill_on_drop: false }` [INFO] [stdout] b3e942f3d2effbfcc2abdf2357a084aefbdefa1b36db9a36fe5a9e370f546e3e