[INFO] cloning repository https://github.com/Deepthought73/bp_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deepthought73/bp_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepthought73%2Fbp_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepthought73%2Fbp_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8aa2cc57f76acb1a3ce2fee0d11ff428fa6a878 [INFO] checking Deepthought73/bp_tree/e8aa2cc57f76acb1a3ce2fee0d11ff428fa6a878 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepthought73%2Fbp_tree" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Deepthought73/bp_tree on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Deepthought73/bp_tree [INFO] finished tweaking git repo https://github.com/Deepthought73/bp_tree [INFO] tweaked toml for git repo https://github.com/Deepthought73/bp_tree written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Deepthought73/bp_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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f1e2d0b08db74bc394b305516cd4d8259868332f5272a7794da0602b570dd64 [INFO] running `Command { std: "docker" "start" "-a" "5f1e2d0b08db74bc394b305516cd4d8259868332f5272a7794da0602b570dd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f1e2d0b08db74bc394b305516cd4d8259868332f5272a7794da0602b570dd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1e2d0b08db74bc394b305516cd4d8259868332f5272a7794da0602b570dd64", kill_on_drop: false }` [INFO] [stdout] 5f1e2d0b08db74bc394b305516cd4d8259868332f5272a7794da0602b570dd64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308c18a1486d0a7ae381bfb4a09356749205bb0a081c0eb988487f4f3e449750 [INFO] running `Command { std: "docker" "start" "-a" "308c18a1486d0a7ae381bfb4a09356749205bb0a081c0eb988487f4f3e449750", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bp_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ptr` and `ptr` [INFO] [stdout] --> src/vec_impl.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::{ptr, Ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering` and `max_by` [INFO] [stdout] --> src/vec_impl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max_by, Ordering}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::array_impl::ArrayBPTree` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::array_impl::ArrayBPTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeSet` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ptr` and `ptr` [INFO] [stdout] --> src/vec_impl.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::{ptr, Ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering` and `max_by` [INFO] [stdout] --> src/vec_impl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max_by, Ordering}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::array_impl::ArrayBPTree` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::array_impl::ArrayBPTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeSet` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K` is never used [INFO] [stdout] --> src/array_impl.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const K: usize = 64; // K = 170 fits exactly to a 4 KiB page [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayNode` is never constructed [INFO] [stdout] --> src/array_impl.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ArrayNode [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `to_vec`, and `print` are never used [INFO] [stdout] --> src/array_impl.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | / impl ArrayNode [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | T: Ord + Clone + Debug, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn insert(&mut self, key: u64, value: T) -> Option<(u64, Ptr, ArrayNode, ArrayNode)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get(&self, key: u64) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayBPTree` is never constructed [INFO] [stdout] --> src/array_impl.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ArrayBPTree [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayBPTree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `to_vec`, and `print` are never used [INFO] [stdout] --> src/array_impl.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 145 | / impl ArrayBPTree [INFO] [stdout] 146 | | where [INFO] [stdout] 147 | | T: Ord + Clone + Debug, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 148 | { [INFO] [stdout] 149 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn insert(&mut self, key: u64, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get(&self, key: u64) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Ptr` is never used [INFO] [stdout] --> src/util.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Ptr = Rc>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptr` is never used [INFO] [stdout] --> src/util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ptr(a: T) -> Ptr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_insert` is never used [INFO] [stdout] --> src/util.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn array_insert(array: &mut [T], index: usize, value: T, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `print` are never used [INFO] [stdout] --> src/vec_impl.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 16 | / impl VecNode [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: Clone + Debug + Default, [INFO] [stdout] | |___________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn get(&self, key: u64) -> Option<(u64, T)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `print` are never used [INFO] [stdout] --> src/vec_impl.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 119 | / impl VecBPTree [INFO] [stdout] 120 | | where [INFO] [stdout] 121 | | T: Clone + Debug + Default, [INFO] [stdout] | |___________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get(&self, key: u64) -> Option<(u64, T)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K` is never used [INFO] [stdout] --> src/array_impl.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const K: usize = 64; // K = 170 fits exactly to a 4 KiB page [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayNode` is never constructed [INFO] [stdout] --> src/array_impl.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ArrayNode [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `to_vec`, and `print` are never used [INFO] [stdout] --> src/array_impl.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | / impl ArrayNode [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | T: Ord + Clone + Debug, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn insert(&mut self, key: u64, value: T) -> Option<(u64, Ptr, ArrayNode, ArrayNode)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get(&self, key: u64) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayBPTree` is never constructed [INFO] [stdout] --> src/array_impl.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ArrayBPTree [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayBPTree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `to_vec`, and `print` are never used [INFO] [stdout] --> src/array_impl.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 145 | / impl ArrayBPTree [INFO] [stdout] 146 | | where [INFO] [stdout] 147 | | T: Ord + Clone + Debug, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 148 | { [INFO] [stdout] 149 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn insert(&mut self, key: u64, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get(&self, key: u64) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Ptr` is never used [INFO] [stdout] --> src/util.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Ptr = Rc>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptr` is never used [INFO] [stdout] --> src/util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ptr(a: T) -> Ptr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_insert` is never used [INFO] [stdout] --> src/util.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn array_insert(array: &mut [T], index: usize, value: T, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `print` are never used [INFO] [stdout] --> src/vec_impl.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 16 | / impl VecNode [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: Clone + Debug + Default, [INFO] [stdout] | |___________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn get(&self, key: u64) -> Option<(u64, T)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn print(&self, indent: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `print` are never used [INFO] [stdout] --> src/vec_impl.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 119 | / impl VecBPTree [INFO] [stdout] 120 | | where [INFO] [stdout] 121 | | T: Clone + Debug + Default, [INFO] [stdout] | |___________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get(&self, key: u64) -> Option<(u64, T)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "308c18a1486d0a7ae381bfb4a09356749205bb0a081c0eb988487f4f3e449750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308c18a1486d0a7ae381bfb4a09356749205bb0a081c0eb988487f4f3e449750", kill_on_drop: false }` [INFO] [stdout] 308c18a1486d0a7ae381bfb4a09356749205bb0a081c0eb988487f4f3e449750