[INFO] fetching crate sort_alogorithms_v010 0.1.0... [INFO] building sort_alogorithms_v010-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sort_alogorithms_v010 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sort_alogorithms_v010 0.1.0 [INFO] finished tweaking crates.io crate sort_alogorithms_v010 0.1.0 [INFO] tweaked toml for crates.io crate sort_alogorithms_v010 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sort_alogorithms_v010 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 854513d3d21341375770a004c66f3f06794d98b2c58b478d72d39542cfa42698 [INFO] running `Command { std: "docker" "start" "-a" "854513d3d21341375770a004c66f3f06794d98b2c58b478d72d39542cfa42698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854513d3d21341375770a004c66f3f06794d98b2c58b478d72d39542cfa42698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854513d3d21341375770a004c66f3f06794d98b2c58b478d72d39542cfa42698", kill_on_drop: false }` [INFO] [stdout] 854513d3d21341375770a004c66f3f06794d98b2c58b478d72d39542cfa42698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11dc995512b43947ad653f454806678dc2f8e3811483f580162ca12ecfd0e1dc [INFO] running `Command { std: "docker" "start" "-a" "11dc995512b43947ad653f454806678dc2f8e3811483f580162ca12ecfd0e1dc", kill_on_drop: false }` [INFO] [stderr] Compiling sort_alogorithms_v010 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/quick_sort.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut pivot = arr[end]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sort/merge_sort.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/merge_sort.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut bigger: i32 = arr [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arr2 = arr.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/sort/bubble_sort.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn bubble_sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_sort` is never used [INFO] [stdout] --> src/sort/selection_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn selection_sort(arr: &mut Vec, compare: fn(T,T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partion` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn partion(arr: &mut Vec, start: usize, end: usize, compare: fn(T, T) -> bool) -> i64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_sort` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn quick_sort(arr: &mut Vec, start: usize, end: usize, compare: fn (T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heapsort` is never used [INFO] [stdout] --> src/sort/heapsort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn heapsort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sift_down` is never used [INFO] [stdout] --> src/sort/heapsort.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn sift_down(arr: &mut Vec, start: usize, end: usize) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mergesort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn mergesort(arr: &mut Vec, begin: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn merge(arr: &mut Vec, begin: usize, middle: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RadixSort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait RadixSort { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radix_sort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn radix_sort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "11dc995512b43947ad653f454806678dc2f8e3811483f580162ca12ecfd0e1dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11dc995512b43947ad653f454806678dc2f8e3811483f580162ca12ecfd0e1dc", kill_on_drop: false }` [INFO] [stdout] 11dc995512b43947ad653f454806678dc2f8e3811483f580162ca12ecfd0e1dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6664256a3cc9fbb6a9a9e90bb7e164329c346662f354506464b87c230b7cd9e5 [INFO] running `Command { std: "docker" "start" "-a" "6664256a3cc9fbb6a9a9e90bb7e164329c346662f354506464b87c230b7cd9e5", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/quick_sort.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut pivot = arr[end]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sort_alogorithms_v010 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sort/merge_sort.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/merge_sort.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut bigger: i32 = arr [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arr2 = arr.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/sort/bubble_sort.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn bubble_sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_sort` is never used [INFO] [stdout] --> src/sort/selection_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn selection_sort(arr: &mut Vec, compare: fn(T,T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partion` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn partion(arr: &mut Vec, start: usize, end: usize, compare: fn(T, T) -> bool) -> i64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_sort` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn quick_sort(arr: &mut Vec, start: usize, end: usize, compare: fn (T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heapsort` is never used [INFO] [stdout] --> src/sort/heapsort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn heapsort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sift_down` is never used [INFO] [stdout] --> src/sort/heapsort.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn sift_down(arr: &mut Vec, start: usize, end: usize) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mergesort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn mergesort(arr: &mut Vec, begin: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn merge(arr: &mut Vec, begin: usize, middle: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RadixSort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait RadixSort { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radix_sort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn radix_sort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/quick_sort.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut pivot = arr[end]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sort/merge_sort.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/merge_sort.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut size = end - begin + 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut bigger: i32 = arr [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/radix_sort.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arr2 = arr.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/sort/bubble_sort.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn bubble_sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_sort` is never used [INFO] [stdout] --> src/sort/selection_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn selection_sort(arr: &mut Vec, compare: fn(T,T) -> bool) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partion` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn partion(arr: &mut Vec, start: usize, end: usize, compare: fn(T, T) -> bool) -> i64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_sort` is never used [INFO] [stdout] --> src/sort/quick_sort.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn quick_sort(arr: &mut Vec, start: usize, end: usize, compare: fn (T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heapsort` is never used [INFO] [stdout] --> src/sort/heapsort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn heapsort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sift_down` is never used [INFO] [stdout] --> src/sort/heapsort.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn sift_down(arr: &mut Vec, start: usize, end: usize) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sort(arr: &mut Vec, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mergesort` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn mergesort(arr: &mut Vec, begin: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/sort/merge_sort.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn merge(arr: &mut Vec, begin: usize, middle: usize, end: usize, compare: fn(T, T) -> bool) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RadixSort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait RadixSort { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radix_sort` is never used [INFO] [stdout] --> src/sort/radix_sort.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn radix_sort(arr: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "6664256a3cc9fbb6a9a9e90bb7e164329c346662f354506464b87c230b7cd9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6664256a3cc9fbb6a9a9e90bb7e164329c346662f354506464b87c230b7cd9e5", kill_on_drop: false }` [INFO] [stdout] 6664256a3cc9fbb6a9a9e90bb7e164329c346662f354506464b87c230b7cd9e5