[INFO] cloning repository https://github.com/fa93hws/CLRS
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fa93hws/CLRS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 4769559c01ba94faca574f197aee351400f49abd
[INFO] testing fa93hws/CLRS against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fa93hws/CLRS
[INFO] finished tweaking git repo https://github.com/fa93hws/CLRS
[INFO] tweaked toml for git repo https://github.com/fa93hws/CLRS written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fa93hws/CLRS on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/fa93hws/CLRS already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130
[INFO] running `"docker" "start" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "inspect" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling clrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `stack::Stack`
[INFO] [stdout]  --> src/my_collections/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use stack::Stack;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/max_subarray/binary_search.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let mut left_max = std::i32::MIN;
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/max_subarray/binary_search.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let mut right_max = std::i32::MIN;
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> src/max_subarray/iteration.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |   let mut min = std::i32::MAX;
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     self.array.push(std::i32::MIN);
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASES_SIZE` is never used
[INFO] [stdout]  --> src/sort/test_suits.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CASES_SIZE: usize = 12;
[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 `create_test_problems` is never used
[INFO] [stdout]   --> src/sort/test_suits.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_test_problems() -> Vec<Vec<i32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_case` is never used
[INFO] [stdout]   --> src/sort/test_suits.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn create_test_case(problem: &Vec<i32>) -> TestCase<Vec<i32>, Vec<i32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_cases` is never used
[INFO] [stdout]   --> src/sort/test_suits.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn create_test_cases() -> Vec<TestCase<Vec<i32>, Vec<i32>>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort` is never used
[INFO] [stdout]  --> src/sort/quick_sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sort(arr: &mut Vec<i32>) {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_rec` is never used
[INFO] [stdout]  --> src/sort/quick_sort.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn sort_rec(arr: &mut Vec<i32>, begin: usize, end: usize) {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partition` is never used
[INFO] [stdout]   --> src/sort/quick_sort.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn partition(arr: &mut Vec<i32>, begin: usize, end: usize, pivot: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASES_SIZE` is never used
[INFO] [stdout]  --> src/max_subarray/test_suits.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const CASES_SIZE: usize = 12;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_problems` is never used
[INFO] [stdout]   --> src/max_subarray/test_suits.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn create_test_problems() -> Vec<Vec<i32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_case` is never used
[INFO] [stdout]   --> src/max_subarray/test_suits.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn create_test_case(problem: &Vec<i32>) -> TestCase<Vec<i32>, i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_cases` is never used
[INFO] [stdout]   --> src/max_subarray/test_suits.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn create_test_cases() -> Vec<TestCase<Vec<i32>, i32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MaxHeap` is never constructed
[INFO] [stdout]  --> src/my_collections/heap/array_heap.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct MaxHeap {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_if_empty` is never used
[INFO] [stdout]  --> src/my_collections/heap/array_heap.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn panic_if_empty(arr: &Vec<i32>) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MaxHeap {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 12 |   pub fn new(arr: &Vec<i32>) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `size`, `get_max`, `extract_max`, `increase_key`, `insert`, and `delete` are never used
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl MaxHeap {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 20 |   pub fn size(&self) -> usize { self.array.len() }
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 21 |
[INFO] [stdout] 22 |   pub fn get_max(&self) -> i32 {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |   pub fn extract_max(&mut self) -> i32 {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |   pub fn increase_key(&mut self, idx: usize, value: i32) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn insert(&mut self, value: i32) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |   pub fn delete(&mut self, idx: usize) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_parent` is never used
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn find_parent(idx: usize) -> usize { idx >> 1 }
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/my_collections/stack.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Stack<T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `capacity` is never used
[INFO] [stdout]   --> src/my_collections/stack.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 15 |   pub fn capacity(&self) -> usize {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_capacity` is never used
[INFO] [stdout]   --> src/my_collections/stack.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 21 |   pub fn with_capacity(capacity: usize) -> Self {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `pop`, and `peek` are never used
[INFO] [stdout]   --> src/my_collections/stack.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 30 |   pub fn push(&mut self, item: T) {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |   pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |   pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty` and `is_full` are never used
[INFO] [stdout]   --> src/my_collections/stack.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl <T> Stack<T> {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 56 |   pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |   pub fn is_full(&self) -> bool {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_n_smallest_in_vec` is never used
[INFO] [stdout]  --> src/others/n_smallest/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn find_n_smallest_in_vec(vec: &Vec<i32>, n: usize) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestCase` is never constructed
[INFO] [stdout]  --> src/test_utils/test_case.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct TestCase<T, R> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/test_utils/test_case.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<T, R> TestCase<T, R> {
[INFO] [stdout]   | ------------------------- associated function in this implementation
[INFO] [stdout] 7 |   pub fn new<F>(problem: T, func: F) -> TestCase<T, R>
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3.38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.4.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `"docker" "inspect" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling clrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `stack::Stack`
[INFO] [stdout]  --> src/my_collections/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use stack::Stack;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/max_subarray/binary_search.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let mut left_max = std::i32::MIN;
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/max_subarray/binary_search.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let mut right_max = std::i32::MIN;
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> src/max_subarray/iteration.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |   let mut min = std::i32::MAX;
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     self.array.push(std::i32::MIN);
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort` is never used
[INFO] [stdout]  --> src/sort/quick_sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sort(arr: &mut Vec<i32>) {
[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 `sort_rec` is never used
[INFO] [stdout]  --> src/sort/quick_sort.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn sort_rec(arr: &mut Vec<i32>, begin: usize, end: usize) {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_max_subarray_rec` is never used
[INFO] [stdout]    --> src/max_subarray/binary_search.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 |   fn find_max_subarray_rec() {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insert` is never used
[INFO] [stdout]   --> src/my_collections/heap/array_heap.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl MaxHeap {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |   pub fn insert(&mut self, value: i32) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.4.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `"docker" "inspect" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused import: `stack::Stack`
[INFO] [stderr]  --> src/my_collections/mod.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use stack::Stack;
[INFO] [stderr]   |         ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stderr]   --> src/max_subarray/binary_search.rs:20:32
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let mut left_max = std::i32::MIN;
[INFO] [stderr]    |                                ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stderr]   --> src/max_subarray/binary_search.rs:30:33
[INFO] [stderr]    |
[INFO] [stderr] 30 |   let mut right_max = std::i32::MIN;
[INFO] [stderr]    |                                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]  --> src/max_subarray/iteration.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |   let mut min = std::i32::MAX;
[INFO] [stderr]   |                           ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stderr]   --> src/my_collections/heap/array_heap.rs:53:31
[INFO] [stderr]    |
[INFO] [stderr] 53 |     self.array.push(std::i32::MIN);
[INFO] [stderr]    |                               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sort` is never used
[INFO] [stderr]  --> src/sort/quick_sort.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn sort(arr: &mut Vec<i32>) {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `sort_rec` is never used
[INFO] [stderr]  --> src/sort/quick_sort.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn sort_rec(arr: &mut Vec<i32>, begin: usize, end: usize) {
[INFO] [stderr]   |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_max_subarray_rec` is never used
[INFO] [stderr]    --> src/max_subarray/binary_search.rs:100:6
[INFO] [stderr]     |
[INFO] [stderr] 100 |   fn find_max_subarray_rec() {
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `insert` is never used
[INFO] [stderr]   --> src/my_collections/heap/array_heap.rs:52:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl MaxHeap {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |   pub fn insert(&mut self, value: i32) {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `clrs` (bin "clrs" test) generated 9 warnings (run `cargo fix --bin "clrs" -p clrs --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.4.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/clrs/712b5928b7d3190e/out/clrs-712b5928b7d3190e)
[INFO] [stdout] 
[INFO] [stdout] running 37 tests
[INFO] [stdout] test max_subarray::binary_search::tests::find ... ok
[INFO] [stdout] test max_subarray::iteration::tests::find ... ok
[INFO] [stdout] test max_subarray::brute_force::tests::empty ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::delete ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::extract_max ... ok
[INFO] [stdout] test max_subarray::binary_search::tests::find_max_crossing_subarray ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::extract_max_from_empty - should panic ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::increase_key ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::find_left_child ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::find_parent ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::max_heapify ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::find_right_child ... ok
[INFO] [stdout] test my_collections::stack::tests::const_capacity_after_pop ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::get_max_from_empty - should panic ... ok
[INFO] [stdout] test my_collections::stack::tests::can_push_till_full ... ok
[INFO] [stdout] test my_collections::stack::tests::can_not_push_after_full - should panic ... ok
[INFO] [stdout] test max_subarray::binary_search::tests::transform ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::delete_invalid - should panic ... ok
[INFO] [stdout] test max_subarray::brute_force::tests::simple ... ok
[INFO] [stdout] test my_collections::heap::array_heap::test::heap_new ... ok
[INFO] [stdout] test my_collections::stack::tests::full_stack_is_full ... ok
[INFO] [stdout] test sort::heap_sort::tests::sort ... ok
[INFO] [stdout] test others::n_smallest::tests::empty_array ... ok
[INFO] [stdout] test others::n_smallest::tests::n_larger_than_array_size ... ok
[INFO] [stdout] test test_utils::test_case::test::new ... ok
[INFO] [stdout] test others::n_smallest::tests::n_smallest_in_array ... ok
[INFO] [stdout] test sort::insert_sort::tests::sort ... ok
[INFO] [stdout] test sort::merge_sort::tests::sort ... ok
[INFO] [stdout] test test_utils::creation::test::create_random_i32_vector ... ok
[INFO] [stdout] test my_collections::stack::tests::const_capacity_after_push ... ok
[INFO] [stdout] test my_collections::stack::tests::pop_and_push ... ok
[INFO] [stdout] test my_collections::stack::tests::push_and_pop ... ok
[INFO] [stdout] test my_collections::stack::tests::push_and_peek ... ok
[INFO] [stdout] test sort::quick_sort::tests::partition ... ok
[INFO] [stdout] test my_collections::stack::tests::empty_stack_is_empty ... ok
[INFO] [stdout] test sort::quick_sort::tests::sort ... ok
[INFO] [stdout] test my_collections::stack::tests::capacity ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] running `"docker" "rm" "-f" "025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130"`
[INFO] [stdout] 025a9625358643a4b76124b70368111afe951d0ebef53b1a6e14da1b6e63c130
