[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_rust_data_structure" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmmpa/learning_rust_data_structure on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcc9a7bfd500e6f874c577a1d225b8ee09d1d581770722aa266535d0b051406b [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" "bcc9a7bfd500e6f874c577a1d225b8ee09d1d581770722aa266535d0b051406b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc9a7bfd500e6f874c577a1d225b8ee09d1d581770722aa266535d0b051406b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc9a7bfd500e6f874c577a1d225b8ee09d1d581770722aa266535d0b051406b", kill_on_drop: false }` [INFO] [stdout] bcc9a7bfd500e6f874c577a1d225b8ee09d1d581770722aa266535d0b051406b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15bb54c158d5439957280a0b3c838c3ecb70248ab994ad77c5dababaa19f31f7 [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" "15bb54c158d5439957280a0b3c838c3ecb70248ab994ad77c5dababaa19f31f7", 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/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/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] = note: `#[warn(unused_mut)]` on by default [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] [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: field is never read: `parent` [INFO] [stdout] --> src/parental_binary_search_tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | parent: Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 7 warnings emitted [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: type alias is never used: `Traced` [INFO] [stdout] --> src/binary_search_tree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Traced = Rc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search_tree.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(value: T) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search_tree.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/binary_search_tree.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn insert(&mut self, v: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_support` [INFO] [stdout] --> src/binary_search_tree.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn insert_support(&mut self, root: Node, v: T) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace` [INFO] [stdout] --> src/binary_search_tree.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn trace(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace_support` [INFO] [stdout] --> src/binary_search_tree.rs:82:8 [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 is never used: `Traced` [INFO] [stdout] --> src/parental_binary_search_tree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Traced = Rc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/parental_binary_search_tree.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | parent: Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parental_binary_search_tree.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(value: T, parent: Node) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parental_binary_search_tree.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/parental_binary_search_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert(&mut self, v: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_support` [INFO] [stdout] --> src/parental_binary_search_tree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert_support(&mut self, root: Node, v: T, p: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace` [INFO] [stdout] --> src/parental_binary_search_tree.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn trace(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace_support` [INFO] [stdout] --> src/parental_binary_search_tree.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn trace_support(&self, root: &Node, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "15bb54c158d5439957280a0b3c838c3ecb70248ab994ad77c5dababaa19f31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bb54c158d5439957280a0b3c838c3ecb70248ab994ad77c5dababaa19f31f7", kill_on_drop: false }` [INFO] [stdout] 15bb54c158d5439957280a0b3c838c3ecb70248ab994ad77c5dababaa19f31f7