[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 master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fa93hws/CLRS on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc1/source/Cargo.toml
[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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b04f3a9784e5bdc6b7968c18e6ac5f361a601300b091c14815f11cc3080c227
[INFO] running `Command { std: "docker" "start" "-a" "5b04f3a9784e5bdc6b7968c18e6ac5f361a601300b091c14815f11cc3080c227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b04f3a9784e5bdc6b7968c18e6ac5f361a601300b091c14815f11cc3080c227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b04f3a9784e5bdc6b7968c18e6ac5f361a601300b091c14815f11cc3080c227", kill_on_drop: false }`
[INFO] [stdout] 5b04f3a9784e5bdc6b7968c18e6ac5f361a601300b091c14815f11cc3080c227
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3db92a0b42df1ac354124ee255113aed7c086ade28b0ee4d0cd83a5befd2c6c
[INFO] running `Command { std: "docker" "start" "-a" "a3db92a0b42df1ac354124ee255113aed7c086ade28b0ee4d0cd83a5befd2c6c", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[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]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[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)]` 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)]` on by default
[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)]` 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 `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: 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: fields `problem` and `answer` are never read
[INFO] [stdout]  --> src/test_utils/test_case.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct TestCase<T, R> {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 2 |   pub problem: T,
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 3 |   pub answer: 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)]` 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 1.19s
[INFO] running `Command { std: "docker" "inspect" "a3db92a0b42df1ac354124ee255113aed7c086ade28b0ee4d0cd83a5befd2c6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3db92a0b42df1ac354124ee255113aed7c086ade28b0ee4d0cd83a5befd2c6c", kill_on_drop: false }`
[INFO] [stdout] a3db92a0b42df1ac354124ee255113aed7c086ade28b0ee4d0cd83a5befd2c6c
