[INFO] cloning repository https://github.com/morka17/binary_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morka17/binary_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorka17%2Fbinary_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorka17%2Fbinary_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64988f8b28e91b0e410813e6c5332cf73fed5fe0 [INFO] checking morka17/binary_tree against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorka17%2Fbinary_tree" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/morka17/binary_tree on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/morka17/binary_tree [INFO] finished tweaking git repo https://github.com/morka17/binary_tree [INFO] tweaked toml for git repo https://github.com/morka17/binary_tree written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/morka17/binary_tree 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" "+092a284ba0421695f2032c947765429fd7095796" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e5e8c9fb1fa7c6801fb88eab6007e9317ad4d51f7d9bbf562a2ee5555d7bfc2 [INFO] running `Command { std: "docker" "start" "-a" "8e5e8c9fb1fa7c6801fb88eab6007e9317ad4d51f7d9bbf562a2ee5555d7bfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5e8c9fb1fa7c6801fb88eab6007e9317ad4d51f7d9bbf562a2ee5555d7bfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5e8c9fb1fa7c6801fb88eab6007e9317ad4d51f7d9bbf562a2ee5555d7bfc2", kill_on_drop: false }` [INFO] [stdout] 8e5e8c9fb1fa7c6801fb88eab6007e9317ad4d51f7d9bbf562a2ee5555d7bfc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f02cf1f9363c7c6c31293c4f94bd90e871e64feae70ea74139ee0aa415bef2a [INFO] running `Command { std: "docker" "start" "-a" "1f02cf1f9363c7c6c31293c4f94bd90e871e64feae70ea74139ee0aa415bef2a", kill_on_drop: false }` [INFO] [stderr] Checking binary_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/b_tree.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTree` is never constructed [INFO] [stdout] --> src/b_tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BTree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTreeProps` is never constructed [INFO] [stdout] --> src/b_tree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct BTreeProps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_leaf` are never used [INFO] [stdout] --> src/b_tree.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 21 | / impl Node [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Ord, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | fn new(degree: usize, _keys: Option>, _children: Option>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_maxed_out`, `split_child`, `insert_non_full`, and `traverse_node` are never used [INFO] [stdout] --> src/b_tree.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl BTreeProps { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 44 | fn new(degree: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn is_maxed_out(&self, node: &Node) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn split_child(&self, parent: &mut Node, child_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn insert_non_full(&mut self, node: &mut Node, key: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn traverse_node(node: &Node, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `traverse`, and `search` are never used [INFO] [stdout] --> src/b_tree.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 113 | / impl BTree [INFO] [stdout] 114 | | where [INFO] [stdout] 115 | | T: Ord + Copy + Debug + Default, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] 116 | { [INFO] [stdout] 117 | pub fn new(branch_factor: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn insert(&mut self, key: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn traverse(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn search(&self, key: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `left`, and `right` are never read [INFO] [stdout] --> src/b_search_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BinarySearchTree [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | left: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | right: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/b_search_tree.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | / impl BinarySearchTree [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | T: Ord, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn search(&self, value: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn insert(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn minimum(&self) -> Option<&T>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn maximum(&self) -> Option<&T>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn floor(&self, value: &T) -> Option<&T>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn ceil(&self, value: &T) -> Option<&T>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTreeIter` is never constructed [INFO] [stdout] --> src/b_search_tree.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | struct BinarySearchTreeIter<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `stack_push_left` are never used [INFO] [stdout] --> src/b_search_tree.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 191 | / impl<'a, T> BinarySearchTreeIter<'a, T> [INFO] [stdout] 192 | | where [INFO] [stdout] 193 | | T: Ord, [INFO] [stdout] | |_______- associated items in this implementation [INFO] [stdout] 194 | { [INFO] [stdout] 195 | pub fn new(tree: &BinarySearchTree) -> BinarySearchTreeIter{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn stack_push_left(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `traverse_node` is never used [INFO] [stdout] --> src/b_tree.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl BTreeProps { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn traverse_node(node: &Node, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse` is never used [INFO] [stdout] --> src/b_tree.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 113 | / impl BTree [INFO] [stdout] 114 | | where [INFO] [stdout] 115 | | T: Ord + Copy + Debug + Default, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn traverse(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "1f02cf1f9363c7c6c31293c4f94bd90e871e64feae70ea74139ee0aa415bef2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f02cf1f9363c7c6c31293c4f94bd90e871e64feae70ea74139ee0aa415bef2a", kill_on_drop: false }` [INFO] [stdout] 1f02cf1f9363c7c6c31293c4f94bd90e871e64feae70ea74139ee0aa415bef2a