[INFO] fetching crate nikidb 0.1.1...
[INFO] building nikidb-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate nikidb 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate nikidb 0.1.1
[INFO] finished tweaking crates.io crate nikidb 0.1.1
[INFO] tweaked toml for crates.io crate nikidb 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nikidb 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 45 packages to latest compatible versions
[INFO] [stderr]       Adding crc v1.8.1 (available: v3.3.0)
[INFO] [stderr]       Adding integer-encoding v3.0.4 (available: v4.0.2)
[INFO] [stderr]       Adding lock_api v0.1.5 (available: v0.4.13)
[INFO] [stderr]       Adding memoffset v0.6.5 (available: v0.9.1)
[INFO] [stderr]       Adding page_size v0.4.2 (available: v0.6.0)
[INFO] [stderr]       Adding parking_lot v0.7.1 (available: v0.12.4)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.16)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded maybe-uninit v2.0.0
[INFO] [stderr]   Downloaded lock_api v0.1.5
[INFO] [stderr]   Downloaded semver-parser v0.7.0
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded rustc_version v0.2.3
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded integer-encoding v3.0.4
[INFO] [stderr]   Downloaded memoffset v0.6.5
[INFO] [stderr]   Downloaded page_size v0.4.2
[INFO] [stderr]   Downloaded owning_ref v0.4.1
[INFO] [stderr]   Downloaded scopeguard v0.3.3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b64ef82a9fccd267d26affa13e54fd3234f30362fd52403a7bdf754b0e4cbcf
[INFO] running `Command { std: "docker" "start" "-a" "0b64ef82a9fccd267d26affa13e54fd3234f30362fd52403a7bdf754b0e4cbcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b64ef82a9fccd267d26affa13e54fd3234f30362fd52403a7bdf754b0e4cbcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b64ef82a9fccd267d26affa13e54fd3234f30362fd52403a7bdf754b0e4cbcf", kill_on_drop: false }`
[INFO] [stdout] 0b64ef82a9fccd267d26affa13e54fd3234f30362fd52403a7bdf754b0e4cbcf
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd4b444cd8d11e40f49751518c246f326f8bf12edb948821695b480e4daec367
[INFO] running `Command { std: "docker" "start" "-a" "cd4b444cd8d11e40f49751518c246f326f8bf12edb948821695b480e4daec367", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling page_size v0.4.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling nikidb v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/cursor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:230:30
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -                     Ok(v) => (v),
[INFO] [stdout] 230 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 231 -                     Err(e) => (e),
[INFO] [stdout] 231 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -                     Ok(v) => (v),
[INFO] [stdout] 238 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 239 -                     Err(e) => (e),
[INFO] [stdout] 239 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NKError`
[INFO] [stdout]  --> src/tx.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::error::{NKError, NKResult};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Page`
[INFO] [stdout]  --> src/tx.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::page::{Meta, OwnerPage, Page, Pgid};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/tx.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, RwLock, Weak};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bucket.rs:357:17
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut root = n.clone();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/cursor.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut _index: usize = 0;
[INFO] [stdout]     |                     +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_KEY_PERPAGE`
[INFO] [stdout]     |
[INFO] [stdout] 122 -             let mut index: usize = 0;
[INFO] [stdout] 122 +             let mut page::MIN_KEY_PERPAGE: usize = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cursor.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[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/cursor.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let mut elem = self.stack.first().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> src/freelist.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/freelist.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[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/node.rs:608:21
[INFO] [stdout]     |
[INFO] [stdout] 608 |         if let Some(mut p) = parent_node {
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sequence` is never read
[INFO] [stdout]    --> src/bucket.rs:370:16
[INFO] [stdout]     |
[INFO] [stdout] 368 | pub(crate) struct IBucket {
[INFO] [stdout]     |                   ------- field in this struct
[INFO] [stdout] 369 |     pub(crate) root: Pgid,
[INFO] [stdout] 370 |     pub(crate) sequence: u64,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IBucket` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/cursor.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> Item<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn value(&self) -> Option<&'a [u8]> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `last`, `prev`, and `delete` are never used
[INFO] [stdout]    --> src/cursor.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl<'a> Cursor<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn last(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn prev(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 146 |
[INFO] [stdout] 147 |     fn delete(&mut self) {}
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/db.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl DB {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `no_grow_sync`, `read_only`, and `mmap_flags` are never read
[INFO] [stdout]    --> src/db.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct Options {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 219 |     no_grow_sync: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 220 |
[INFO] [stdout] 221 |     read_only: bool,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 222 |
[INFO] [stdout] 223 |     mmap_flags: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/db.rs:271:8
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl DBImpl {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn print(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `root` are never used
[INFO] [stdout]    --> src/node.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl Node {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(crate) fn print(&self, db: &DBImpl) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub(crate) fn root(&self, node: Node) -> Node {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaSize` is never used
[INFO] [stdout]   --> src/page.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PageFlag` is never used
[INFO] [stdout]   --> src/page.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) type PageFlag = u16;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `magic` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 10 - pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout] 10 + pub(crate) const MAGIC: u32 = 0xED0CDAED;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `version` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) const version: u32 = 2;
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 - pub(crate) const version: u32 = 2;
[INFO] [stdout] 11 + pub(crate) const VERSION: u32 = 2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketHeaderSize` should have an upper case name
[INFO] [stdout]   --> src/bucket.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout] 14 + pub(crate) const BUCKET_HEADER_SIZE: usize = size_of::<IBucket>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bucket.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor {
[INFO] [stdout]     |               ^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/db.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         drop(self.mmap.as_deref());
[INFO] [stdout]     |         ^^^^^--------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `Option<&[u8]>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 167 -         drop(self.mmap.as_deref());
[INFO] [stdout] 167 +         let _ = self.mmap.as_deref();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaA` should have a snake case name
[INFO] [stdout]    --> src/db.rs:188:21
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let mut metaA = self.meta0;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaB` should have a snake case name
[INFO] [stdout]    --> src/db.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut metaB = self.meta1;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout]    |                  ^^^^^^^^ help: convert the identifier to upper case: `META_SIZE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout] 14 + pub(crate) const LEAF_PAGE_ELEMENT_SIZE: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 - pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout] 16 + pub(crate) const BRANCH_PAGE_ELEMENT_SIZE: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout] 22 + pub(crate) const BRANCH_PAGE_FLAG: u16 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout] 23 + pub(crate) const LEAF_PAGE_FLAG: u16 = 0x02;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout] 24 + pub(crate) const META_PAGE_FLAG: u16 = 0x04;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FreeListPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 25 - pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout] 25 + pub(crate) const FREE_LIST_PAGE_FLAG: u16 = 0x10;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketLeafFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 27 - pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout] 27 + pub(crate) const BUCKET_LEAF_FLAG: u32 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dbImpl` should have a snake case name
[INFO] [stdout]    --> src/tx.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     dbImpl: Arc<DBImpl>,
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `db_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s
[INFO] running `Command { std: "docker" "inspect" "cd4b444cd8d11e40f49751518c246f326f8bf12edb948821695b480e4daec367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd4b444cd8d11e40f49751518c246f326f8bf12edb948821695b480e4daec367", kill_on_drop: false }`
[INFO] [stdout] cd4b444cd8d11e40f49751518c246f326f8bf12edb948821695b480e4daec367
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abc67da97c10a8ce459d5974c90ad49fa86f4c9d3500062e5ab23e95edf13ca9
[INFO] running `Command { std: "docker" "start" "-a" "abc67da97c10a8ce459d5974c90ad49fa86f4c9d3500062e5ab23e95edf13ca9", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/cursor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:230:30
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -                     Ok(v) => (v),
[INFO] [stdout] 230 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 231 -                     Err(e) => (e),
[INFO] [stdout] 231 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -                     Ok(v) => (v),
[INFO] [stdout] 238 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 239 -                     Err(e) => (e),
[INFO] [stdout] 239 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NKError`
[INFO] [stdout]  --> src/tx.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::error::{NKError, NKResult};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Page`
[INFO] [stdout]  --> src/tx.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::page::{Meta, OwnerPage, Page, Pgid};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/tx.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, RwLock, Weak};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bucket.rs:357:17
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut root = n.clone();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/cursor.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut _index: usize = 0;
[INFO] [stdout]     |                     +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_KEY_PERPAGE`
[INFO] [stdout]     |
[INFO] [stdout] 122 -             let mut index: usize = 0;
[INFO] [stdout] 122 +             let mut page::MIN_KEY_PERPAGE: usize = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cursor.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[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/cursor.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let mut elem = self.stack.first().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> src/freelist.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/freelist.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[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/node.rs:608:21
[INFO] [stdout]     |
[INFO] [stdout] 608 |         if let Some(mut p) = parent_node {
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sequence` is never read
[INFO] [stdout]    --> src/bucket.rs:370:16
[INFO] [stdout]     |
[INFO] [stdout] 368 | pub(crate) struct IBucket {
[INFO] [stdout]     |                   ------- field in this struct
[INFO] [stdout] 369 |     pub(crate) root: Pgid,
[INFO] [stdout] 370 |     pub(crate) sequence: u64,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IBucket` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/cursor.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> Item<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn value(&self) -> Option<&'a [u8]> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `last`, `prev`, and `delete` are never used
[INFO] [stdout]    --> src/cursor.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl<'a> Cursor<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn last(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn prev(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 146 |
[INFO] [stdout] 147 |     fn delete(&mut self) {}
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/db.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl DB {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `no_grow_sync`, `read_only`, and `mmap_flags` are never read
[INFO] [stdout]    --> src/db.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct Options {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 219 |     no_grow_sync: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 220 |
[INFO] [stdout] 221 |     read_only: bool,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 222 |
[INFO] [stdout] 223 |     mmap_flags: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/db.rs:271:8
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl DBImpl {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn print(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `root` are never used
[INFO] [stdout]    --> src/node.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl Node {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(crate) fn print(&self, db: &DBImpl) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub(crate) fn root(&self, node: Node) -> Node {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaSize` is never used
[INFO] [stdout]   --> src/page.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PageFlag` is never used
[INFO] [stdout]   --> src/page.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) type PageFlag = u16;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `magic` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 10 - pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout] 10 + pub(crate) const MAGIC: u32 = 0xED0CDAED;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `version` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) const version: u32 = 2;
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 - pub(crate) const version: u32 = 2;
[INFO] [stdout] 11 + pub(crate) const VERSION: u32 = 2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketHeaderSize` should have an upper case name
[INFO] [stdout]   --> src/bucket.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout] 14 + pub(crate) const BUCKET_HEADER_SIZE: usize = size_of::<IBucket>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bucket.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor {
[INFO] [stdout]     |               ^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/db.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         drop(self.mmap.as_deref());
[INFO] [stdout]     |         ^^^^^--------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `Option<&[u8]>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 167 -         drop(self.mmap.as_deref());
[INFO] [stdout] 167 +         let _ = self.mmap.as_deref();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaA` should have a snake case name
[INFO] [stdout]    --> src/db.rs:188:21
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let mut metaA = self.meta0;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaB` should have a snake case name
[INFO] [stdout]    --> src/db.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut metaB = self.meta1;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout]    |                  ^^^^^^^^ help: convert the identifier to upper case: `META_SIZE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout] 14 + pub(crate) const LEAF_PAGE_ELEMENT_SIZE: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 - pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout] 16 + pub(crate) const BRANCH_PAGE_ELEMENT_SIZE: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout] 22 + pub(crate) const BRANCH_PAGE_FLAG: u16 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout] 23 + pub(crate) const LEAF_PAGE_FLAG: u16 = 0x02;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout] 24 + pub(crate) const META_PAGE_FLAG: u16 = 0x04;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nikidb v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `FreeListPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 25 - pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout] 25 + pub(crate) const FREE_LIST_PAGE_FLAG: u16 = 0x10;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketLeafFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 27 - pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout] 27 + pub(crate) const BUCKET_LEAF_FLAG: u32 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dbImpl` should have a snake case name
[INFO] [stdout]    --> src/tx.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     dbImpl: Arc<DBImpl>,
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `db_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/cursor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:230:30
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -                     Ok(v) => (v),
[INFO] [stdout] 230 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 231 -                     Err(e) => (e),
[INFO] [stdout] 231 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     Ok(v) => (v),
[INFO] [stdout]     |                              ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -                     Ok(v) => (v),
[INFO] [stdout] 238 +                     Ok(v) => v,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/cursor.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |                     Err(e) => (e),
[INFO] [stdout]     |                               ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 239 -                     Err(e) => (e),
[INFO] [stdout] 239 +                     Err(e) => e,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/db.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 424 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]    --> src/node.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |     use std::ptr::null_mut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NKError`
[INFO] [stdout]  --> src/tx.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::error::{NKError, NKResult};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Page`
[INFO] [stdout]  --> src/tx.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::page::{Meta, OwnerPage, Page, Pgid};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/tx.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, RwLock, Weak};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bucket.rs:357:17
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let mut root = n.clone();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/cursor.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut _index: usize = 0;
[INFO] [stdout]     |                     +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_KEY_PERPAGE`
[INFO] [stdout]     |
[INFO] [stdout] 122 -             let mut index: usize = 0;
[INFO] [stdout] 122 +             let mut page::MIN_KEY_PERPAGE: usize = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cursor.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut index: usize = 0;
[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/cursor.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let mut elem = self.stack.first().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tx` is assigned to, but never used
[INFO] [stdout]    --> src/db.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |         let mut tx = unsafe { (&*(db.0.mmap.try_read().unwrap().meta0)).txid };
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_tx` instead
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_MMAP_STEP`
[INFO] [stdout]     |
[INFO] [stdout] 429 -         let mut tx = unsafe { (&*(db.0.mmap.try_read().unwrap().meta0)).txid };
[INFO] [stdout] 429 +         let mut db::MAX_MMAP_STEP = unsafe { (&*(db.0.mmap.try_read().unwrap().meta0)).txid };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tx` is never read
[INFO] [stdout]    --> src/db.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |         tx = unsafe { (&*(db.0.mmap.try_read().unwrap().meta0)).txid };
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/db.rs:451:21
[INFO] [stdout]     |
[INFO] [stdout] 451 |                 Err(e) => panic!("create bucket error"),
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db.rs:475:13
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let mut db = DBImpl::open("./test.db", DEFAULT_OPTIONS).unwrap();
[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/db.rs:498:13
[INFO] [stdout]     |
[INFO] [stdout] 498 |         let mut db = DBImpl::open("./test.db", DEFAULT_OPTIONS).unwrap();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> src/freelist.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/freelist.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut m: Vec<Pgid> = Vec::with_capacity(self.pending_count());
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pgid`
[INFO] [stdout]    --> src/freelist.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let pgid = freelist.allocate(1);
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let _pgid = freelist.allocate(1);
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_MMAP_STEP`
[INFO] [stdout]     |
[INFO] [stdout] 225 -         let pgid = freelist.allocate(1);
[INFO] [stdout] 225 +         let db::MAX_MMAP_STEP = freelist.allocate(1);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `freelist`
[INFO] [stdout]    --> src/freelist.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut freelist = FreeList {
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_freelist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/freelist.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut freelist = FreeList {
[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/freelist.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let mut freelist = FreeList {
[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/node.rs:608:21
[INFO] [stdout]     |
[INFO] [stdout] 608 |         if let Some(mut p) = parent_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/node.rs:643:13
[INFO] [stdout]     |
[INFO] [stdout] 643 |         let mut node1 = NodeImpl::new().leaf(true).build();
[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/page.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |         let mut v = a.leaf_page_elements_mut();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sequence` is never read
[INFO] [stdout]    --> src/bucket.rs:370:16
[INFO] [stdout]     |
[INFO] [stdout] 368 | pub(crate) struct IBucket {
[INFO] [stdout]     |                   ------- field in this struct
[INFO] [stdout] 369 |     pub(crate) root: Pgid,
[INFO] [stdout] 370 |     pub(crate) sequence: u64,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IBucket` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/cursor.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> Item<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn value(&self) -> Option<&'a [u8]> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `last`, `prev`, and `delete` are never used
[INFO] [stdout]    --> src/cursor.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl<'a> Cursor<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn last(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn prev(&mut self) {}
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 146 |
[INFO] [stdout] 147 |     fn delete(&mut self) {}
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `no_grow_sync`, `read_only`, and `mmap_flags` are never read
[INFO] [stdout]    --> src/db.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct Options {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 219 |     no_grow_sync: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 220 |
[INFO] [stdout] 221 |     read_only: bool,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 222 |
[INFO] [stdout] 223 |     mmap_flags: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `root` is never used
[INFO] [stdout]    --> src/node.rs:270:19
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl Node {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub(crate) fn root(&self, node: Node) -> Node {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PageFlag` is never used
[INFO] [stdout]   --> src/page.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) type PageFlag = u16;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `magic` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 10 - pub(crate) const magic: u32 = 0xED0CDAED;
[INFO] [stdout] 10 + pub(crate) const MAGIC: u32 = 0xED0CDAED;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `version` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) const version: u32 = 2;
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 - pub(crate) const version: u32 = 2;
[INFO] [stdout] 11 + pub(crate) const VERSION: u32 = 2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketHeaderSize` should have an upper case name
[INFO] [stdout]   --> src/bucket.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const BucketHeaderSize: usize = size_of::<IBucket>();
[INFO] [stdout] 14 + pub(crate) const BUCKET_HEADER_SIZE: usize = size_of::<IBucket>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bucket.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor {
[INFO] [stdout]     |               ^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn cursor(&mut self) -> Cursor<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/db.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         drop(self.mmap.as_deref());
[INFO] [stdout]     |         ^^^^^--------------------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `Option<&[u8]>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 167 -         drop(self.mmap.as_deref());
[INFO] [stdout] 167 +         let _ = self.mmap.as_deref();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaA` should have a snake case name
[INFO] [stdout]    --> src/db.rs:188:21
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let mut metaA = self.meta0;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `metaB` should have a snake case name
[INFO] [stdout]    --> src/db.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let mut metaB = self.meta1;
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `meta_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:478:9
[INFO] [stdout]     |
[INFO] [stdout] 478 |         tx1.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 478 |         let _ = tx1.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:482:9
[INFO] [stdout]     |
[INFO] [stdout] 482 |         b.put(b"001", b"aaa");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let _ = b.put(b"001", b"aaa");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:483:9
[INFO] [stdout]     |
[INFO] [stdout] 483 |         b.put(b"002", b"bbb");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 483 |         let _ = b.put(b"002", b"bbb");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         b.put(b"003", b"ccc");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let _ = b.put(b"003", b"ccc");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:485:9
[INFO] [stdout]     |
[INFO] [stdout] 485 |         b.put(b"004", b"ddd");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 485 |         let _ = b.put(b"004", b"ddd");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:486:9
[INFO] [stdout]     |
[INFO] [stdout] 486 |         tx2.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 486 |         let _ = tx2.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:491:9
[INFO] [stdout]     |
[INFO] [stdout] 491 |         b.delete(b"001");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 491 |         let _ = b.delete(b"001");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 492 |         tx3.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 492 |         let _ = tx3.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub(crate) const MetaSize: usize = size_of::<Meta>();
[INFO] [stdout] 12 + pub(crate) const META_SIZE: usize = size_of::<Meta>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub(crate) const LeafPageElementSize: usize = size_of::<LeafPageElement>();
[INFO] [stdout] 14 + pub(crate) const LEAF_PAGE_ELEMENT_SIZE: usize = size_of::<LeafPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageElementSize` should have an upper case name
[INFO] [stdout]   --> src/page.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 - pub(crate) const BranchPageElementSize: usize = size_of::<BranchPageElement>();
[INFO] [stdout] 16 + pub(crate) const BRANCH_PAGE_ELEMENT_SIZE: usize = size_of::<BranchPageElement>();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BranchPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 22 - pub(crate) const BranchPageFlag: u16 = 0x01;
[INFO] [stdout] 22 + pub(crate) const BRANCH_PAGE_FLAG: u16 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LeafPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub(crate) const LeafPageFlag: u16 = 0x02;
[INFO] [stdout] 23 + pub(crate) const LEAF_PAGE_FLAG: u16 = 0x02;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MetaPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub(crate) const MetaPageFlag: u16 = 0x04;
[INFO] [stdout] 24 + pub(crate) const META_PAGE_FLAG: u16 = 0x04;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FreeListPageFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 25 - pub(crate) const FreeListPageFlag: u16 = 0x10;
[INFO] [stdout] 25 + pub(crate) const FREE_LIST_PAGE_FLAG: u16 = 0x10;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BucketLeafFlag` should have an upper case name
[INFO] [stdout]   --> src/page.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 27 - pub(crate) const BucketLeafFlag: u32 = 0x01;
[INFO] [stdout] 27 + pub(crate) const BUCKET_LEAF_FLAG: u32 = 0x01;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `dbImpl` should have a snake case name
[INFO] [stdout]    --> src/tx.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     dbImpl: Arc<DBImpl>,
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `db_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "abc67da97c10a8ce459d5974c90ad49fa86f4c9d3500062e5ab23e95edf13ca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abc67da97c10a8ce459d5974c90ad49fa86f4c9d3500062e5ab23e95edf13ca9", kill_on_drop: false }`
[INFO] [stdout] abc67da97c10a8ce459d5974c90ad49fa86f4c9d3500062e5ab23e95edf13ca9
