[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladADragos%2Frust_sandbox" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VladADragos/rust_sandbox on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8014924ce37af12c6cc4231bc0929ce9bbd53c26126c18bdfff6807d9eb56d10 [INFO] running `Command { std: "docker" "start" "-a" "8014924ce37af12c6cc4231bc0929ce9bbd53c26126c18bdfff6807d9eb56d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8014924ce37af12c6cc4231bc0929ce9bbd53c26126c18bdfff6807d9eb56d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8014924ce37af12c6cc4231bc0929ce9bbd53c26126c18bdfff6807d9eb56d10", kill_on_drop: false }` [INFO] [stdout] 8014924ce37af12c6cc4231bc0929ce9bbd53c26126c18bdfff6807d9eb56d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f82da00a0451363326057ff438dd65f13087d6ba7cada71ca765f67e277de8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81f82da00a0451363326057ff438dd65f13087d6ba7cada71ca765f67e277de8", 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 is never used: `test_mat` [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 is never used: `det` [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 never used: `is_sorted` [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 is never used: `new` [INFO] [stdout] --> src/heaps/comparator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> MinComparator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_equal` [INFO] [stdout] --> src/heaps/comparator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn is_equal(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_less` [INFO] [stdout] --> src/heaps/comparator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_less(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/heaps/comparator.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn unwrap(self) -> Ordering { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/heaps/heap.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peak` [INFO] [stdout] --> src/heaps/heap.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn peak(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_root` [INFO] [stdout] --> src/heaps/heap.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn remove_root(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down` [INFO] [stdout] --> src/heaps/heap.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn sift_down(&mut self, i: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_right_child` [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 is never used: `get_left_child` [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_mat` [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 is never used: `det` [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 is never used: `new` [INFO] [stdout] --> src/heaps/comparator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> MinComparator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_equal` [INFO] [stdout] --> src/heaps/comparator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn is_equal(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_less` [INFO] [stdout] --> src/heaps/comparator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_less(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/heaps/comparator.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn unwrap(self) -> Ordering { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/heaps/heap.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peak` [INFO] [stdout] --> src/heaps/heap.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn peak(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_root` [INFO] [stdout] --> src/heaps/heap.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn remove_root(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down` [INFO] [stdout] --> src/heaps/heap.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn sift_down(&mut self, i: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_right_child` [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 is never used: `get_left_child` [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.21s [INFO] running `Command { std: "docker" "inspect" "81f82da00a0451363326057ff438dd65f13087d6ba7cada71ca765f67e277de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f82da00a0451363326057ff438dd65f13087d6ba7cada71ca765f67e277de8", kill_on_drop: false }` [INFO] [stdout] 81f82da00a0451363326057ff438dd65f13087d6ba7cada71ca765f67e277de8