[INFO] cloning repository https://github.com/mmmpa/learning_rust_data_structure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmmpa/learning_rust_data_structure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-push.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure/hooks/pre-push.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/mmmpa/learning_rust_data_structure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmmpa/learning_rust_data_structure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 255d021cb8214c82ca6d6002070da8d59b5c87a3 [INFO] checking mmmpa/learning_rust_data_structure against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/master': unable to append to '/workspace/builds/worker-3-tc2/source/.git/logs/refs/heads/master': No space left on device [INFO] checking mmmpa/learning_rust_data_structure against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] /workspace/builds/worker-3-tc2/source/.git/hooks/: No space left on device [INFO] checking mmmpa/learning_rust_data_structure against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmmpa/learning_rust_data_structure [INFO] finished tweaking git repo https://github.com/mmmpa/learning_rust_data_structure [INFO] tweaked toml for git repo https://github.com/mmmpa/learning_rust_data_structure written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmmpa/learning_rust_data_structure on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmmpa/learning_rust_data_structure 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5831e68632458fa24bb0c1bbc5239fa1e0da1875a23280e34afa14c6d8112ca9 [INFO] running `Command { std: "docker" "start" "-a" "5831e68632458fa24bb0c1bbc5239fa1e0da1875a23280e34afa14c6d8112ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5831e68632458fa24bb0c1bbc5239fa1e0da1875a23280e34afa14c6d8112ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5831e68632458fa24bb0c1bbc5239fa1e0da1875a23280e34afa14c6d8112ca9", kill_on_drop: false }` [INFO] [stdout] 5831e68632458fa24bb0c1bbc5239fa1e0da1875a23280e34afa14c6d8112ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2275f8d3107df2534ab7477ad88c76a73bcd32a7c5bf7cc408fbfd74b121fc [INFO] running `Command { std: "docker" "start" "-a" "5b2275f8d3107df2534ab7477ad88c76a73bcd32a7c5bf7cc408fbfd74b121fc", kill_on_drop: false }` [INFO] [stderr] Checking trees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/binary_search_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/parental_binary_search_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binary_search_tree.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | Some(mut node) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parental_binary_search_tree.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Some(mut node) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContainer` is never constructed [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct TestContainer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestRc` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestRc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Node` is never used [INFO] [stdout] --> src/binary_search_tree.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Node = Option>>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Traced` is never used [INFO] [stdout] --> src/binary_search_tree.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Traced = Rc>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTree` is never constructed [INFO] [stdout] --> src/binary_search_tree.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct BinarySearchTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeBody` is never constructed [INFO] [stdout] --> src/binary_search_tree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct NodeBody { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/binary_search_tree.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl NodeBody { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 22 | fn new(value: T) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `insert_support`, `trace`, and `trace_support` are never used [INFO] [stdout] --> src/binary_search_tree.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl BinarySearchTree { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn insert(&mut self, v: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn insert_support(&mut self, root: Node, v: T) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn trace(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn trace_support(&self, root: &Node, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Node` is never used [INFO] [stdout] --> src/parental_binary_search_tree.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Node = Option>>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Traced` is never used [INFO] [stdout] --> src/parental_binary_search_tree.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Traced = Rc>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTree` is never constructed [INFO] [stdout] --> src/parental_binary_search_tree.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct BinarySearchTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/binary_search_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeBody` is never constructed [INFO] [stdout] --> src/parental_binary_search_tree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct NodeBody { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/parental_binary_search_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parental_binary_search_tree.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl NodeBody { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 23 | fn new(value: T, parent: Node) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `insert_support`, `trace`, and `trace_support` are never used [INFO] [stdout] --> src/parental_binary_search_tree.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl BinarySearchTree { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn insert(&mut self, v: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn insert_support(&mut self, root: Node, v: T, p: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn trace(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn trace_support(&self, root: &Node, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binary_search_tree.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | Some(mut node) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parental_binary_search_tree.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Some(mut node) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut raw_box = Rc::new(Test { value: None }); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestRc` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestRc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/parental_binary_search_tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct NodeBody { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | value: T, [INFO] [stdout] 17 | parent: Node, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "5b2275f8d3107df2534ab7477ad88c76a73bcd32a7c5bf7cc408fbfd74b121fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2275f8d3107df2534ab7477ad88c76a73bcd32a7c5bf7cc408fbfd74b121fc", kill_on_drop: false }` [INFO] [stdout] 5b2275f8d3107df2534ab7477ad88c76a73bcd32a7c5bf7cc408fbfd74b121fc