[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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS/hooks/pre-receive.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffa93hws%2FCLRS" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fa93hws/CLRS on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "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-6-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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4b7cad52a13d75e679aaa8137e97b2ee1a6ede12535ac2ea3480c194fe98494 [INFO] running `Command { std: "docker" "start" "-a" "e4b7cad52a13d75e679aaa8137e97b2ee1a6ede12535ac2ea3480c194fe98494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4b7cad52a13d75e679aaa8137e97b2ee1a6ede12535ac2ea3480c194fe98494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b7cad52a13d75e679aaa8137e97b2ee1a6ede12535ac2ea3480c194fe98494", kill_on_drop: false }` [INFO] [stdout] e4b7cad52a13d75e679aaa8137e97b2ee1a6ede12535ac2ea3480c194fe98494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f8e58001ca485467372ce512ea2b72e65ab8e149b295b8e4fbd61ebbbeabfea [INFO] running `Command { std: "docker" "start" "-a" "2f8e58001ca485467372ce512ea2b72e65ab8e149b295b8e4fbd61ebbbeabfea", 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] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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) { [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, 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, 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) { [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) -> 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 { [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 Stack { [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 Stack { [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 Stack { [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 { [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 Stack { [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, n: usize) -> Vec { [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 { [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) { [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, 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.10s [INFO] running `Command { std: "docker" "inspect" "2f8e58001ca485467372ce512ea2b72e65ab8e149b295b8e4fbd61ebbbeabfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f8e58001ca485467372ce512ea2b72e65ab8e149b295b8e4fbd61ebbbeabfea", kill_on_drop: false }` [INFO] [stdout] 2f8e58001ca485467372ce512ea2b72e65ab8e149b295b8e4fbd61ebbbeabfea