CI passed 17m 44s
- Branch
feat/live-push-1b- Commit
96b188e4Paul Campbell
- Runner
hosted/hj-fa9d5fa7829bd24962ea6615-590-1- Reported by
hosted/hj-fa9d5fa7829bd24962ea6615-590-1- Queued
- Started
- Waited for a runner
- 29s
- Last change
- Attempt
- 1 of 2
Steps run in order, one after another.
-
gate passed 12m 56s
amadan: log truncated — showing the last 261989 bytes of 352432 --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core) Finished `release` profile [optimized] target(s) in 9.51s core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) === rust: build, test Compiling libc v0.2.189 Compiling pin-project-lite v0.2.17 Compiling serde_core v1.0.229 Compiling parking v2.2.1 Compiling smallvec v1.15.2 Compiling crossbeam-utils v0.8.22 Compiling scopeguard v1.2.0 Compiling cfg-if v1.0.4 Compiling parking_lot_core v0.9.12 Compiling zmij v1.0.23 Compiling serde v1.0.229 Compiling thiserror v2.0.20 Compiling serde_json v1.0.151 Compiling itoa v1.0.18 Compiling once_cell v1.21.4 Compiling hashbrown v0.14.5 Compiling memchr v2.8.3 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core/vendor/fastrand-2.5.0) Compiling lock_api v0.4.14 Compiling event-listener v5.4.2 Compiling smallstr v0.3.1 Compiling event-listener-strategy v0.5.4 Compiling async-lock v3.4.2 Compiling dashmap v6.2.1 Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5) warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core) Finished `release` profile [optimized] target(s) in 14.44s Compiling cfg-if v1.0.4 Compiling once_cell v1.21.4 Compiling smallvec v1.15.2 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling libc v0.2.189 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling memchr v2.8.3 Compiling itoa v1.0.18 Compiling thiserror v2.0.20 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core/vendor/fastrand-2.5.0) Compiling foldhash v0.2.0 Compiling lock_api v0.4.14 Compiling num-traits v0.2.19 Compiling libm v0.2.16 Compiling event-listener v5.4.2 Compiling smallstr v0.3.1 Compiling downcast-rs v1.2.1 Compiling indexmap-nostd v0.4.0 Compiling equivalent v1.0.2 Compiling multi-stash v0.2.0 Compiling spin v0.9.9 Compiling semver v1.0.28 Compiling bitflags v2.13.1 Compiling arrayvec v0.7.8 Compiling event-listener-strategy v0.5.4 Compiling wasmparser-nostd v0.100.2 Compiling async-lock v3.4.2 Compiling parking_lot_core v0.9.12 Compiling wasmi_core v0.32.3 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling hashbrown v0.17.1 Compiling indexmap v2.14.1 Compiling wasmparser v0.258.0 Compiling ahash v0.8.12 Compiling hashbrown v0.14.5 Compiling dashmap v6.2.1 Compiling string-interner v0.17.0 Compiling wasmi_collections v0.32.3 Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5) Compiling wasmi v0.32.3 warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core) Finished `test` profile [unoptimized + debuginfo] target(s) in 11.71s Running unittests src/lib.rs (core/target/debug/deps/docs_core-330c555f7a8b7c2b) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-280dfe1c9ab19b52) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-17459a8c7329303e) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/emit_update.rs (core/target/debug/deps/emit_update-25873cfdb5d972ea) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/build.rs (core/target/debug/deps/build-1fe9a2b0b21ef8c4) running 11 tests test a_heading_level_is_a_number ... ok test adjacent_runs_with_the_same_marks_merge ... ok test one_text_per_block_and_none_when_empty ... ok test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok test refuses_a_client_id_a_browser_cannot_read ... ok test refuses_past_its_limits ... ok test builds_paragraphs_headings_and_marks ... ok test writes_only_into_an_empty_document ... ok test the_abi_reports_each_refusal_as_its_own_code ... ok test the_snapshot_replays_to_the_same_structure ... ok test refuses_malformed_lists_and_writes_nothing ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/edit.rs (core/target/debug/deps/edit-19c1984b857b8193) running 5 tests test missing_dependency_refuses_without_losing_pending_update ... ok test unsupported_blocks_are_preserved_and_never_deleted ... ok test splices_are_normal_updates_and_preserve_untouched_items ... ok test invalid_later_edit_never_mutates_valid_prefix ... ok test client_and_input_bounds_are_enforced ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/fragment.rs (core/target/debug/deps/fragment-f0090dab47d697f2) running 31 tests test empty_document_is_empty_output ... ok test a_hard_break_does_not_split_the_block_it_is_in ... ok test escapes_html_in_text ... ok test empty_block_is_preserved_like_html ... ok test an_unknown_alignment_is_dropped_from_every_renderer ... ok test escapes_json_in_text ... ok test json_clamps_heading_level_like_html ... ok test json_keeps_unknown_nodes_and_their_children ... ok test json_of_an_empty_document_is_an_empty_doc_node ... ok test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok test nested_blocks_do_not_duplicate_their_text ... ok test json_names_every_font_mark ... ok test renders_a_code_block_as_the_editor_does ... ok test reads_paragraphs_as_blocks ... ok test json_is_deterministic ... ok test json_reports_paragraph_alignment ... ok test json_marks_are_in_a_fixed_order ... ok test renders_a_hard_break_in_every_renderer ... ok test renders_paragraphs_as_html ... ok test renders_the_document_as_prosemirror_json ... ok test text_sibling_before_a_block_is_separated ... ok test unknown_nodes_keep_their_text ... ok test renders_every_font_mark_as_a_classed_span ... ok test renders_marks ... ok test renders_headings_and_lists ... ok test renders_paragraph_alignment_as_a_class ... ok test renders_font_and_size_marks_as_classed_spans ... ok test renders_the_point_ladder_and_the_scale_it_replaced ... ok test renders_block_indent_as_a_class ... ok test reports_block_indent_to_the_exporters ... ok test renders_every_family_in_the_manifest ... ok test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/initial.rs (core/target/debug/deps/initial-afaf1462214a354a) running 3 tests test initial_rejects_client_ids_outside_yjs_range ... ok test initial_content_is_real_structured_literal_text ... ok test initial_rejection_never_leaves_partial_content ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-7b22f3c242b3bdad) running 1 test test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-7c972265c8f51b41) running 1 test test no_host_imports ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/snapshot.rs (core/target/debug/deps/snapshot-5dab91c01e1f6dfa) running 5 tests test garbage_does_not_verify ... ok test a_snapshot_of_this_document_verifies ... ok test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok test a_snapshot_of_a_different_document_does_not_verify ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-74b5bde7b0226e2c) running 2 tests build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache warning: unused import: `ArrayRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | Blocking^^^^^ waiting for file lock on build directory ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `release` profile [optimized] target(s) in 0.04s warning: unused import: `ArrayRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `release` profile [optimized] target(s) in 0.05s core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) test borrow_leak_repro_trapping_unicode_mutation ... ok test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.07s Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-5d35a02dc643be17) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_concurrent ... ok test abi_round_trips_a_fixture ... ok test applies_hello ... ok test applies_unicode ... ok test applies_formatted ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests docs_core running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s === the embedded wasm must match a fresh build gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here === wire compatibility, both directions --- regenerating fixtures from JS yjs hello: 27 bytes unicode: 33 bytes formatted: 70 bytes concurrent: 36 bytes --- fixtures must be unchanged (they are the contract, not an output) --- Rust reads what JS wrote warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s Running tests/wire_compat.rs (target/debug/deps/wire_compat-5d35a02dc643be17) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_concurrent ... ok test applies_hello ... ok test abi_round_trips_a_fixture ... ok test applies_formatted ... ok test applies_unicode ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s --- JS reads what Rust wrote warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ verify-rust: ok (81 bytes) warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ initial content: real Yjs/ProseMirror parity passed semantic edits: production schema, rich-content identity and offline convergence passed wire-gate: ok === spacing: every margin, padding and gap on the scale === go: vet, test, gofmt ok github.com/carlosframework/docs/cmd/docs 4.255s ? github.com/carlosframework/docs/cmd/docs-colophon [no test files] ? github.com/carlosframework/docs/cmd/docs-contract [no test files] ok github.com/carlosframework/docs/internal/contract 0.257s ok github.com/carlosframework/docs/internal/core 15.005s ok github.com/carlosframework/docs/internal/docs 271.539s ? github.com/carlosframework/docs/internal/docs/keymailtest [no test files] ? github.com/carlosframework/docs/internal/docs/linkstore [no test files] ok github.com/carlosframework/docs/internal/docs/principalstore 0.205s ok github.com/carlosframework/docs/internal/docx 0.223s ok github.com/carlosframework/docs/internal/export 0.236s ok github.com/carlosframework/docs/internal/fonts 0.163s ok github.com/carlosframework/docs/internal/lint 0.083s ? github.com/carlosframework/docs/internal/pdf [no test files] ok github.com/carlosframework/docs/internal/shipped 5.520s === go: race detector on warm handles and the stream ok github.com/carlosframework/docs/internal/docs 374.548s === go: build ./... (the app, not just the packages tests import) gate: ok -
native passed 4m 46s
amadan: log truncated — showing the last 262014 bytes of 321312 help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/crdt) warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `docs-native-crdt` (lib test) generated 2 warnings (2 duplicates) warning: `docs-native-crdt` (lib) generated 2 warnings warning: variable does not need to be mutable --> src/bin/gc_undo_kept_probe.rs:26:9 | 26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| { | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: `docs-native-crdt` (bin "gc_undo_kept_probe" test) generated 1 warning (run `cargo fix --bin "gc_undo_kept_probe" -p docs-native-crdt --tests` to apply 1 suggestion) warning: `docs-native-crdt` (bin "gc_undo_kept_probe") generated 1 warning (1 duplicate) Finished `test` profile [unoptimized + debuginfo] target(s) in 14.31s Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-eab20c15316e663a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/gc_undo_kept_probe.rs (native/crdt/target/debug/deps/gc_undo_kept_probe-dfa64511199714c5) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/rule_wire_probe.rs (native/crdt/target/debug/deps/rule_wire_probe-816ca3a40f8519a3) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/update_wire_probe.rs (native/crdt/target/debug/deps/update_wire_probe-1dab4f269e0beccf) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/wire_fixture.rs (native/crdt/target/debug/deps/wire_fixture-aae9c79e7b58f3ce) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/convergence_fuzz.rs (native/crdt/target/debug/deps/convergence_fuzz-b9a0dd2b03574e45) running 2 tests test three_editors_converge_with_causal_delivery has been running for over 60 seconds test three_editors_converge_with_shuffled_duplicated_delivery has been running for over 60 seconds test three_editors_converge_with_causal_delivery ... ok test three_editors_converge_with_shuffled_duplicated_delivery ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 100.67s Running tests/damaged_snapshots.rs (native/crdt/target/debug/deps/damaged_snapshots-a5726abf86c0b67b) running 3 tests test parked_content_reads_the_same_after_a_rebuild ... ok test an_edit_on_a_damaged_replica_does_not_carry_what_it_parks ... ok test every_damaged_snapshot_heals_by_catching_up_from_the_start_and_rebuilding ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-c8139cd9f0ca33b5) running 4 tests test deletion_received_before_any_source_update_is_preserved ... ok test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok test unknown_client_deletion_survives_snapshot_before_source_arrives ... ok test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/display_mapping.rs (native/crdt/target/debug/deps/display_mapping-99972163d2f8bdff) running 5 tests test a_text_holding_an_embed_maps_one_position_per_unit ... ok test walk_matches_on_every_kind_of_node ... ok test typing_anywhere_edits_exactly_that_display_position ... ok test projection_is_unchanged_for_documents_without_embeds ... ok test walk_matches_the_projection_mapping_on_edited_documents ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.01s Running tests/gc_undo_kept.rs (native/crdt/target/debug/deps/gc_undo_kept-1c8e17ccfb308952) running 4 tests test yrs_collects_kept_children_of_a_collected_type ... ok test a_snapshot_after_a_peer_deletes_a_kept_items_paragraph_holds_what_the_editor_shows ... ok test every_update_and_snapshot_replays_into_plain_yrs_with_gc_on_and_off ... ok test undoing_past_the_collected_paragraph_converges_with_the_peer ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/gc_undo_kept_fuzz.rs (native/crdt/target/debug/deps/gc_undo_kept_fuzz-966a7cbdc50c0cc3) running 2 tests test three_editors_with_undo_shuffled_and_duplicated ... ok test three_editors_with_undo_in_causal_order ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 52.34s Running tests/insert_into_deleted_parent.rs (native/crdt/target/debug/deps/insert_into_deleted_parent-a8a6a9b46ca69a0b) running 3 tests test an_undo_whose_neighbours_trace_to_one_item_places_it_as_every_peer_does ... ok test an_item_undone_into_a_deleted_restored_parent_is_deleted_as_everywhere_else ... ok test local_inserts_into_a_type_a_peer_deleted_are_deleted_as_everywhere_else ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/minimal_updates.rs (native/crdt/target/debug/deps/minimal_updates-ceaf78a1cce9e93a) running 4 tests test a_command_that_changes_nothing_sends_an_empty_update ... ok test applying_updates_records_nothing_for_the_next_command ... ok test every_command_kind_converges_through_its_own_update_alone ... ok test keystroke_update_is_independent_of_the_documents_history ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.48s Running tests/projection_delta.rs (native/crdt/target/debug/deps/projection_delta-e33c7d7ca4775d21) running 3 tests test a_full_projection_resets_the_delta_base ... ok test typing_reprojects_only_the_block_typed_in ... ok test deltas_replay_to_the_whole_projection_through_every_kind_of_change ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.22s Running tests/replica.rs (native/crdt/target/debug/deps/replica-8afefc5c4a1c5d0b) running 20 tests test changing_block_preserves_existing_inline_formatting ... ok test concatenated_log_applies_every_update ... ok test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok test reads_existing_yjs_fragment_without_rewriting ... ok test concurrent_insertions_and_own_undo_preserve_peer ... ok test hard_break_is_inline_and_code_enter_does_not_split_block ... ok test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok test rich_paste_preserves_native_marks_and_existing_suffix ... ok test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok test list_item_sink_and_lift_keep_text_and_marks ... ok test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok test utf16_edits_preserve_identity_and_marks ... ok test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok test selection_anchor_tracks_peer_insertion_in_utf16 ... ok test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok test input_rules_transform_and_backspace_restore_typed_prefix ... ok test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-04bd06f85a6e3fe5) running 1 test test every_rule_delta_converges_with_remote_apply ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/snapshot.rs (native/crdt/target/debug/deps/snapshot-38bee888ef142bb0) running 1 test test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-840ca6bcf857cdf3) running 5 tests test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... ok test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok test quote_wrap_groups_selected_paragraphs_in_one_container ... ok test quote_range_can_lift_last_to_first_without_stale_ids ... ok test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests docs_native_crdt running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling version_check v0.9.5 Compiling proc-macro2 v1.0.107 Compiling once_cell v1.21.4 Compiling unicode-ident v1.0.24 Compiling serde v1.0.229 Compiling cfg-if v1.0.4 Compiling quote v1.0.47 Compiling autocfg v1.5.1 Compiling libm v0.2.16 Compiling paste v1.0.15 Compiling indexmap-nostd v0.4.0 Compiling downcast-rs v1.2.1 Compiling zmij v1.0.23 Compiling arrayvec v0.7.8 Compiling multi-stash v0.2.0 Compiling spin v0.9.9 Compiling serde_json v1.0.151 Compiling smallvec v1.15.2 Compiling itoa v1.0.18 Compiling wasmparser-nostd v0.100.2 Compiling memchr v2.8.3 Compiling ahash v0.8.12 Compiling num-traits v0.2.19 Compiling syn v2.0.119 Compiling wasmi_core v0.32.3 Compiling num-derive v0.4.2 Compiling hashbrown v0.14.5 Compiling string-interner v0.17.0 Compiling wasmi_collections v0.32.3 Compiling wasmi v0.32.3 Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/host) Finished `test` profile [unoptimized + debuginfo] target(s) in 10.56s Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e60fab76ea871d54) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/gc_undo_kept.rs (native/host/target/debug/deps/gc_undo_kept-2b97d1f4eb7f779f) running 1 test test a_kept_word_under_a_paragraph_a_peer_deletes_snapshots_whole_in_the_sandbox ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-970356a1ca5b85e3) running 9 tests test fuel_budget_grows_with_the_instance_but_stays_bounded ... ok test long_edited_document_opens_and_types ... ignored, needs DOCS_LARGE_DOCUMENT; native/scripts/check-native.sh runs it test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok test failed_replica_cannot_be_reused ... ok test interpreter_executes_native_crdt_without_host_imports ... ok test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok test selection_anchor_call_does_not_poison_source_interpreter ... ok test hosts_share_the_compiled_module_but_never_state ... ok test running_out_of_fuel_is_a_clean_failure_that_discards_the_instance ... ok test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.45s Doc-tests docs_native_host running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s added 18 packages in 599ms {"pages":200,"edits":10000,"blocks":1140,"chars":631067,"bytes":887424} Compiling version_check v0.9.5 Compiling zerocopy v0.8.56 Compiling serde_core v1.0.229 Compiling proc-macro2 v1.0.107 Compiling serde v1.0.229 Compiling once_cell v1.21.4 Compiling cfg-if v1.0.4 Compiling quote v1.0.47 Compiling unicode-ident v1.0.24 Compiling autocfg v1.5.1 Compiling libm v0.2.16 Compiling paste v1.0.15 Compiling indexmap-nostd v0.4.0 Compiling downcast-rs v1.2.1 Compiling zmij v1.0.23 Compiling spin v0.9.9 Compiling smallvec v1.15.2 Compiling arrayvec v0.7.8 Compiling serde_json v1.0.151 Compiling multi-stash v0.2.0 Compiling itoa v1.0.18 Compiling wasmparser-nostd v0.100.2 Compiling memchr v2.8.3 Compiling ahash v0.8.12 Compiling num-traits v0.2.19 Compiling syn v2.0.119 Compiling wasmi_core v0.32.3 Compiling num-derive v0.4.2 Compiling hashbrown v0.14.5 Compiling string-interner v0.17.0 Compiling wasmi_collections v0.32.3 Compiling wasmi v0.32.3 Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/host) Finished `release` profile [optimized] target(s) in 17.32s Running tests/sandbox.rs (native/host/target/release/deps/sandbox-2a6c113ddc8ca496) running 1 test test long_edited_document_opens_and_types ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 8 filtered out; finished in 2.56s warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies. warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> src/bin/gc_undo_kept_probe.rs:26:9 | 26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| { | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default GC undo-kept wire replay passed 24 snapshot comparisons, Yjs's two references and the collected kept word. warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> src/bin/gc_undo_kept_probe.rs:26:9 | 26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| { | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default GC undo-kept wire: 24 browser states read natively as the editor showed them. warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default Update wire replay passed 44 comparisons (19 commands in order, and shuffled with duplicates, gc on and off); keystroke 17 B (browser 18 B, a state-vector diff would be 161 B). warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ 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 --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: unused import: `XmlFragment` --> src/projection.rs:3:68 | 3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: function `branch` is never used --> src/projection.rs:15:8 | 15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default Native applied 4 browser transaction updates. Native checks passed (core-only=1).
Whole run log
amadan: log truncated — showing the last 524158 bytes of 673772
Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 11.71s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-330c555f7a8b7c2b)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-280dfe1c9ab19b52)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-17459a8c7329303e)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/emit_update.rs (core/target/debug/deps/emit_update-25873cfdb5d972ea)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/build.rs (core/target/debug/deps/build-1fe9a2b0b21ef8c4)
running 11 tests
test a_heading_level_is_a_number ... ok
test adjacent_runs_with_the_same_marks_merge ... ok
test one_text_per_block_and_none_when_empty ... ok
test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok
test refuses_a_client_id_a_browser_cannot_read ... ok
test refuses_past_its_limits ... ok
test builds_paragraphs_headings_and_marks ... ok
test writes_only_into_an_empty_document ... ok
test the_abi_reports_each_refusal_as_its_own_code ... ok
test the_snapshot_replays_to_the_same_structure ... ok
test refuses_malformed_lists_and_writes_nothing ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/edit.rs (core/target/debug/deps/edit-19c1984b857b8193)
running 5 tests
test missing_dependency_refuses_without_losing_pending_update ... ok
test unsupported_blocks_are_preserved_and_never_deleted ... ok
test splices_are_normal_updates_and_preserve_untouched_items ... ok
test invalid_later_edit_never_mutates_valid_prefix ... ok
test client_and_input_bounds_are_enforced ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/fragment.rs (core/target/debug/deps/fragment-f0090dab47d697f2)
running 31 tests
test empty_document_is_empty_output ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test escapes_html_in_text ... ok
test empty_block_is_preserved_like_html ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test escapes_json_in_text ... ok
test json_clamps_heading_level_like_html ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test json_names_every_font_mark ... ok
test renders_a_code_block_as_the_editor_does ... ok
test reads_paragraphs_as_blocks ... ok
test json_is_deterministic ... ok
test json_reports_paragraph_alignment ... ok
test json_marks_are_in_a_fixed_order ... ok
test renders_a_hard_break_in_every_renderer ... ok
test renders_paragraphs_as_html ... ok
test renders_the_document_as_prosemirror_json ... ok
test text_sibling_before_a_block_is_separated ... ok
test unknown_nodes_keep_their_text ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_marks ... ok
test renders_headings_and_lists ... ok
test renders_paragraph_alignment_as_a_class ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test renders_block_indent_as_a_class ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_every_family_in_the_manifest ... ok
test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/initial.rs (core/target/debug/deps/initial-afaf1462214a354a)
running 3 tests
test initial_rejects_client_ids_outside_yjs_range ... ok
test initial_content_is_real_structured_literal_text ... ok
test initial_rejection_never_leaves_partial_content ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-7b22f3c242b3bdad)
running 1 test
test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-7c972265c8f51b41)
running 1 test
test no_host_imports ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/snapshot.rs (core/target/debug/deps/snapshot-5dab91c01e1f6dfa)
running 5 tests
test garbage_does_not_verify ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test a_snapshot_of_a_different_document_does_not_verify ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-74b5bde7b0226e2c)
running 2 tests
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
warning: unused import: `ArrayRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| Blocking^^^^^ waiting for file lock on build directory
^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `release` profile [optimized] target(s) in 0.04s
warning: unused import: `ArrayRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes)
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `release` profile [optimized] target(s) in 0.05s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes)
test borrow_leak_repro_trapping_unicode_mutation ... ok
test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.07s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-5d35a02dc643be17)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_hello ... ok
test applies_unicode ... ok
test applies_formatted ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests docs_core
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
=== the embedded wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== wire compatibility, both directions
--- regenerating fixtures from JS yjs
hello: 27 bytes
unicode: 33 bytes
formatted: 70 bytes
concurrent: 36 bytes
--- fixtures must be unchanged (they are the contract, not an output)
--- Rust reads what JS wrote
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
Running tests/wire_compat.rs (target/debug/deps/wire_compat-5d35a02dc643be17)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test applies_hello ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
verify-rust: ok (81 bytes)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
initial content: real Yjs/ProseMirror parity passed
semantic edits: production schema, rich-content identity and offline convergence passed
wire-gate: ok
=== spacing: every margin, padding and gap on the scale
=== go: vet, test, gofmt
ok github.com/carlosframework/docs/cmd/docs 4.255s
? github.com/carlosframework/docs/cmd/docs-colophon [no test files]
? github.com/carlosframework/docs/cmd/docs-contract [no test files]
ok github.com/carlosframework/docs/internal/contract 0.257s
ok github.com/carlosframework/docs/internal/core 15.005s
ok github.com/carlosframework/docs/internal/docs 271.539s
? github.com/carlosframework/docs/internal/docs/keymailtest [no test files]
? github.com/carlosframework/docs/internal/docs/linkstore [no test files]
ok github.com/carlosframework/docs/internal/docs/principalstore 0.205s
ok github.com/carlosframework/docs/internal/docx 0.223s
ok github.com/carlosframework/docs/internal/export 0.236s
ok github.com/carlosframework/docs/internal/fonts 0.163s
ok github.com/carlosframework/docs/internal/lint 0.083s
? github.com/carlosframework/docs/internal/pdf [no test files]
ok github.com/carlosframework/docs/internal/shipped 5.520s
=== go: race detector on warm handles and the stream
ok github.com/carlosframework/docs/internal/docs 374.548s
=== go: build ./... (the app, not just the packages tests import)
gate: ok
=== native ===
sync-fonts: 62 faces match internal/fonts (20.9 MB).
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling cfg-if v1.0.4
Compiling serde_core v1.0.229
Compiling pin-project-lite v0.2.17
Compiling parking_lot_core v0.9.12
Compiling crossbeam-utils v0.8.22
Compiling smallvec v1.15.2
Compiling rustversion v1.0.23
Compiling getrandom v0.4.3
Compiling zmij v1.0.23
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling thiserror v2.0.20
Compiling scopeguard v1.2.0
Compiling memchr v2.8.3
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling once_cell v1.21.4
Compiling itoa v1.0.18
Compiling hashbrown v0.14.5
Compiling smallstr v0.3.1
Compiling event-listener-strategy v0.5.4
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core/vendor/fastrand-2.5.0)
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling dashmap v6.2.1
Compiling syn v3.0.5
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/crdt)
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `docs-native-crdt` (lib) generated 2 warnings
Finished `release` profile [optimized] target(s) in 10.11s
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling serde_core v1.0.229
Compiling libc v0.2.189
Compiling smallvec v1.15.2
Compiling parking_lot_core v0.9.12
Compiling pin-project-lite v0.2.17
Compiling parking v2.2.1
Compiling rustversion v1.0.23
Compiling zmij v1.0.23
Compiling crossbeam-utils v0.8.22
Compiling serde v1.0.229
Compiling scopeguard v1.2.0
Compiling cfg-if v1.0.4
Compiling serde_json v1.0.151
Compiling thiserror v2.0.20
Compiling lock_api v0.4.14
Compiling once_cell v1.21.4
Compiling event-listener v5.4.2
Compiling hashbrown v0.14.5
Compiling memchr v2.8.3
Compiling itoa v1.0.18
Compiling smallstr v0.3.1
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/core/vendor/fastrand-2.5.0)
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling syn v3.0.5
Compiling dashmap v6.2.1
Compiling thiserror-impl v2.0.20
Compiling serde_derive v1.0.229
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/crdt)
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `docs-native-crdt` (lib test) generated 2 warnings (2 duplicates)
warning: `docs-native-crdt` (lib) generated 2 warnings
warning: variable does not need to be mutable
--> src/bin/gc_undo_kept_probe.rs:26:9
|
26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: `docs-native-crdt` (bin "gc_undo_kept_probe" test) generated 1 warning (run `cargo fix --bin "gc_undo_kept_probe" -p docs-native-crdt --tests` to apply 1 suggestion)
warning: `docs-native-crdt` (bin "gc_undo_kept_probe") generated 1 warning (1 duplicate)
Finished `test` profile [unoptimized + debuginfo] target(s) in 14.31s
Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-eab20c15316e663a)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/gc_undo_kept_probe.rs (native/crdt/target/debug/deps/gc_undo_kept_probe-dfa64511199714c5)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/rule_wire_probe.rs (native/crdt/target/debug/deps/rule_wire_probe-816ca3a40f8519a3)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/update_wire_probe.rs (native/crdt/target/debug/deps/update_wire_probe-1dab4f269e0beccf)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/wire_fixture.rs (native/crdt/target/debug/deps/wire_fixture-aae9c79e7b58f3ce)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/convergence_fuzz.rs (native/crdt/target/debug/deps/convergence_fuzz-b9a0dd2b03574e45)
running 2 tests
test three_editors_converge_with_causal_delivery has been running for over 60 seconds
test three_editors_converge_with_shuffled_duplicated_delivery has been running for over 60 seconds
test three_editors_converge_with_causal_delivery ... ok
test three_editors_converge_with_shuffled_duplicated_delivery ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 100.67s
Running tests/damaged_snapshots.rs (native/crdt/target/debug/deps/damaged_snapshots-a5726abf86c0b67b)
running 3 tests
test parked_content_reads_the_same_after_a_rebuild ... ok
test an_edit_on_a_damaged_replica_does_not_carry_what_it_parks ... ok
test every_damaged_snapshot_heals_by_catching_up_from_the_start_and_rebuilding ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-c8139cd9f0ca33b5)
running 4 tests
test deletion_received_before_any_source_update_is_preserved ... ok
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test unknown_client_deletion_survives_snapshot_before_source_arrives ... ok
test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/display_mapping.rs (native/crdt/target/debug/deps/display_mapping-99972163d2f8bdff)
running 5 tests
test a_text_holding_an_embed_maps_one_position_per_unit ... ok
test walk_matches_on_every_kind_of_node ... ok
test typing_anywhere_edits_exactly_that_display_position ... ok
test projection_is_unchanged_for_documents_without_embeds ... ok
test walk_matches_the_projection_mapping_on_edited_documents ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.01s
Running tests/gc_undo_kept.rs (native/crdt/target/debug/deps/gc_undo_kept-1c8e17ccfb308952)
running 4 tests
test yrs_collects_kept_children_of_a_collected_type ... ok
test a_snapshot_after_a_peer_deletes_a_kept_items_paragraph_holds_what_the_editor_shows ... ok
test every_update_and_snapshot_replays_into_plain_yrs_with_gc_on_and_off ... ok
test undoing_past_the_collected_paragraph_converges_with_the_peer ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/gc_undo_kept_fuzz.rs (native/crdt/target/debug/deps/gc_undo_kept_fuzz-966a7cbdc50c0cc3)
running 2 tests
test three_editors_with_undo_shuffled_and_duplicated ... ok
test three_editors_with_undo_in_causal_order ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 52.34s
Running tests/insert_into_deleted_parent.rs (native/crdt/target/debug/deps/insert_into_deleted_parent-a8a6a9b46ca69a0b)
running 3 tests
test an_undo_whose_neighbours_trace_to_one_item_places_it_as_every_peer_does ... ok
test an_item_undone_into_a_deleted_restored_parent_is_deleted_as_everywhere_else ... ok
test local_inserts_into_a_type_a_peer_deleted_are_deleted_as_everywhere_else ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/minimal_updates.rs (native/crdt/target/debug/deps/minimal_updates-ceaf78a1cce9e93a)
running 4 tests
test a_command_that_changes_nothing_sends_an_empty_update ... ok
test applying_updates_records_nothing_for_the_next_command ... ok
test every_command_kind_converges_through_its_own_update_alone ... ok
test keystroke_update_is_independent_of_the_documents_history ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.48s
Running tests/projection_delta.rs (native/crdt/target/debug/deps/projection_delta-e33c7d7ca4775d21)
running 3 tests
test a_full_projection_resets_the_delta_base ... ok
test typing_reprojects_only_the_block_typed_in ... ok
test deltas_replay_to_the_whole_projection_through_every_kind_of_change ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.22s
Running tests/replica.rs (native/crdt/target/debug/deps/replica-8afefc5c4a1c5d0b)
running 20 tests
test changing_block_preserves_existing_inline_formatting ... ok
test concatenated_log_applies_every_update ... ok
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test input_rules_transform_and_backspace_restore_typed_prefix ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-04bd06f85a6e3fe5)
running 1 test
test every_rule_delta_converges_with_remote_apply ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/snapshot.rs (native/crdt/target/debug/deps/snapshot-38bee888ef142bb0)
running 1 test
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-840ca6bcf857cdf3)
running 5 tests
test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... ok
test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok
test quote_wrap_groups_selected_paragraphs_in_one_container ... ok
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests docs_native_crdt
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling version_check v0.9.5
Compiling proc-macro2 v1.0.107
Compiling once_cell v1.21.4
Compiling unicode-ident v1.0.24
Compiling serde v1.0.229
Compiling cfg-if v1.0.4
Compiling quote v1.0.47
Compiling autocfg v1.5.1
Compiling libm v0.2.16
Compiling paste v1.0.15
Compiling indexmap-nostd v0.4.0
Compiling downcast-rs v1.2.1
Compiling zmij v1.0.23
Compiling arrayvec v0.7.8
Compiling multi-stash v0.2.0
Compiling spin v0.9.9
Compiling serde_json v1.0.151
Compiling smallvec v1.15.2
Compiling itoa v1.0.18
Compiling wasmparser-nostd v0.100.2
Compiling memchr v2.8.3
Compiling ahash v0.8.12
Compiling num-traits v0.2.19
Compiling syn v2.0.119
Compiling wasmi_core v0.32.3
Compiling num-derive v0.4.2
Compiling hashbrown v0.14.5
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling wasmi v0.32.3
Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/host)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.56s
Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e60fab76ea871d54)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/gc_undo_kept.rs (native/host/target/debug/deps/gc_undo_kept-2b97d1f4eb7f779f)
running 1 test
test a_kept_word_under_a_paragraph_a_peer_deletes_snapshots_whole_in_the_sandbox ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-970356a1ca5b85e3)
running 9 tests
test fuel_budget_grows_with_the_instance_but_stays_bounded ... ok
test long_edited_document_opens_and_types ... ignored, needs DOCS_LARGE_DOCUMENT; native/scripts/check-native.sh runs it
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok
test failed_replica_cannot_be_reused ... ok
test interpreter_executes_native_crdt_without_host_imports ... ok
test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok
test selection_anchor_call_does_not_poison_source_interpreter ... ok
test hosts_share_the_compiled_module_but_never_state ... ok
test running_out_of_fuel_is_a_clean_failure_that_discards_the_instance ... ok
test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.45s
Doc-tests docs_native_host
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
added 18 packages in 599ms
{"pages":200,"edits":10000,"blocks":1140,"chars":631067,"bytes":887424}
Compiling version_check v0.9.5
Compiling zerocopy v0.8.56
Compiling serde_core v1.0.229
Compiling proc-macro2 v1.0.107
Compiling serde v1.0.229
Compiling once_cell v1.21.4
Compiling cfg-if v1.0.4
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling autocfg v1.5.1
Compiling libm v0.2.16
Compiling paste v1.0.15
Compiling indexmap-nostd v0.4.0
Compiling downcast-rs v1.2.1
Compiling zmij v1.0.23
Compiling spin v0.9.9
Compiling smallvec v1.15.2
Compiling arrayvec v0.7.8
Compiling serde_json v1.0.151
Compiling multi-stash v0.2.0
Compiling itoa v1.0.18
Compiling wasmparser-nostd v0.100.2
Compiling memchr v2.8.3
Compiling ahash v0.8.12
Compiling num-traits v0.2.19
Compiling syn v2.0.119
Compiling wasmi_core v0.32.3
Compiling num-derive v0.4.2
Compiling hashbrown v0.14.5
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling wasmi v0.32.3
Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/host)
Finished `release` profile [optimized] target(s) in 17.32s
Running tests/sandbox.rs (native/host/target/release/deps/sandbox-2a6c113ddc8ca496)
running 1 test
test long_edited_document_opens_and_types ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 8 filtered out; finished in 2.56s
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies.
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/bin/gc_undo_kept_probe.rs:26:9
|
26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
GC undo-kept wire replay passed 24 snapshot comparisons, Yjs's two references and the collected kept word.
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> src/bin/gc_undo_kept_probe.rs:26:9
|
26 | let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
GC undo-kept wire: 24 browser states read natively as the editor showed them.
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
Update wire replay passed 44 comparisons (19 commands in order, and shuffled with duplicates, gc on and off); keystroke 17 B (browser 18 B, a state-vector diff would be 161 B).
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
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
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/feat__live-push-1b/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `XmlFragment`
--> src/projection.rs:3:68
|
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: function `branch` is never used
--> src/projection.rs:15:8
|
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
| ^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
Native applied 4 browser transaction updates.
Native checks passed (core-only=1).
Watching for changes…