[INFO] cloning repository https://github.com/fa93hws/CLRS
[INFO] running `Command { std: "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", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4769559c01ba94faca574f197aee351400f49abd
[INFO] checking fa93hws/CLRS against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fa93hws/CLRS on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fa93hws/CLRS 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6
[INFO] running `Command { std: "docker" "start" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6", kill_on_drop: false }`
[INFO] running `Command { std: "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" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[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]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking 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: 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: 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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 2.60s
[INFO] running `Command { std: "docker" "inspect" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6", kill_on_drop: false }`
[INFO] [stdout] 924d47569c3e177afc138f95ce253695af1eb45ab3f6bd036a12da0de4911bf6
