[INFO] cloning repository https://github.com/VladADragos/rust_sandbox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VladADragos/rust_sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladADragos%2Frust_sandbox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladADragos%2Frust_sandbox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 542df2b3bf7e7a72f61f2ed4966321ac802095ab
[INFO] checking VladADragos/rust_sandbox against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladADragos%2Frust_sandbox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/VladADragos/rust_sandbox
[INFO] finished tweaking git repo https://github.com/VladADragos/rust_sandbox
[INFO] tweaked toml for git repo https://github.com/VladADragos/rust_sandbox written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VladADragos/rust_sandbox 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/VladADragos/rust_sandbox 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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85
[INFO] running `Command { std: "docker" "start" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85", 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" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85", 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" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::binary_heap`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::binary_heap;
[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: `std::cmp::Ordering`
[INFO] [stdout]  --> src/heaps/heap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::binary_heap`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::binary_heap;
[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: `std::cmp::Ordering`
[INFO] [stdout]  --> src/heaps/heap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]  --> src/sorting/bubble_sort.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         i += 1;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]  --> src/sorting/bubble_sort.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         i += 1;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_mat` is never used
[INFO] [stdout]  --> src/mat.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn test_mat() {
[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 `det` is never used
[INFO] [stdout]  --> src/mat.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn det(mat: &[[f64; 3]; 3]) -> f64 {
[INFO] [stdout]   |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_sorted` is never used
[INFO] [stdout]  --> src/sorting/is_sorted.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_sorted<T: PartialOrd>(arr: &[T]) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinComparator` is never constructed
[INFO] [stdout]  --> src/heaps/comparator.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MinComparator();
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/heaps/comparator.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MinComparator {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> MinComparator {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_equal`, `is_less`, and `unwrap` are never used
[INFO] [stdout]   --> src/heaps/comparator.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl OrderingWrapper {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 22 |     pub fn is_equal(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_less(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn unwrap(self) -> Ordering {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `len`, `peak`, `remove_root`, and `sift_down` are never used
[INFO] [stdout]   --> src/heaps/heap.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<T: PartialOrd + Copy + fmt::Display, C: Comparable<T>> Heap<T, C> {
[INFO] [stdout]    | ---------------------------------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn len(self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn peak(self) -> Option<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn remove_root(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn sift_down(&mut self, i: usize) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_right_child` is never used
[INFO] [stdout]    --> src/heaps/heap.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn get_right_child(i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_left_child` is never used
[INFO] [stdout]    --> src/heaps/heap.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn get_left_child(i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_mat` is never used
[INFO] [stdout]  --> src/mat.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn test_mat() {
[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 `det` is never used
[INFO] [stdout]  --> src/mat.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn det(mat: &[[f64; 3]; 3]) -> f64 {
[INFO] [stdout]   |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinComparator` is never constructed
[INFO] [stdout]  --> src/heaps/comparator.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MinComparator();
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/heaps/comparator.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MinComparator {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> MinComparator {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_equal`, `is_less`, and `unwrap` are never used
[INFO] [stdout]   --> src/heaps/comparator.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl OrderingWrapper {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 22 |     pub fn is_equal(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_less(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn unwrap(self) -> Ordering {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `len`, `peak`, `remove_root`, and `sift_down` are never used
[INFO] [stdout]   --> src/heaps/heap.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<T: PartialOrd + Copy + fmt::Display, C: Comparable<T>> Heap<T, C> {
[INFO] [stdout]    | ---------------------------------------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn len(self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn peak(self) -> Option<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn remove_root(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn sift_down(&mut self, i: usize) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_right_child` is never used
[INFO] [stdout]    --> src/heaps/heap.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn get_right_child(i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_left_child` is never used
[INFO] [stdout]    --> src/heaps/heap.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn get_left_child(i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.85s
[INFO] running `Command { std: "docker" "inspect" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85", kill_on_drop: false }`
[INFO] [stdout] d28a738a488d33417843cd4c891798b7d50cfa2642cb16d752840ddef74a0d85
