[INFO] fetching crate concread 0.2.4... [INFO] checking concread-0.2.4 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate concread 0.2.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate concread 0.2.4 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate concread 0.2.4 [INFO] finished tweaking crates.io crate concread 0.2.4 [INFO] tweaked toml for crates.io crate concread 0.2.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate concread 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.4.4 [INFO] [stderr] Downloaded time v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9be16f9bbd44d44ab11e4c246e82f489a90e82cb5880412780c19edb1a1305 [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" "7b9be16f9bbd44d44ab11e4c246e82f489a90e82cb5880412780c19edb1a1305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9be16f9bbd44d44ab11e4c246e82f489a90e82cb5880412780c19edb1a1305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9be16f9bbd44d44ab11e4c246e82f489a90e82cb5880412780c19edb1a1305", kill_on_drop: false }` [INFO] [stdout] 7b9be16f9bbd44d44ab11e4c246e82f489a90e82cb5880412780c19edb1a1305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cac0cee03a4db9f27d1578f90e2e4674c9a652c1cad87e7180c5ba743189bfa [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" "0cac0cee03a4db9f27d1578f90e2e4674c9a652c1cad87e7180c5ba743189bfa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.4.4 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking concread v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `u64x8` should have an upper camel case name [INFO] [stdout] --> src/hashmap/node.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct u64x8 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64x8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { &mut *($x as *mut Meta) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] 1002 | { [INFO] [stdout] 1003 | if self_meta!(node).is_leaf() { [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | debug_assert!(unsafe { (*$x).meta.is_branch() }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1007 | let nmref = branch_ref!(node, K, V); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &mut *($x as *mut Branch<$k, $v>) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1007 | let nmref = branch_ref!(node, K, V); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | debug_assert!(unsafe { (*$x).meta.is_leaf() }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1004 | leaf_ref!(node, K, V).get_slot_mut_ref(h) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &mut *($x as *mut Leaf<$k, $v>) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1004 | leaf_ref!(node, K, V).get_slot_mut_ref(h) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/cursor.rs:1017:19 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1017 | r.map(|v| unsafe { &mut *v as &mut [Datum] }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/node.rs:598:29 [INFO] [stdout] | [INFO] [stdout] 598 | .map(|slot_idx| unsafe { (*self.values[slot_idx].as_mut_ptr()).as_mut_slice() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/bptree/cursor.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | pub(crate) fn tree_density(&self) -> (usize, usize) { [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: `get_txid` [INFO] [stdout] --> src/bptree/node.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_branch` [INFO] [stdout] --> src/bptree/node.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | pub(crate) fn is_branch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/bptree/node.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn tree_density(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_count` [INFO] [stdout] --> src/bptree/node.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn set_count(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_count` [INFO] [stdout] --> src/bptree/node.rs:824:8 [INFO] [stdout] | [INFO] [stdout] 824 | fn set_count(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pin` [INFO] [stdout] --> src/bptree/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pin: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txid` [INFO] [stdout] --> src/bptree/mod.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txid` [INFO] [stdout] --> src/bptree/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/hashmap/cursor.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | pub(crate) fn tree_density(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pin` [INFO] [stdout] --> src/hashmap/map.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pin: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/hashmap/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | data: [u64; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txid` [INFO] [stdout] --> src/hashmap/node.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_branch` [INFO] [stdout] --> src/hashmap/node.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | pub(crate) fn is_branch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/hashmap/node.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn tree_density(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_slots` [INFO] [stdout] --> src/hashmap/node.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | fn set_slots(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_slots` [INFO] [stdout] --> src/hashmap/node.rs:961:8 [INFO] [stdout] | [INFO] [stdout] 961 | fn set_slots(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stdout] warning: type `u64x8` should have an upper camel case name [INFO] [stdout] --> src/hashmap/node.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct u64x8 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64x8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bptree/cursor.rs:2191:13 [INFO] [stdout] | [INFO] [stdout] 2191 | let mut sblock = SuperBlock::default(); [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/hashmap/cursor.rs:1990:13 [INFO] [stdout] | [INFO] [stdout] 1990 | let mut sblock = SuperBlock::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { &mut *($x as *mut Meta) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] 1002 | { [INFO] [stdout] 1003 | if self_meta!(node).is_leaf() { [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | debug_assert!(unsafe { (*$x).meta.is_branch() }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1007 | let nmref = branch_ref!(node, K, V); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &mut *($x as *mut Branch<$k, $v>) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1007 | let nmref = branch_ref!(node, K, V); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | debug_assert!(unsafe { (*$x).meta.is_leaf() }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1004 | leaf_ref!(node, K, V).get_slot_mut_ref(h) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &mut *($x as *mut Leaf<$k, $v>) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/hashmap/cursor.rs:996:1 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1004 | leaf_ref!(node, K, V).get_slot_mut_ref(h) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/cursor.rs:1017:19 [INFO] [stdout] | [INFO] [stdout] 996 | / unsafe fn path_get_slot_mut_ref<'a, K: Clone + Hash + Eq + Debug, V: Clone>( [INFO] [stdout] 997 | | node: *mut Node, [INFO] [stdout] 998 | | h: u64, [INFO] [stdout] 999 | | ) -> Option<&'a mut [Datum]> [INFO] [stdout] 1000 | | where [INFO] [stdout] 1001 | | K: 'a, [INFO] [stdout] | |__________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 1017 | r.map(|v| unsafe { &mut *v as &mut [Datum] }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hashmap/node.rs:598:29 [INFO] [stdout] | [INFO] [stdout] 598 | .map(|slot_idx| unsafe { (*self.values[slot_idx].as_mut_ptr()).as_mut_slice() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/bptree/cursor.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | pub(crate) fn tree_density(&self) -> (usize, usize) { [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: `is_branch` [INFO] [stdout] --> src/bptree/node.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | pub(crate) fn is_branch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_count` [INFO] [stdout] --> src/bptree/node.rs:824:8 [INFO] [stdout] | [INFO] [stdout] 824 | fn set_count(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pin` [INFO] [stdout] --> src/bptree/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pin: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txid` [INFO] [stdout] --> src/bptree/mod.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_txid` [INFO] [stdout] --> src/bptree/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn get_txid(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_bptree2_map_basic_concurrency_small` [INFO] [stdout] --> src/bptree/mod.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | fn test_bptree2_map_basic_concurrency_small() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tree_density` [INFO] [stdout] --> src/hashmap/cursor.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | pub(crate) fn tree_density(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pin` [INFO] [stdout] --> src/hashmap/map.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pin: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/hashmap/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | data: [u64; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_branch` [INFO] [stdout] --> src/hashmap/node.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | pub(crate) fn is_branch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_slots` [INFO] [stdout] --> src/hashmap/node.rs:961:8 [INFO] [stdout] | [INFO] [stdout] 961 | fn set_slots(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.90s [INFO] running `Command { std: "docker" "inspect" "0cac0cee03a4db9f27d1578f90e2e4674c9a652c1cad87e7180c5ba743189bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cac0cee03a4db9f27d1578f90e2e4674c9a652c1cad87e7180c5ba743189bfa", kill_on_drop: false }` [INFO] [stdout] 0cac0cee03a4db9f27d1578f90e2e4674c9a652c1cad87e7180c5ba743189bfa