[INFO] fetching crate yrs 0.23.5... [INFO] checking yrs-0.23.5 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate yrs 0.23.5 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate yrs 0.23.5 [INFO] finished tweaking crates.io crate yrs 0.23.5 [INFO] tweaked toml for crates.io crate yrs 0.23.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yrs 0.23.5 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yrs 0.23.5 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_matches2 v0.1.2 [INFO] [stderr] Downloaded proptest-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc9fcd3974e9bb82057287b8b4b44e4bd2c7ec23f91af4a1e6b5e223cecd2ddc [INFO] running `Command { std: "docker" "start" "-a" "fc9fcd3974e9bb82057287b8b4b44e4bd2c7ec23f91af4a1e6b5e223cecd2ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc9fcd3974e9bb82057287b8b4b44e4bd2c7ec23f91af4a1e6b5e223cecd2ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9fcd3974e9bb82057287b8b4b44e4bd2c7ec23f91af4a1e6b5e223cecd2ddc", kill_on_drop: false }` [INFO] [stdout] fc9fcd3974e9bb82057287b8b4b44e4bd2c7ec23f91af4a1e6b5e223cecd2ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6978f22eb2467c86be22cb3ae8b245ae578f336e45c722d335b93c4e9572d305 [INFO] running `Command { std: "docker" "start" "-a" "6978f22eb2467c86be22cb3ae8b245ae578f336e45c722d335b93c4e9572d305", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking assert_matches2 v0.1.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking yrs v0.23.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `ArrayRef` [INFO] [stdout] --> src/types/mod.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XmlElementRef` and `XmlTextRef` [INFO] [stdout] --> src/types/mod.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> src/block.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let mut left = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/block.rs:730:25 [INFO] [stdout] | [INFO] [stdout] 730 | let ptr = BranchPtr::from(branch); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | if let Some(mut left) = this.left { [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: unused variable: `branch` [INFO] [stdout] --> src/update.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | ItemContent::Type(branch) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clock_end` is never used [INFO] [stdout] --> src/block.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl BlockCell { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn clock_end(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_mut` is never used [INFO] [stdout] --> src/block_store.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ClientBlockList { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `get_block_mut` are never used [INFO] [stdout] --> src/block_store.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl BlockStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/block_store.rs:486:19 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_store.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 491 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 492 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_QUOTE` is never used [INFO] [stdout] --> src/types/mod.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used [INFO] [stdout] --> src/types/mod.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used [INFO] [stdout] --> src/types/mod.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used [INFO] [stdout] --> src/types/mod.rs:222:7 [INFO] [stdout] | [INFO] [stdout] 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used [INFO] [stdout] --> src/types/mod.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used [INFO] [stdout] --> src/types/mod.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blocks` is never used [INFO] [stdout] --> src/update.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl UpdateBlocks { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `last_id` and `into_block` are never used [INFO] [stdout] --> src/update.rs:934:19 [INFO] [stdout] | [INFO] [stdout] 879 | impl BlockCarrier { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 934 | pub(crate) fn last_id(&self) -> ID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 963 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/update.rs:1076:19 [INFO] [stdout] | [INFO] [stdout] 1076 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/update.rs:1082:8 [INFO] [stdout] | [INFO] [stdout] 1081 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 1082 | fn new(update: &'a UpdateBlocks) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `forward`, `backward`, and `values` are never used [INFO] [stdout] --> src/block_iter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BlockIter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn forward(&mut self, txn: &T, len: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn backward(&mut self, txn: &mut T, mut len: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/block_iter.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct Values<'a, 'txn> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_iter.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 527 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> src/branch.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 245 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockIterator` is never used [INFO] [stdout] --> src/iter.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait BlockIterator: TxnIterator + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockSliceIterator` is never used [INFO] [stdout] --> src/iter.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) trait BlockSliceIterator: TxnIterator + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockSlices` is never constructed [INFO] [stdout] --> src/iter.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub(crate) struct BlockSlices(I) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeIter` is never constructed [INFO] [stdout] --> src/iter.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) struct RangeIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `begin` are never used [INFO] [stdout] --> src/iter.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 318 | / impl RangeIter [INFO] [stdout] 319 | | where [INFO] [stdout] 320 | | I: TxnIterator, [INFO] [stdout] | |___________________________________- associated items in this implementation [INFO] [stdout] 321 | { [INFO] [stdout] 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn begin(&mut self, txn: &T, start_offset: &mut u32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RangeIterState` is never used [INFO] [stdout] --> src/iter.rs:439:6 [INFO] [stdout] | [INFO] [stdout] 439 | enum RangeIterState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/iter.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub(crate) struct Values { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/iter.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 455 | impl Values { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 456 | fn new(iter: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/moving.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 410 | impl StickyIndex { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 640 | pub(crate) fn get_item(&self, txn: &T) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> src/slice.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl ItemSlice { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/id_set.rs:595:34 [INFO] [stdout] | [INFO] [stdout] 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 431 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 431 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:436:33 [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | pub(crate) fn read_async(&self) -> Read { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:449:29 [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:454:34 [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn write_async(&self) -> Write { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | fn root_refs(&self) -> RootRefs { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | fn root_refs(&self) -> RootRefs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 179 | fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/mod.rs:1108:17 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn iter(&self) -> EventsIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn iter(&self) -> EventsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/observer.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub type Subscription = Arc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state_vector.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sync/awareness.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | fn transact(&self) -> Transaction; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn transact(&self) -> Transaction<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn transact_mut(&self) -> TransactionMut; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | fn transact_mut(&self) -> TransactionMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn try_transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn try_transact(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn try_transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | fn try_transact_mut(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/serialization.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | black_box(Any::from_json(&roundtrip)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = black_box(Any::from_json(&roundtrip)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/serialization.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | black_box(Any::from_json(&any_json)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 169 | let _ = black_box(Any::from_json(&any_json)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Delete` is never constructed [INFO] [stdout] --> benches/benches.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum ArrayOp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 21 | Insert(u32, Vec), [INFO] [stdout] 22 | Delete(u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b1_6` is never used [INFO] [stdout] --> benches/benches.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn b1_6(rng: &mut R, size: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benches.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | txn1.apply_update(Update::decode_v1(u2.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = txn1.apply_update(Update::decode_v1(u2.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benches.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | txn2.apply_update(Update::decode_v1(u1.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 | let _ = txn2.apply_update(Update::decode_v1(u1.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benches.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 381 | let _ = txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benches.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 428 | let _ = txn.apply_update(Update::decode_v1(update.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benches.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | txn.apply_update(Update::decode_v1(buf.as_slice()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 469 | let _ = txn.apply_update(Update::decode_v1(buf.as_slice()).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayRef` [INFO] [stdout] --> src/types/mod.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::types::array::{ArrayEvent, ArrayRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XmlElementRef` and `XmlTextRef` [INFO] [stdout] --> src/types/mod.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> src/block.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let mut left = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/block.rs:730:25 [INFO] [stdout] | [INFO] [stdout] 730 | let ptr = BranchPtr::from(branch); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/block.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | if let Some(mut left) = this.left { [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: unused variable: `branch` [INFO] [stdout] --> src/update.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | ItemContent::Type(branch) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clock_end` is never used [INFO] [stdout] --> src/block.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl BlockCell { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn clock_end(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_mut` is never used [INFO] [stdout] --> src/block_store.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ClientBlockList { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `get_block_mut` are never used [INFO] [stdout] --> src/block_store.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl BlockStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn contains(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/block_store.rs:486:19 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) struct Blocks<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_store.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 491 | impl<'a> Blocks<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 492 | fn new(update: &'a BlockStore) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_QUOTE` is never used [INFO] [stdout] --> src/types/mod.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used [INFO] [stdout] --> src/types/mod.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used [INFO] [stdout] --> src/types/mod.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used [INFO] [stdout] --> src/types/mod.rs:222:7 [INFO] [stdout] | [INFO] [stdout] 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used [INFO] [stdout] --> src/types/mod.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used [INFO] [stdout] --> src/types/mod.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `last_id` and `into_block` are never used [INFO] [stdout] --> src/update.rs:934:19 [INFO] [stdout] | [INFO] [stdout] 879 | impl BlockCarrier { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 934 | pub(crate) fn last_id(&self) -> ID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 963 | pub fn into_block(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `forward`, `backward`, and `values` are never used [INFO] [stdout] --> src/block_iter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BlockIter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn forward(&mut self, txn: &T, len: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn backward(&mut self, txn: &mut T, mut len: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn values<'a, 'txn, T: ReadTxn>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/block_iter.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct Values<'a, 'txn> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/block_iter.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 527 | impl<'a, 'txn> Values<'a, 'txn> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_at` is never used [INFO] [stdout] --> src/branch.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 245 | impl Branch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/moving.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 410 | impl StickyIndex { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 640 | pub(crate) fn get_item(&self, txn: &T) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_id`, `right`, and `left` are never used [INFO] [stdout] --> src/slice.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl ItemSlice { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn contains_id(&self, id: &ID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn right(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn left(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn added(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/id_set.rs:595:34 [INFO] [stdout] | [INFO] [stdout] 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 431 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 431 | pub(crate) fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:436:33 [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | pub(crate) fn read_async(&self) -> Read { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:449:29 [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:454:34 [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/store.rs:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn write_async(&self) -> Write { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | fn root_refs(&self) -> RootRefs { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | fn root_refs(&self) -> RootRefs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | fn subdoc_guids(&self) -> SubdocGuids { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | fn subdocs(&self) -> SubdocsIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 179 | fn subdocs(&self) -> SubdocsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/mod.rs:1108:17 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn iter(&self) -> EventsIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn iter(&self) -> EventsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/encoding/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Arbitrary)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_EncodingTypes` [INFO] [stdout] 46 | enum EncodingTypes { [INFO] [stdout] | ------------- `EncodingTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/observer.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | pub type Subscription = Arc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state_vector.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sync/awareness.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn iter(&self) -> AwarenessIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/test_utils.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn peers(&self) -> Peers { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 432 | pub fn peers(&self) -> Peers<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/test_utils.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | fn state(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 487 | fn state(&self) -> MutexGuard<'_, TestPeerState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn try_transact(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn try_transact_mut(&self) -> Result, TransactionAcqError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | fn transact(&self) -> Transaction; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn transact(&self) -> Transaction<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn transact_mut(&self) -> TransactionMut; [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | fn transact_mut(&self) -> TransactionMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn try_transact(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn try_transact(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn try_transact_mut(&self) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | fn try_transact_mut(&self) -> Result, TransactionAcqError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | fn try_transact_mut_with(&self, origin: T) -> Result [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | fn try_transact_mut_with(&self, origin: T) -> Result, TransactionAcqError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn transact_mut_with(&self, origin: T) -> TransactionMut [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | fn transact_mut_with(&self, origin: T) -> TransactionMut<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn transact(&self) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn transact(&self) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transact.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | fn transact_mut(&self) -> TransactionMut { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | fn transact_mut(&self) -> TransactionMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.32s [INFO] running `Command { std: "docker" "inspect" "6978f22eb2467c86be22cb3ae8b245ae578f336e45c722d335b93c4e9572d305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6978f22eb2467c86be22cb3ae8b245ae578f336e45c722d335b93c4e9572d305", kill_on_drop: false }` [INFO] [stdout] 6978f22eb2467c86be22cb3ae8b245ae578f336e45c722d335b93c4e9572d305