[INFO] fetching crate bbolt-rs 1.3.10... [INFO] checking bbolt-rs-1.3.10 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bbolt-rs 1.3.10 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate bbolt-rs 1.3.10 [INFO] finished tweaking crates.io crate bbolt-rs 1.3.10 [INFO] tweaked toml for crates.io crate bbolt-rs 1.3.10 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bbolt-rs 1.3.10 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bbolt-rs 1.3.10 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc7ade2058ce2f276354ce4e1dc4caa191d36bc49a2424f33c5daa5a76ee1c6f [INFO] running `Command { std: "docker" "start" "-a" "dc7ade2058ce2f276354ce4e1dc4caa191d36bc49a2424f33c5daa5a76ee1c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc7ade2058ce2f276354ce4e1dc4caa191d36bc49a2424f33c5daa5a76ee1c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7ade2058ce2f276354ce4e1dc4caa191d36bc49a2424f33c5daa5a76ee1c6f", kill_on_drop: false }` [INFO] [stdout] dc7ade2058ce2f276354ce4e1dc4caa191d36bc49a2424f33c5daa5a76ee1c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3953f9d2419e060106498ad6980e178860a5d587ecedd8095d8b88bd67901eb3 [INFO] running `Command { std: "docker" "start" "-a" "3953f9d2419e060106498ad6980e178860a5d587ecedd8095d8b88bd67901eb3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling bbolt-rs v1.3.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking size v0.4.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking monotonic-timer v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling fnv_rs v0.4.3 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking aligners v0.0.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking fs4 v0.9.1 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling typed-builder-macro v0.20.0 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking typed-builder v0.20.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dummy v0.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking fake v2.10.0 [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/common/inode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::rev` [INFO] [stdout] --> src/iter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::rev; [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] [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: unused imports: `BoltOptionsBuilder` and `Bolt` [INFO] [stdout] --> src/bucket.rs:1821:5 [INFO] [stdout] | [INFO] [stdout] 1821 | Bolt, BoltOptionsBuilder, BucketApi, BucketRwApi, CursorApi, DbApi, DbRwAPI, Error, TxApi, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fake` and `Faker` [INFO] [stdout] --> src/bucket.rs:1825:14 [INFO] [stdout] | [INFO] [stdout] 1825 | use fake::{Fake, Faker}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bucket.rs:1827:7 [INFO] [stdout] | [INFO] [stdout] 1827 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/bucket.rs:1828:17 [INFO] [stdout] | [INFO] [stdout] 1828 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/bucket.rs:1829:17 [INFO] [stdout] | [INFO] [stdout] 1829 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/bucket.rs:1830:7 [INFO] [stdout] | [INFO] [stdout] 1830 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/common/inode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/db.rs:2103:7 [INFO] [stdout] | [INFO] [stdout] 2103 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db.rs:2104:7 [INFO] [stdout] | [INFO] [stdout] 2104 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketApi`, `BucketRwApi`, `CursorApi`, `Error`, and `TxRwApi` [INFO] [stdout] --> src/test_support.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | Bolt, BoltOptions, BucketApi, BucketRwApi, CursorApi, DbApi, Error, TxApi, TxRwApi, TxRwRefApi, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fake::faker::lorem::en::Sentence` [INFO] [stdout] --> src/test_support.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fake::faker::lorem::en::Sentence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fake::locales::EN` [INFO] [stdout] --> src/test_support.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use fake::locales::EN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/test_support.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::rev` [INFO] [stdout] --> src/iter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::rev; [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:2343:7 [INFO] [stdout] | [INFO] [stdout] 2343 | 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:2352:7 [INFO] [stdout] | [INFO] [stdout] 2352 | 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:2467:38 [INFO] [stdout] | [INFO] [stdout] 2467 | 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: field `0` is never read [INFO] [stdout] --> src/bucket.rs:876:8 [INFO] [stdout] | [INFO] [stdout] 876 | struct InlineBucket { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/bucket.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | / /// A convenience struct representing an inline page header [INFO] [stdout] 874 | | #[repr(C)] [INFO] [stdout] 875 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 876 | | struct InlineBucket { [INFO] [stdout] 877 | | header: BucketHeader, [INFO] [stdout] 878 | | page: PageHeader, [INFO] [stdout] 879 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/bucket.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// `BucketHeader` represents the on-file layout of a bucket header. [INFO] [stdout] 9 | | /// This is stored as the "value" of a bucket key. If the bucket is small enough, [INFO] [stdout] 10 | | /// then its root page can be stored inline in the "value", after the bucket [INFO] [stdout] 11 | | /// header. In the case of inline buckets, the "root" will be 0. [INFO] [stdout] ... | [INFO] [stdout] 21 | | sequence: u64, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/bucket.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BucketHeader { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/mod.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / /// `PageHeader` represents the on-file layout of a page header. [INFO] [stdout] 153 | | /// [INFO] [stdout] 154 | | /// `page` in Go BBolt [INFO] [stdout] 155 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 166 | | pub overflow: u32, [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_branch`, `set_leaf`, and `set_free_list` are never used [INFO] [stdout] --> src/common/page/mod.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 189 | impl PageHeader { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 190 | #[inline] [INFO] [stdout] 191 | pub fn set_branch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_leaf(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn set_free_list(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `init` are never used [INFO] [stdout] --> src/common/page/freelist.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 25 | impl MappedFreeListPage { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 26 | pub unsafe fn new(bytes: *mut u8) -> MappedFreeListPage { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn init(bytes: *mut u8) -> MappedFreeListPage { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/meta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Meta { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/meta.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / /// `Meta` represents the on-file layout of a database's metadata [INFO] [stdout] 18 | | /// [INFO] [stdout] 19 | | /// `meta` in Go BBolt [INFO] [stdout] 20 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 40 | | checksum: u64, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/meta.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct MetaPage { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/meta.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / #[repr(C)] [INFO] [stdout] 91 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 92 | | pub struct MetaPage { [INFO] [stdout] 93 | | pub page: PageHeader, [INFO] [stdout] 94 | | pub meta: Meta, [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/page/tree/branch.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 23 | impl MappedBranchPage { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 24 | pub unsafe fn new(bytes: *mut u8) -> MappedBranchPage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/tree/branch.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct BranchPageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/tree/branch.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / ///`BranchPageElement` represents the on-file layout of a branch page's element [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// `branchPageElement` in Go BBolt [INFO] [stdout] 62 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 73 | | unsend: PhantomUnsend, [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/page/tree/leaf.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | impl MappedLeafPage { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | pub unsafe fn new(bytes: *mut u8) -> MappedLeafPage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/tree/leaf.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct LeafPageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/tree/leaf.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// `LeafPageElement` represents the on-file layout of a leaf page's element [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// `leafPageElement` in Go BBolt [INFO] [stdout] 61 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 74 | | unsend: PhantomUnsend, [INFO] [stdout] 75 | | } [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: struct `UnsafeRefCell` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UnsafeRefCell { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/cell/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl UnsafeRefCell { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub const fn new(value: T) -> UnsafeRefCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `borrow` and `borrow_mut` are never used [INFO] [stdout] --> src/common/cell/mod.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl UnsafeRefCell { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn borrow(&self) -> UnsafeRef<'_, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn borrow_mut(&self) -> UnsafeRefMut<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsafeRef` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct UnsafeRef<'b, T: ?Sized> { [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: struct `UnsafeRefMut` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct UnsafeRefMut<'b, T: ?Sized> { [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: field `0` is never read [INFO] [stdout] --> src/common/ids.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | PgId [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/ids.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | $(#[$meta])* [INFO] [stdout] | _______^ [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | #[derive(Default, Debug, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash, Pod, Zeroable)] [INFO] [stdout] 15 | | pub struct $x(pub u64); [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 78 | / id!( [INFO] [stdout] 79 | | /// The Page ID. Page address = `PgId` * page_size [INFO] [stdout] 80 | | PgId [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id` (in Nightly builds, run with -Z macro-backtrace for more info) [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: field `0` is never read [INFO] [stdout] --> src/common/ids.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | TxId [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/ids.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | $(#[$meta])* [INFO] [stdout] | _______^ [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | #[derive(Default, Debug, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash, Pod, Zeroable)] [INFO] [stdout] 15 | | pub struct $x(pub u64); [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 88 | / id!( [INFO] [stdout] 89 | | /// The Transaction ID. Monotonic and incremented every commit [INFO] [stdout] 90 | | TxId [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id` (in Nightly builds, run with -Z macro-backtrace for more info) [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1081:14 [INFO] [stdout] | [INFO] [stdout] 1081 | fn split_r(&self) -> Ref> { [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] 1081 | fn split_r(&self) -> Ref<'_, BucketR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1085:16 [INFO] [stdout] | [INFO] [stdout] 1085 | fn split_ref(&self) -> (Ref>, Ref>>) { [INFO] [stdout] | ^^^^^ ----------------- ------------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1085 | fn split_ref(&self) -> (Ref<'_, BucketR<'tx>>, Ref<'_, Option>>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1090:15 [INFO] [stdout] | [INFO] [stdout] 1090 | fn split_ow(&self) -> Ref>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1090 | fn split_ow(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1098:18 [INFO] [stdout] | [INFO] [stdout] 1098 | fn split_r_mut(&self) -> RefMut> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1098 | fn split_r_mut(&self) -> RefMut<'_, BucketR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1102:19 [INFO] [stdout] | [INFO] [stdout] 1102 | fn split_ow_mut(&self) -> RefMut>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1102 | fn split_ow_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | fn split_r(&self) -> cell::Ref; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn split_r(&self) -> cell::Ref<'_, R>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn split_ref(&self) -> (cell::Ref, cell::Ref>); [INFO] [stdout] | ^^^^^ ------------ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn split_ref(&self) -> (cell::Ref<'_, R>, cell::Ref<'_, Option>); [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | fn split_ow(&self) -> cell::Ref>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn split_ow(&self) -> cell::Ref<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn split_r_mut(&self) -> cell::RefMut; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn split_r_mut(&self) -> cell::RefMut<'_, R>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn split_ow_mut(&self) -> cell::RefMut>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn split_ow_mut(&self) -> cell::RefMut<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/lock.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_mut(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/refstack.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn push(&self, value: T) -> RefStack { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn push(&self, value: T) -> RefStack<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn begin(&self) -> crate::Result; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn begin(&self) -> crate::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | fn begin_rw(&mut self) -> crate::Result; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | fn begin_rw(&mut self) -> crate::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | fn freelist(&self) -> MutexGuard; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 546 | fn freelist(&self) -> MutexGuard<'_, Freelist>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:588:15 [INFO] [stdout] | [INFO] [stdout] 588 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 588 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:670:15 [INFO] [stdout] | [INFO] [stdout] 670 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:967:15 [INFO] [stdout] | [INFO] [stdout] 967 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 967 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1907:26 [INFO] [stdout] | [INFO] [stdout] 1907 | pub(crate) fn begin_tx(&self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1907 | pub(crate) fn begin_tx(&self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1948:29 [INFO] [stdout] | [INFO] [stdout] 1948 | pub(crate) fn begin_rw_tx(&mut self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1948 | pub(crate) fn begin_rw_tx(&mut self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1983:12 [INFO] [stdout] | [INFO] [stdout] 1983 | fn begin(&self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1983 | fn begin(&self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:2042:15 [INFO] [stdout] | [INFO] [stdout] 2042 | fn begin_rw(&mut self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2042 | fn begin_rw(&mut self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:876:14 [INFO] [stdout] | [INFO] [stdout] 876 | fn split_r(&self) -> Ref> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 876 | fn split_r(&self) -> Ref<'_, TxR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:880:16 [INFO] [stdout] | [INFO] [stdout] 880 | fn split_ref(&self) -> (Ref>, Ref>>) { [INFO] [stdout] | ^^^^^ ------------- --------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 880 | fn split_ref(&self) -> (Ref<'_, TxR<'tx>>, Ref<'_, Option>>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:885:15 [INFO] [stdout] | [INFO] [stdout] 885 | fn split_ow(&self) -> Ref>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 885 | fn split_ow(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:894:18 [INFO] [stdout] | [INFO] [stdout] 894 | fn split_r_mut(&self) -> RefMut> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 894 | fn split_r_mut(&self) -> RefMut<'_, TxR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:898:19 [INFO] [stdout] | [INFO] [stdout] 898 | fn split_ow_mut(&self) -> RefMut>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 898 | fn split_ow_mut(&self) -> RefMut<'_, Option>> { [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: unused variable: `i` [INFO] [stdout] --> src/bucket.rs:2918:12 [INFO] [stdout] | [INFO] [stdout] 2918 | for (i, entry) in d.values.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/iter.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | 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] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/iter.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | 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: field `0` is never read [INFO] [stdout] --> src/bucket.rs:876:8 [INFO] [stdout] | [INFO] [stdout] 876 | struct InlineBucket { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/bucket.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | / /// A convenience struct representing an inline page header [INFO] [stdout] 874 | | #[repr(C)] [INFO] [stdout] 875 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 876 | | struct InlineBucket { [INFO] [stdout] 877 | | header: BucketHeader, [INFO] [stdout] 878 | | page: PageHeader, [INFO] [stdout] 879 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/bucket.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// `BucketHeader` represents the on-file layout of a bucket header. [INFO] [stdout] 9 | | /// This is stored as the "value" of a bucket key. If the bucket is small enough, [INFO] [stdout] 10 | | /// then its root page can be stored inline in the "value", after the bucket [INFO] [stdout] 11 | | /// header. In the case of inline buckets, the "root" will be 0. [INFO] [stdout] ... | [INFO] [stdout] 21 | | sequence: u64, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/bucket.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BucketHeader { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/mod.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / /// `PageHeader` represents the on-file layout of a page header. [INFO] [stdout] 153 | | /// [INFO] [stdout] 154 | | /// `page` in Go BBolt [INFO] [stdout] 155 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 166 | | pub overflow: u32, [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ [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: field `0` is never read [INFO] [stdout] --> src/common/page/meta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Meta { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/meta.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / /// `Meta` represents the on-file layout of a database's metadata [INFO] [stdout] 18 | | /// [INFO] [stdout] 19 | | /// `meta` in Go BBolt [INFO] [stdout] 20 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 40 | | checksum: u64, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/meta.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct MetaPage { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/meta.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / #[repr(C)] [INFO] [stdout] 91 | | #[derive(Copy, Clone, Pod, Zeroable)] [INFO] [stdout] 92 | | pub struct MetaPage { [INFO] [stdout] 93 | | pub page: PageHeader, [INFO] [stdout] 94 | | pub meta: Meta, [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/tree/branch.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct BranchPageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/tree/branch.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / ///`BranchPageElement` represents the on-file layout of a branch page's element [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// `branchPageElement` in Go BBolt [INFO] [stdout] 62 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 73 | | unsend: PhantomUnsend, [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/page/tree/leaf.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct LeafPageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/page/tree/leaf.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// `LeafPageElement` represents the on-file layout of a leaf page's element [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// `leafPageElement` in Go BBolt [INFO] [stdout] 61 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 74 | | unsend: PhantomUnsend, [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsafeRefCell` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UnsafeRefCell { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/cell/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl UnsafeRefCell { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub const fn new(value: T) -> UnsafeRefCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `borrow` and `borrow_mut` are never used [INFO] [stdout] --> src/common/cell/mod.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl UnsafeRefCell { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn borrow(&self) -> UnsafeRef<'_, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn borrow_mut(&self) -> UnsafeRefMut<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsafeRef` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct UnsafeRef<'b, T: ?Sized> { [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: struct `UnsafeRefMut` is never constructed [INFO] [stdout] --> src/common/cell/mod.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct UnsafeRefMut<'b, T: ?Sized> { [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: field `0` is never read [INFO] [stdout] --> src/common/ids.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | PgId [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/ids.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | $(#[$meta])* [INFO] [stdout] | _______^ [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | #[derive(Default, Debug, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash, Pod, Zeroable)] [INFO] [stdout] 15 | | pub struct $x(pub u64); [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 78 | / id!( [INFO] [stdout] 79 | | /// The Page ID. Page address = `PgId` * page_size [INFO] [stdout] 80 | | PgId [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/ids.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | TxId [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/ids.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | $(#[$meta])* [INFO] [stdout] | _______^ [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | #[derive(Default, Debug, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash, Pod, Zeroable)] [INFO] [stdout] 15 | | pub struct $x(pub u64); [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 88 | / id!( [INFO] [stdout] 89 | | /// The Transaction ID. Monotonic and incremented every commit [INFO] [stdout] 90 | | TxId [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id` (in Nightly builds, run with -Z macro-backtrace for more info) [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:130:17 [INFO] [stdout] | [INFO] [stdout] 55 | impl TestDb { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1081:14 [INFO] [stdout] | [INFO] [stdout] 1081 | fn split_r(&self) -> Ref> { [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] 1081 | fn split_r(&self) -> Ref<'_, BucketR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1085:16 [INFO] [stdout] | [INFO] [stdout] 1085 | fn split_ref(&self) -> (Ref>, Ref>>) { [INFO] [stdout] | ^^^^^ ----------------- ------------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1085 | fn split_ref(&self) -> (Ref<'_, BucketR<'tx>>, Ref<'_, Option>>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1090:15 [INFO] [stdout] | [INFO] [stdout] 1090 | fn split_ow(&self) -> Ref>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1090 | fn split_ow(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1098:18 [INFO] [stdout] | [INFO] [stdout] 1098 | fn split_r_mut(&self) -> RefMut> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1098 | fn split_r_mut(&self) -> RefMut<'_, BucketR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:1102:19 [INFO] [stdout] | [INFO] [stdout] 1102 | fn split_ow_mut(&self) -> RefMut>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1102 | fn split_ow_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | fn split_r(&self) -> cell::Ref; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn split_r(&self) -> cell::Ref<'_, R>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn split_ref(&self) -> (cell::Ref, cell::Ref>); [INFO] [stdout] | ^^^^^ ------------ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn split_ref(&self) -> (cell::Ref<'_, R>, cell::Ref<'_, Option>); [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | fn split_ow(&self) -> cell::Ref>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn split_ow(&self) -> cell::Ref<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn split_r_mut(&self) -> cell::RefMut; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn split_r_mut(&self) -> cell::RefMut<'_, R>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn split_ow_mut(&self) -> cell::RefMut>; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn split_ow_mut(&self) -> cell::RefMut<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/lock.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_mut(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/refstack.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn push(&self, value: T) -> RefStack { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn push(&self, value: T) -> RefStack<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn begin(&self) -> crate::Result; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn begin(&self) -> crate::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | fn begin_rw(&mut self) -> crate::Result; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | fn begin_rw(&mut self) -> crate::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | fn freelist(&self) -> MutexGuard; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 546 | fn freelist(&self) -> MutexGuard<'_, Freelist>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:588:15 [INFO] [stdout] | [INFO] [stdout] 588 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 588 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:670:15 [INFO] [stdout] | [INFO] [stdout] 670 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:967:15 [INFO] [stdout] | [INFO] [stdout] 967 | fn freelist(&self) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 967 | fn freelist(&self) -> MutexGuard<'_, Freelist> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1907:26 [INFO] [stdout] | [INFO] [stdout] 1907 | pub(crate) fn begin_tx(&self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1907 | pub(crate) fn begin_tx(&self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1948:29 [INFO] [stdout] | [INFO] [stdout] 1948 | pub(crate) fn begin_rw_tx(&mut self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1948 | pub(crate) fn begin_rw_tx(&mut self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:1983:12 [INFO] [stdout] | [INFO] [stdout] 1983 | fn begin(&self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1983 | fn begin(&self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:2042:15 [INFO] [stdout] | [INFO] [stdout] 2042 | fn begin_rw(&mut self) -> crate::Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2042 | fn begin_rw(&mut self) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test_support.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn begin_unseal(&self) -> crate::Result { [INFO] [stdout] | ^^^^^ --------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn begin_unseal(&self) -> crate::Result + UnsealTx<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/test_support.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn begin_rw_unseal(&mut self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^ ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn begin_rw_unseal(&mut self) -> crate::Result + UnsealRwTx<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:876:14 [INFO] [stdout] | [INFO] [stdout] 876 | fn split_r(&self) -> Ref> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 876 | fn split_r(&self) -> Ref<'_, TxR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:880:16 [INFO] [stdout] | [INFO] [stdout] 880 | fn split_ref(&self) -> (Ref>, Ref>>) { [INFO] [stdout] | ^^^^^ ------------- --------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 880 | fn split_ref(&self) -> (Ref<'_, TxR<'tx>>, Ref<'_, Option>>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:885:15 [INFO] [stdout] | [INFO] [stdout] 885 | fn split_ow(&self) -> Ref>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 885 | fn split_ow(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:894:18 [INFO] [stdout] | [INFO] [stdout] 894 | fn split_r_mut(&self) -> RefMut> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 894 | fn split_r_mut(&self) -> RefMut<'_, TxR<'tx>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tx.rs:898:19 [INFO] [stdout] | [INFO] [stdout] 898 | fn split_ow_mut(&self) -> RefMut>> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 898 | fn split_ow_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.21s [INFO] running `Command { std: "docker" "inspect" "3953f9d2419e060106498ad6980e178860a5d587ecedd8095d8b88bd67901eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3953f9d2419e060106498ad6980e178860a5d587ecedd8095d8b88bd67901eb3", kill_on_drop: false }` [INFO] [stdout] 3953f9d2419e060106498ad6980e178860a5d587ecedd8095d8b88bd67901eb3