[INFO] fetching crate bbolt-rs 1.3.9... [INFO] checking bbolt-rs-1.3.9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate bbolt-rs 1.3.9 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate bbolt-rs 1.3.9 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bbolt-rs 1.3.9 [INFO] finished tweaking crates.io crate bbolt-rs 1.3.9 [INFO] tweaked toml for crates.io crate bbolt-rs 1.3.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate bbolt-rs 1.3.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs4 v0.8.3 [INFO] [stderr] Downloaded bytemuck_derive v1.6.1 [INFO] [stderr] Downloaded monotonic-timer v1.0.0 [INFO] [stderr] Downloaded size v0.4.1 [INFO] [stderr] Downloaded aligners v0.0.10 [INFO] [stderr] Downloaded fnv_rs v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23561dd5ac2c593edae009bc493f4409fdaaa29f6e37950310484a43f0aa9bbf [INFO] running `Command { std: "docker" "start" "-a" "23561dd5ac2c593edae009bc493f4409fdaaa29f6e37950310484a43f0aa9bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23561dd5ac2c593edae009bc493f4409fdaaa29f6e37950310484a43f0aa9bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23561dd5ac2c593edae009bc493f4409fdaaa29f6e37950310484a43f0aa9bbf", kill_on_drop: false }` [INFO] [stdout] 23561dd5ac2c593edae009bc493f4409fdaaa29f6e37950310484a43f0aa9bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405c21238cdc65f0a11d1729115f7919a5689ce5d131e5fa529aa732189257aa [INFO] running `Command { std: "docker" "start" "-a" "405c21238cdc65f0a11d1729115f7919a5689ce5d131e5fa529aa732189257aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling bbolt-rs v1.3.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking size v0.4.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking monotonic-timer v1.0.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling fnv_rs v0.4.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking aligners v0.0.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking fs4 v0.8.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling bytemuck_derive v1.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `openbsd` [INFO] [stdout] --> src/common/defaults.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub const IGNORE_NO_SYNC: bool = cfg!(openbsd); [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "openbsd"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `mlock_supported`, `mmap_advise_supported`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `timeout_supported`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(openbsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(openbsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MappedMetaPage` and `MetaPage` [INFO] [stdout] --> src/util.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::page::meta::{MappedMetaPage, MetaPage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoerciblePage` and `MutPage` [INFO] [stdout] --> src/util.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::page::{CoerciblePage, MutPage}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::SplitRef` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::SplitRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxCell` [INFO] [stdout] --> src/util.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tx::{TxCell, TxIApi}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgId` [INFO] [stdout] --> src/util.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Bolt, BucketRwApi, DbApi, DbPath, PgId, TxRwApi, TxRwRefApi}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlignedBytes` and `alignment` [INFO] [stdout] --> src/util.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use aligners::{alignment, AlignedBytes}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/util.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `long_tests` [INFO] [stdout] --> src/bucket.rs:2003:24 [INFO] [stdout] | [INFO] [stdout] 2003 | #[cfg(all(not(miri), feature = "long_tests"))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"long-tests"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `allgasnobrakes`, `compat`, `long-tests`, `strict`, `test-mem-backend`, and `try-begin` [INFO] [stdout] = help: consider adding `long_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `openbsd` [INFO] [stdout] --> src/common/defaults.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub const IGNORE_NO_SYNC: bool = cfg!(openbsd); [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_os = "openbsd"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `mlock_supported`, `mmap_advise_supported`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `timeout_supported`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(openbsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(openbsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/common/pool.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/db.rs:2098:7 [INFO] [stdout] | [INFO] [stdout] 2098 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db.rs:2099:7 [INFO] [stdout] | [INFO] [stdout] 2099 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaPage` [INFO] [stdout] --> src/util.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::page::meta::{MappedMetaPage, MetaPage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bucket::BucketApi::for_each`: please use `iter_*` methods instead [INFO] [stdout] --> src/bucket.rs:2314:7 [INFO] [stdout] | [INFO] [stdout] 2314 | b.for_each(|k, v| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bucket::BucketApi::for_each_bucket`: please use `iter_*` methods instead [INFO] [stdout] --> src/bucket.rs:2323:7 [INFO] [stdout] | [INFO] [stdout] 2323 | b.for_each_bucket(|k| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bucket::BucketApi::for_each`: please use `iter_*` methods instead [INFO] [stdout] --> src/bucket.rs:2438:38 [INFO] [stdout] | [INFO] [stdout] 2438 | tx.bucket(b"widgets").unwrap().for_each(|k, _| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/tx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tx::TxApi::for_each`: please use `iter_*` methods instead [INFO] [stdout] --> src/tx.rs:2315:10 [INFO] [stdout] | [INFO] [stdout] 2315 | tx.for_each(|_, _| Ok(()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tx::TxApi::for_each`: please use `iter_*` methods instead [INFO] [stdout] --> src/tx.rs:2327:10 [INFO] [stdout] | [INFO] [stdout] 2327 | tx.for_each(|_, _| Err(Error::Other(anyhow!("marker"))))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/tx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `own` and `coerce_mut` are never used [INFO] [stdout] --> src/common/page/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait CoerciblePage { [INFO] [stdout] | ------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn own(bytes: *mut u8) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn coerce_mut<'a>(mapped_page: &'a mut MutPage<'_>) -> Option<&'a mut Self> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/common/page/freelist.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl MappedFreeListPage { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn init(bytes: *mut u8) -> MappedFreeListPage { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/page/tree/leaf.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 77 | impl LeafPageElement { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 78 | pub(crate) fn new(flags: u32, pos: u32, key_size: u32, value_size: u32) -> LeafPageElement { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `borrow_mut` is never used [INFO] [stdout] --> src/common/cell/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl UnsafeRefCell { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn borrow_mut(&self) -> UnsafeRefMut<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `map` and `map_split` are never used [INFO] [stdout] --> src/common/cell/mod.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'b, T: ?Sized> UnsafeRef<'b, T> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 124 | #[inline] [INFO] [stdout] 125 | pub fn map(orig: UnsafeRef<'b, T>, f: F) -> UnsafeRef<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn map_split( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `map` and `map_split` are never used [INFO] [stdout] --> src/common/cell/mod.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'b, T: ?Sized> UnsafeRefMut<'b, T> { [INFO] [stdout] | --------------------------------------- associated functions in this implementation [INFO] [stdout] 183 | #[inline] [INFO] [stdout] 184 | pub fn map(mut orig: UnsafeRefMut<'b, T>, f: F) -> UnsafeRefMut<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn map_split( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pd` is never used [INFO] [stdout] --> src/common/ids.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) const fn pd(id: u64) -> PgId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/common/pool.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyncPool { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_capacity T + 'static, R: Fn(&mut T) + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pin_default` is never used [INFO] [stdout] --> src/common/pool.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 70 | / impl SyncPool [INFO] [stdout] 71 | | where [INFO] [stdout] 72 | | T: Default, [INFO] [stdout] | |_____________- associated function in this implementation [INFO] [stdout] 73 | { [INFO] [stdout] 74 | pub fn pin_default() -> Arc>>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `detach` is never used [INFO] [stdout] --> src/common/pool.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 103 | impl SyncReusable { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn detach(mut self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `get` are never used [INFO] [stdout] --> src/common/refstack.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a, T> RefStack<'a, T> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sub` is never used [INFO] [stdout] --> src/db.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 353 | impl DbStats { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 409 | pub(crate) fn sub(&self, rhs: &DbStats) -> DbStats { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alloc_size` and `file_size` are never read [INFO] [stdout] --> src/db.rs:597:3 [INFO] [stdout] | [INFO] [stdout] 593 | struct MemBackend { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 597 | alloc_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 598 | /// current on disk file size [INFO] [stdout] 599 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/db.rs:706:3 [INFO] [stdout] | [INFO] [stdout] 705 | pub struct FileBackend { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 706 | path: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invalidate`, `munmap`, `has_synced_free_list`, `mmap_unlock`, `mmap_lock`, and `mmap_relock` are never used [INFO] [stdout] --> src/db.rs:719:6 [INFO] [stdout] | [INFO] [stdout] 718 | impl FileBackend { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 719 | fn invalidate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | fn munmap(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | fn has_synced_free_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn mmap_unlock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | fn mmap_lock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 747 | fn mmap_relock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `timeout` and `no_freelist_sync` are never used [INFO] [stdout] --> src/db.rs:1413:17 [INFO] [stdout] | [INFO] [stdout] 1411 | impl BoltOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 1412 | #[inline] [INFO] [stdout] 1413 | pub(crate) fn timeout(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1427 | pub(crate) fn no_freelist_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db.rs:1582:6 [INFO] [stdout] | [INFO] [stdout] 1581 | impl Batcher { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 1582 | fn new(db: Weak, max_batch_delay: Duration, max_batch_size: u32) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `sub_assign`, and `sub` are never used [INFO] [stdout] --> src/tx.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 512 | impl TxStats { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 636 | pub(crate) fn add(&self, rhs: &TxStats) -> TxStats { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | pub(crate) fn sub_assign(&self, rhs: &TxStats) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | pub(crate) fn sub(&self, rhs: &TxStats) -> TxStats { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `root_bucket_mut` is never used [INFO] [stdout] --> src/tx.rs:819:6 [INFO] [stdout] | [INFO] [stdout] 816 | pub(crate) trait TxRwIApi<'tx>: TxIApi<'tx> + TxICheck<'tx> { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 819 | fn root_bucket_mut(self) -> BucketCell<'tx>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnsealRwTx` is never used [INFO] [stdout] --> src/tx.rs:1843:20 [INFO] [stdout] | [INFO] [stdout] 1843 | pub(crate) trait UnsealRwTx<'tx>: UnsealTx<'tx> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/iter.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | for (k, mut b) in tx.iter_mut_buckets() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/iter.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | for (k, v) in wb.iter_entries() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | let mut f = OpenOptions::new() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/util.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let db_path = cell.split_r().db; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | let mut f = OpenOptions::new() [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: associated function `coerce_mut` is never used [INFO] [stdout] --> src/common/page/mod.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait CoerciblePage { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 79 | fn coerce_mut<'a>(mapped_page: &'a mut MutPage<'_>) -> Option<&'a mut Self> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/common/page/freelist.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl MappedFreeListPage { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn init(bytes: *mut u8) -> MappedFreeListPage { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashset` is never used [INFO] [stdout] --> src/common/page/freelist.rs:554:6 [INFO] [stdout] | [INFO] [stdout] 554 | fn hashset(ids: &[u64]) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `borrow_mut` is never used [INFO] [stdout] --> src/common/cell/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl UnsafeRefCell { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn borrow_mut(&self) -> UnsafeRefMut<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `map` and `map_split` are never used [INFO] [stdout] --> src/common/cell/mod.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'b, T: ?Sized> UnsafeRef<'b, T> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 124 | #[inline] [INFO] [stdout] 125 | pub fn map(orig: UnsafeRef<'b, T>, f: F) -> UnsafeRef<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn map_split( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `map` and `map_split` are never used [INFO] [stdout] --> src/common/cell/mod.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'b, T: ?Sized> UnsafeRefMut<'b, T> { [INFO] [stdout] | --------------------------------------- associated functions in this implementation [INFO] [stdout] 183 | #[inline] [INFO] [stdout] 184 | pub fn map(mut orig: UnsafeRefMut<'b, T>, f: F) -> UnsafeRefMut<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn map_split( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity` and `is_empty` are never used [INFO] [stdout] --> src/common/pool.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyncPool { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_capacity T + 'static, R: Fn(&mut T) + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pin_default` is never used [INFO] [stdout] --> src/common/pool.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 70 | / impl SyncPool [INFO] [stdout] 71 | | where [INFO] [stdout] 72 | | T: Default, [INFO] [stdout] | |_____________- associated function in this implementation [INFO] [stdout] 73 | { [INFO] [stdout] 74 | pub fn pin_default() -> Arc>>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/common/refstack.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a, T> RefStack<'a, T> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alloc_size` and `file_size` are never read [INFO] [stdout] --> src/db.rs:597:3 [INFO] [stdout] | [INFO] [stdout] 593 | struct MemBackend { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 597 | alloc_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 598 | /// current on disk file size [INFO] [stdout] 599 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/db.rs:706:3 [INFO] [stdout] | [INFO] [stdout] 705 | pub struct FileBackend { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 706 | path: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invalidate`, `munmap`, `has_synced_free_list`, `mmap_unlock`, `mmap_lock`, and `mmap_relock` are never used [INFO] [stdout] --> src/db.rs:719:6 [INFO] [stdout] | [INFO] [stdout] 718 | impl FileBackend { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 719 | fn invalidate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | fn munmap(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | fn has_synced_free_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn mmap_unlock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | fn mmap_lock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 747 | fn mmap_relock(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `timeout` and `no_freelist_sync` are never used [INFO] [stdout] --> src/db.rs:1413:17 [INFO] [stdout] | [INFO] [stdout] 1411 | impl BoltOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 1412 | #[inline] [INFO] [stdout] 1413 | pub(crate) fn timeout(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1427 | pub(crate) fn no_freelist_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db.rs:1582:6 [INFO] [stdout] | [INFO] [stdout] 1581 | impl Batcher { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 1582 | fn new(db: Weak, max_batch_delay: Duration, max_batch_size: u32) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_unseal` is never used [INFO] [stdout] --> src/test_support.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 47 | impl TestDb { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) fn begin_unseal(&self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy` is never used [INFO] [stdout] --> src/util.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn copy>(cell: TxCell, path: P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.00s [INFO] running `Command { std: "docker" "inspect" "405c21238cdc65f0a11d1729115f7919a5689ce5d131e5fa529aa732189257aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405c21238cdc65f0a11d1729115f7919a5689ce5d131e5fa529aa732189257aa", kill_on_drop: false }` [INFO] [stdout] 405c21238cdc65f0a11d1729115f7919a5689ce5d131e5fa529aa732189257aa