[INFO] fetching crate sort_alogorithms_v010 0.1.0... [INFO] checking sort_alogorithms_v010-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sort_alogorithms_v010 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sort_alogorithms_v010 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b24fcd13dee21c30985022316865f4a7933a38dce39be34b5c172ea7cf99f68c [INFO] running `Command { std: "docker" "start" "-a" "b24fcd13dee21c30985022316865f4a7933a38dce39be34b5c172ea7cf99f68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b24fcd13dee21c30985022316865f4a7933a38dce39be34b5c172ea7cf99f68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24fcd13dee21c30985022316865f4a7933a38dce39be34b5c172ea7cf99f68c", kill_on_drop: false }` [INFO] [stdout] b24fcd13dee21c30985022316865f4a7933a38dce39be34b5c172ea7cf99f68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef0a608aead2d0c11d58358d8d0d9e15c7a1fee210389643cd3828a33ed60804 [INFO] running `Command { std: "docker" "start" "-a" "ef0a608aead2d0c11d58358d8d0d9e15c7a1fee210389643cd3828a33ed60804", kill_on_drop: false }` [INFO] [stderr] Checking 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)]` on by default [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)]` 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)]` 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)]` 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/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)]` 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/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)]` 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.23s [INFO] running `Command { std: "docker" "inspect" "ef0a608aead2d0c11d58358d8d0d9e15c7a1fee210389643cd3828a33ed60804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0a608aead2d0c11d58358d8d0d9e15c7a1fee210389643cd3828a33ed60804", kill_on_drop: false }` [INFO] [stdout] ef0a608aead2d0c11d58358d8d0d9e15c7a1fee210389643cd3828a33ed60804