[INFO] cloning repository https://github.com/dinaraparanid/2-3-B-Tree-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dinaraparanid/2-3-B-Tree-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinaraparanid%2F2-3-B-Tree-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinaraparanid%2F2-3-B-Tree-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcf7e41836c872c566cac45743638b164bee490b [INFO] checking dinaraparanid/2-3-B-Tree-rs against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinaraparanid%2F2-3-B-Tree-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dinaraparanid/2-3-B-Tree-rs [INFO] finished tweaking git repo https://github.com/dinaraparanid/2-3-B-Tree-rs [INFO] tweaked toml for git repo https://github.com/dinaraparanid/2-3-B-Tree-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dinaraparanid/2-3-B-Tree-rs on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dinaraparanid/2-3-B-Tree-rs 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe45b14d4e48ab05eca40d7a692508e93f4df664284ffc64e6187a261758f3da [INFO] running `Command { std: "docker" "start" "-a" "fe45b14d4e48ab05eca40d7a692508e93f4df664284ffc64e6187a261758f3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe45b14d4e48ab05eca40d7a692508e93f4df664284ffc64e6187a261758f3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe45b14d4e48ab05eca40d7a692508e93f4df664284ffc64e6187a261758f3da", kill_on_drop: false }` [INFO] [stdout] fe45b14d4e48ab05eca40d7a692508e93f4df664284ffc64e6187a261758f3da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b626c9bb285bd4bc49ecb0c8f066bb67c98069343a2c9911d995b7c96722aa37 [INFO] running `Command { std: "docker" "start" "-a" "b626c9bb285bd4bc49ecb0c8f066bb67c98069343a2c9911d995b7c96722aa37", kill_on_drop: false }` [INFO] [stderr] Checking kek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MAX_KEYS` is never used [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_KEYS: usize = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CHILDREN` is never used [INFO] [stdout] --> src/main.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | const MAX_CHILDREN: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `SubTree` are never constructed [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | enum BTreeNode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Leaf { leaf: BTreeLeaf }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | SubTree { subtree: BTreeSubTree }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | struct BTreeLeaf { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | values: Vec>, [INFO] [stdout] 22 | parent: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeLeaf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `children`, `parent`, and `values_number` are never read [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | struct BTreeSubTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 35 | children: Vec>>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | parent: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | mid_keys: Vec>, [INFO] [stdout] 38 | values_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeSubTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTree` is never constructed [INFO] [stdout] --> src/main.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BTree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 46 | impl BTreeLeaf { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 47 | #[inline] [INFO] [stdout] 48 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl BTreeIter { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn new(cur_leaf: Option>>>, cur_ind: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_children_index_by_value` are never used [INFO] [stdout] --> src/main.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 161 | impl BTreeSubTree { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] 162 | #[inline] [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_children_index_by_value(&self, value: &T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 204 | impl BTreeNode { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 205 | #[inline] [INFO] [stdout] 206 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn unwrap_as_leaf(&self) -> &BTreeLeaf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn unwrap_as_leaf_mut(&mut self) -> &mut BTreeLeaf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub unsafe fn unwrap_as_leaf_mut_unchecked(&mut self) -> &mut BTreeLeaf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn unwrap_as_subtree(&self) -> &BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub unsafe fn unwrap_as_subtree_unchecked(&self) -> &BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn unwrap_as_subtree_mut(&mut self) -> &mut BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub unsafe fn unwrap_as_subtree_mut_unchecked(&mut self) -> &mut BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn get_parent(&self) -> Option<&Weak>>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn get_parent_mut(&mut self) -> Option<&mut Weak>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn set_parent(&mut self, new_parent: Option>>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn get_values_mut(&mut self) -> &mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn first_leaf(this: Rc>) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn first(this: Rc>) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn last_leaf(this: Rc>) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn last(this: Rc>) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn values_number(this: Rc>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn update_parent_value_number(parent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn get(this: Rc>, index: usize) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn find(this: Rc>, value: &T) -> Rc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 460 | impl BTree { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 461 | #[inline] [INFO] [stdout] 462 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn new_root_after_division( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn insert(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | fn insert_to_root_leaf(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | fn insert_to_subtree(&mut self, subtree: Rc>>, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | fn insert_to_children_subtree( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | fn insert_to_leaf(&mut self, leaf: Rc>>, leaf_ind: usize, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 685 | fn insert_mid_key_to_parent_subtree( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | fn rebalance_root_after_mid_key_insertion(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 835 | pub fn first(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 843 | pub fn last(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 851 | pub fn iter(&self) -> BTreeIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | pub unsafe fn get_unchecked(&self, index: usize) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 865 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn find(&self, value: &T) -> BTreeIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CHILDREN` is never used [INFO] [stdout] --> src/main.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | const MAX_CHILDREN: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 204 | impl BTreeNode { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn unwrap_as_leaf(&self) -> &BTreeLeaf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn unwrap_as_leaf_mut(&mut self) -> &mut BTreeLeaf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn unwrap_as_subtree(&self) -> &BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn unwrap_as_subtree_mut(&mut self) -> &mut BTreeSubTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn get_parent(&self) -> Option<&Weak>>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn get_parent_mut(&mut self) -> Option<&mut Weak>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn get_values_mut(&mut self) -> &mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn find(this: Rc>, value: &T) -> Rc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `is_not_empty`, and `find` are never used [INFO] [stdout] --> src/main.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 460 | impl BTree { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn find(&self, value: &T) -> BTreeIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "b626c9bb285bd4bc49ecb0c8f066bb67c98069343a2c9911d995b7c96722aa37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b626c9bb285bd4bc49ecb0c8f066bb67c98069343a2c9911d995b7c96722aa37", kill_on_drop: false }` [INFO] [stdout] b626c9bb285bd4bc49ecb0c8f066bb67c98069343a2c9911d995b7c96722aa37