[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#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladADragos%2Frust_sandbox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VladADragos/rust_sandbox on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c19fd953fd0a3c22c5b1b279f282cf0bc873b81eeb72bfba93782c2d87a13965 [INFO] running `Command { std: "docker" "start" "-a" "c19fd953fd0a3c22c5b1b279f282cf0bc873b81eeb72bfba93782c2d87a13965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c19fd953fd0a3c22c5b1b279f282cf0bc873b81eeb72bfba93782c2d87a13965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19fd953fd0a3c22c5b1b279f282cf0bc873b81eeb72bfba93782c2d87a13965", kill_on_drop: false }` [INFO] [stdout] c19fd953fd0a3c22c5b1b279f282cf0bc873b81eeb72bfba93782c2d87a13965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0436d142e364ce02f56be6d55ef461573b1ce9d47335fe10a08ceff4c5fe2c8a [INFO] running `Command { std: "docker" "start" "-a" "0436d142e364ce02f56be6d55ef461573b1ce9d47335fe10a08ceff4c5fe2c8a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking rand_core v0.4.2 [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)]` 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)]` 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: 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)]` 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(arr: &[T]) -> bool { [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> Heap { [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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn remove_root(&mut self) -> Option { [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)]` 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: 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> Heap { [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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn remove_root(&mut self) -> Option { [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.94s [INFO] running `Command { std: "docker" "inspect" "0436d142e364ce02f56be6d55ef461573b1ce9d47335fe10a08ceff4c5fe2c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0436d142e364ce02f56be6d55ef461573b1ce9d47335fe10a08ceff4c5fe2c8a", kill_on_drop: false }` [INFO] [stdout] 0436d142e364ce02f56be6d55ef461573b1ce9d47335fe10a08ceff4c5fe2c8a