CI passed 1m 55s
- Runner
claude~paul@keymail.dev/DOCS-T1- Reported by
claude~paul@keymail.dev/DOCS-T1- Queued
- Started
- Waited for a runner
- 4s
- Last change
- Attempt
- 1 of 2
Steps run in order, one after another.
-
gate passed 1m 53s
=== fixtures: node dependencies added 20 packages, and audited 21 packages in 648ms 5 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts: npm warn allow-scripts esbuild@0.28.2 (postinstall: node install.js) npm warn allow-scripts npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow. === fixtures: the save queue's retry/drop logic (F1 regression) ✔ a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit (85.775516ms) ✔ a network failure or a 5xx is retried, not dropped (61.218282ms) ✔ a 500 is retried the same way a network failure is, never dropped (61.168498ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 294.730381 === fixtures: the resync retry/backoff state machine (fix round 2 regression) ✔ a resync that fails is retried with backoff until it succeeds, without ever running twice at once (2.24784ms) ✔ the browser's online event retries immediately, not just on the next backoff tick (0.343843ms) ✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (0.567831ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 69.724285 === fixtures: the live-update cursor and connection policy ✔ a tab advances its own cursor only when its POST is the very next row (2.030554ms) ✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.356646ms) ✔ a later response still carries the cursor forward (0.207688ms) ✔ a burst of notifications collapses into one fetch at a time (0.178664ms) ✔ an event naming a seq the tab already has fetches nothing (0.137256ms) ✔ a stopped subscriber drops a response that arrives late (0.546982ms) ✔ stop closes the stream, and start opens exactly one (0.21432ms) ✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (1.019184ms) ✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.47081ms) ✔ a visible tab that is only being READ closes when idle and comes back on any activity (0.414184ms) ✔ activity while streaming defers the idle close rather than reopening anything (0.211726ms) ✔ a stream failure is never reported as a save failure, and heals on activity (0.557912ms) ✔ an empty response advances the cursor without applying anything (0.160099ms) ✔ a failed fetch leaves the cursor alone so the next notification retries it (0.225ms) ✔ a decode failure retries once through the raw log, then gives up (1.145731ms) ✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.129152ms) ℹ tests 16 ℹ suites 0 ℹ pass 16 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 93.583583 === fixtures: paragraph alignment in the editor ✔ the class names are the ones the server renders (2.010707ms) ✔ left, absent and unknown alignments all render as no class (0.226303ms) ✔ toDOM emits a class only for a known alignment (0.918576ms) ✔ a pasted paragraph round-trips its alignment and nothing else (0.281706ms) ✔ alignFromClasses is the inverse of alignClass for every alignment (0.282047ms) ✔ with no dispatch the command reports and changes nothing (2.680889ms) ✔ every toolbar alignment command sets the value its name promises (0.34283ms) ✔ the command aligns the block the cursor is in, and only that one (0.81847ms) ✔ the command aligns every block a selection spans (0.852703ms) ✔ choosing left clears the attribute rather than storing a value (0.494143ms) ✔ one transaction per click, not one per block (0.768586ms) ✔ the buttons report the alignment of the block the cursor is in (0.457805ms) ✔ a block that has no alignment attribute is left alone (1.030064ms) ℹ tests 13 ℹ suites 0 ℹ pass 13 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 193.646932 === fixtures: the font vocabulary and its default ✔ the faces are serif, sans and mono (1.898998ms) ✔ an unmarked run is sans (0.271417ms) ✔ choosing the default clears the mark rather than setting one (1.983706ms) ✔ choosing a non-default face sets that face mark (0.179595ms) ✔ a face this build does not know is not an instruction to clear (0.174737ms) ✔ every font mark reads back as its own face (0.172532ms) ✔ a non-font mark leaves the face at the default (0.143939ms) ✔ a run carrying two font marks reads as the face that is drawn (0.15506ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 94.615351 === fixtures: what a pasted blank line means ✔ a Google Docs blank line stops being two lines tall (1.786859ms) ✔ two blank lines stay two blank lines (0.335897ms) ✔ a trailing break-only paragraph becomes a trailing blank line (0.296524ms) ✔ a Shift+Enter break inside a line of text is left alone (0.226504ms) ✔ a paragraph ending in a break is left alone (0.1878ms) ✔ an ordinary paste is returned by identity (0.266508ms) ✔ paragraph attributes are carried onto the blank lines (1.283728ms) ✔ a blank line inside a pasted blockquote is fixed too (0.227325ms) ✔ a break-only heading is not a paragraph and is left alone (0.327051ms) ✔ WebKit's copy marker is ignored (0.387193ms) ✔ an ordinary br still parses as a hard_break (0.330548ms) ✔ the slice keeps its open depths (0.138769ms) ℹ tests 12 ℹ suites 0 ℹ pass 12 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 88.976666 === fixtures: the indent vocabulary and its clamp ✔ a real level becomes its class (1.149127ms) ✔ zero, null and absent are all the same answer: no indent (0.215222ms) ✔ a run of digits too large for any integer type still clamps (0.17686ms) ✔ a level past the maximum clamps rather than being emitted (0.197519ms) ✔ anything that is not a whole number renders flush left (0.201206ms) ✔ a numeric string is a number, because that is what the wire carries (0.132277ms) ✔ the class round-trips back to its level for a paste (0.224009ms) ✔ the step is the half inch every word processor uses (0.122469ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 97.336322 === fixtures: the point ladder, and the four-step scale it replaced ✔ the default is offered, is first, and carries no mark (1.208468ms) ✔ every other size maps to its own mark (0.1602ms) ✔ a size string works, because that is what a <select> gives you (1.067565ms) ✔ a size this build does not offer is undefined, never null (0.153587ms) ✔ no marks means the default size (0.289921ms) ✔ a mark reports its own size (0.138609ms) ✔ the four-step scale still reports a size on the ladder (0.275845ms) ✔ the legacy marks are in the group the toolbar clears (0.13919ms) ✔ the ladder wins over a legacy mark on the same run (0.666235ms) ℹ tests 9 ℹ suites 0 ℹ pass 9 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 98.1798 === fixtures: the autoformat rules, and the Backspace that undoes one ✔ "- " starts a bulleted list (3.908714ms) ✔ "* " and "+ " start one too (0.66898ms) ✔ "1. " starts a numbered list (0.397983ms) ✔ "> " starts a quote (0.498632ms) ✔ "# " makes a heading, and "### " makes a level-3 one (1.027821ms) ✔ Backspace right after a rule gives back the typed characters (0.714245ms) ✔ Backspace away from a rule declines, leaving Backspace alone (0.175007ms) ✔ the patterns do not fire where they must not (0.108152ms) ✔ a numbered list always starts at 1 while the renderer ignores order (0.462664ms) ℹ tests 9 ℹ suites 0 ℹ pass 9 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 113.041747 === fixtures: counting words, including where there are no spaces ✔ nothing is nothing (0.717851ms) ✔ ordinary English (0.117279ms) ✔ punctuation is not a word (0.10713ms) ✔ a language without spaces between words still counts (1.046636ms) ✔ the document count walks every block (0.987816ms) ✔ a paragraph boundary is a word boundary (0.170609ms) ✔ characters are counted with and without spaces (0.148397ms) ✔ no selection means no selection count, not a zero (0.149289ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 88.314037 === fixtures: which menu items the editor enables ✔ an extraCommands item is enabled by sync (1.452574ms) ✔ print, the module’s own local command, is enabled too (0.15483ms) ✔ an editor command follows what the command reports (0.151974ms) ✔ a checkable item is pressed and enabled while it is the current one (0.263632ms) ✔ the view pair follows the mode after a switch, with no reload (0.212417ms) ✔ an item with no aria-pressed never gains one (0.17648ms) ✔ with no view, editor commands are disabled and local ones are not (0.13405ms) ℹ tests 7 ℹ suites 0 ℹ pass 7 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 73.011976 === fixtures: the editor's chrome writes only what changed ✔ a state update that changes nothing writes nothing to the chrome (7.659673ms) ✔ a state update that changes something still writes it (2.42995ms) ✔ no DOM write in either bar bypasses dom-writes.mjs (7.525872ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 170.232572 === the editor bundle must match a fresh build wrote internal/docs/static/editor.1407830d50c4f292.js (336947 bytes) wrote internal/docs/static/jumpto.58ca95c441b1bd49.js (3234 bytes) wrote internal/docs/static/share.b7f152cdd9e793ac.js (603 bytes) === rust: fmt === wasm: clippy, then the artifact the host embeds warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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 clippy --fix --lib -p yrs -- -D warnings -D clippy::disallowed_methods` to apply 35 suggestions) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s 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:644:29 | 644 | 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:730:25 | 730 | 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) { | ^^^^^^^^ ... 514 | 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:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | 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.09s core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes) === rust: build, test warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.14s warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/core) Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s Running unittests src/lib.rs (core/target/debug/deps/docs_core-34b4fc1e41c4813c) 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-f7db4babccdecd03) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/fragment.rs (core/target/debug/deps/fragment-67feeb5f59f7f03a) running 29 tests test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok test a_hard_break_does_not_split_the_block_it_is_in ... ok test an_unknown_alignment_is_dropped_from_every_renderer ... ok test empty_block_is_preserved_like_html ... ok test empty_document_is_empty_output ... ok test json_names_every_font_mark ... ok test nested_blocks_do_not_duplicate_their_text ... ok test json_marks_are_in_a_fixed_order ... ok test escapes_json_in_text ... ok test json_reports_paragraph_alignment ... ok test escapes_html_in_text ... ok test reads_paragraphs_as_blocks ... ok test renders_block_indent_as_a_class ... ok test json_of_an_empty_document_is_an_empty_doc_node ... ok test renders_paragraphs_as_html ... ok test renders_every_font_mark_as_a_classed_span ... ok test text_sibling_before_a_block_is_separated ... ok test json_keeps_unknown_nodes_and_their_children ... ok test renders_font_and_size_marks_as_classed_spans ... ok test unknown_nodes_keep_their_text ... ok test json_clamps_heading_level_like_html ... ok test renders_a_hard_break_in_every_renderer ... ok test renders_headings_and_lists ... ok test renders_marks ... ok test renders_paragraph_alignment_as_a_class ... ok test json_is_deterministic ... ok test reports_block_indent_to_the_exporters ... ok test renders_the_point_ladder_and_the_scale_it_replaced ... ok test renders_the_document_as_prosemirror_json ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-b20f1e5c73515c92) 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.01s Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-68e99243d86b6638) 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-1590225859c7e7fb) running 5 tests test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok test a_snapshot_of_this_document_verifies ... ok test garbage_does_not_verify ... 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-33d11fbe16116a77) running 2 tests 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:644:29 | 644 | 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:730:25 | 730 | 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) { | ^^^^^^^^ ... 514 | 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:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | 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.06s core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes) 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:644:29 | 644 | 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:730:25 | 730 | 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) { | ^^^^^^^^ ... 514 | 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:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | 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.06s core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 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 21.96s Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-43eafb8288347923) 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_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 === 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s Running tests/wire_compat.rs (target/debug/deps/wire_compat-43eafb8288347923) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_hello ... ok test applies_concurrent ... ok test applies_unicode ... ok test abi_round_trips_a_fixture ... ok test applies_formatted ... 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) wire-gate: ok === go: vet, test, gofmt ok github.com/carlosframework/docs/cmd/docs 1.873s ok github.com/carlosframework/docs/internal/core 11.122s ok github.com/carlosframework/docs/internal/docs 83.288s ok github.com/carlosframework/docs/internal/docs/linkstore 0.340s ok github.com/carlosframework/docs/internal/docs/principalstore 0.145s ok github.com/carlosframework/docs/internal/docs/teamstate 0.019s ok github.com/carlosframework/docs/internal/export 0.325s ok github.com/carlosframework/docs/internal/fonts 0.025s ok github.com/carlosframework/docs/internal/lint 0.077s ? github.com/carlosframework/docs/internal/pdf [no test files] === go: build ./... (the app, not just the packages tests import) gate: ok -
native passed 1s
warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-baf27fb7a3ac90e9) 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-95cfc30616a0234f) 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-6ca6e9809a89e2b7) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-b92f01671c6adae5) running 4 tests test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok test deletion_received_before_any_source_update_is_preserved ... 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/replica.rs (native/crdt/target/debug/deps/replica-d3ae6b0fee7b15ce) running 20 tests test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok test changing_block_preserves_existing_inline_formatting ... ok test rich_paste_preserves_native_marks_and_existing_suffix ... ok test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok test hard_break_is_inline_and_code_enter_does_not_split_block ... ok test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok test selection_anchor_tracks_peer_insertion_in_utf16 ... ok test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok test utf16_edits_preserve_identity_and_marks ... ok test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok test list_item_sink_and_lift_keep_text_and_marks ... ok test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok test reads_existing_yjs_fragment_without_rewriting ... ok test concatenated_log_applies_every_update ... ok test concurrent_insertions_and_own_undo_preserve_peer ... 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-dcfc3ace239235ae) 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/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-f0df618b8ab315f7) 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 adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok test quote_range_can_lift_last_to_first_without_stale_ids ... ok test quote_wrap_groups_selected_paragraphs_in_one_container ... 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 Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e64b9f7cfe9d7d5e) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-672ce98f639da64f) running 5 tests test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok test interpreter_executes_native_crdt_without_host_imports ... ok test selection_anchor_call_does_not_poison_source_interpreter ... ok test failed_replica_cannot_be_reused ... ok test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s 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 20 packages in 393ms warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29 | 644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25 | 730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) { | ^^^^^^^^ ... 514 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12 | 522 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8 | 527 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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<'_> { | ++++ Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies. Native checks passed (core-only=1).
Whole run log
=== gate ===
=== fixtures: node dependencies
added 20 packages, and audited 21 packages in 648ms
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
=== fixtures: the save queue's retry/drop logic (F1 regression)
✔ a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit (85.775516ms)
✔ a network failure or a 5xx is retried, not dropped (61.218282ms)
✔ a 500 is retried the same way a network failure is, never dropped (61.168498ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 294.730381
=== fixtures: the resync retry/backoff state machine (fix round 2 regression)
✔ a resync that fails is retried with backoff until it succeeds, without ever running twice at once (2.24784ms)
✔ the browser's online event retries immediately, not just on the next backoff tick (0.343843ms)
✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (0.567831ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 69.724285
=== fixtures: the live-update cursor and connection policy
✔ a tab advances its own cursor only when its POST is the very next row (2.030554ms)
✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.356646ms)
✔ a later response still carries the cursor forward (0.207688ms)
✔ a burst of notifications collapses into one fetch at a time (0.178664ms)
✔ an event naming a seq the tab already has fetches nothing (0.137256ms)
✔ a stopped subscriber drops a response that arrives late (0.546982ms)
✔ stop closes the stream, and start opens exactly one (0.21432ms)
✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (1.019184ms)
✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.47081ms)
✔ a visible tab that is only being READ closes when idle and comes back on any activity (0.414184ms)
✔ activity while streaming defers the idle close rather than reopening anything (0.211726ms)
✔ a stream failure is never reported as a save failure, and heals on activity (0.557912ms)
✔ an empty response advances the cursor without applying anything (0.160099ms)
✔ a failed fetch leaves the cursor alone so the next notification retries it (0.225ms)
✔ a decode failure retries once through the raw log, then gives up (1.145731ms)
✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.129152ms)
ℹ tests 16
ℹ suites 0
ℹ pass 16
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 93.583583
=== fixtures: paragraph alignment in the editor
✔ the class names are the ones the server renders (2.010707ms)
✔ left, absent and unknown alignments all render as no class (0.226303ms)
✔ toDOM emits a class only for a known alignment (0.918576ms)
✔ a pasted paragraph round-trips its alignment and nothing else (0.281706ms)
✔ alignFromClasses is the inverse of alignClass for every alignment (0.282047ms)
✔ with no dispatch the command reports and changes nothing (2.680889ms)
✔ every toolbar alignment command sets the value its name promises (0.34283ms)
✔ the command aligns the block the cursor is in, and only that one (0.81847ms)
✔ the command aligns every block a selection spans (0.852703ms)
✔ choosing left clears the attribute rather than storing a value (0.494143ms)
✔ one transaction per click, not one per block (0.768586ms)
✔ the buttons report the alignment of the block the cursor is in (0.457805ms)
✔ a block that has no alignment attribute is left alone (1.030064ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 193.646932
=== fixtures: the font vocabulary and its default
✔ the faces are serif, sans and mono (1.898998ms)
✔ an unmarked run is sans (0.271417ms)
✔ choosing the default clears the mark rather than setting one (1.983706ms)
✔ choosing a non-default face sets that face mark (0.179595ms)
✔ a face this build does not know is not an instruction to clear (0.174737ms)
✔ every font mark reads back as its own face (0.172532ms)
✔ a non-font mark leaves the face at the default (0.143939ms)
✔ a run carrying two font marks reads as the face that is drawn (0.15506ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 94.615351
=== fixtures: what a pasted blank line means
✔ a Google Docs blank line stops being two lines tall (1.786859ms)
✔ two blank lines stay two blank lines (0.335897ms)
✔ a trailing break-only paragraph becomes a trailing blank line (0.296524ms)
✔ a Shift+Enter break inside a line of text is left alone (0.226504ms)
✔ a paragraph ending in a break is left alone (0.1878ms)
✔ an ordinary paste is returned by identity (0.266508ms)
✔ paragraph attributes are carried onto the blank lines (1.283728ms)
✔ a blank line inside a pasted blockquote is fixed too (0.227325ms)
✔ a break-only heading is not a paragraph and is left alone (0.327051ms)
✔ WebKit's copy marker is ignored (0.387193ms)
✔ an ordinary br still parses as a hard_break (0.330548ms)
✔ the slice keeps its open depths (0.138769ms)
ℹ tests 12
ℹ suites 0
ℹ pass 12
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 88.976666
=== fixtures: the indent vocabulary and its clamp
✔ a real level becomes its class (1.149127ms)
✔ zero, null and absent are all the same answer: no indent (0.215222ms)
✔ a run of digits too large for any integer type still clamps (0.17686ms)
✔ a level past the maximum clamps rather than being emitted (0.197519ms)
✔ anything that is not a whole number renders flush left (0.201206ms)
✔ a numeric string is a number, because that is what the wire carries (0.132277ms)
✔ the class round-trips back to its level for a paste (0.224009ms)
✔ the step is the half inch every word processor uses (0.122469ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 97.336322
=== fixtures: the point ladder, and the four-step scale it replaced
✔ the default is offered, is first, and carries no mark (1.208468ms)
✔ every other size maps to its own mark (0.1602ms)
✔ a size string works, because that is what a <select> gives you (1.067565ms)
✔ a size this build does not offer is undefined, never null (0.153587ms)
✔ no marks means the default size (0.289921ms)
✔ a mark reports its own size (0.138609ms)
✔ the four-step scale still reports a size on the ladder (0.275845ms)
✔ the legacy marks are in the group the toolbar clears (0.13919ms)
✔ the ladder wins over a legacy mark on the same run (0.666235ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 98.1798
=== fixtures: the autoformat rules, and the Backspace that undoes one
✔ "- " starts a bulleted list (3.908714ms)
✔ "* " and "+ " start one too (0.66898ms)
✔ "1. " starts a numbered list (0.397983ms)
✔ "> " starts a quote (0.498632ms)
✔ "# " makes a heading, and "### " makes a level-3 one (1.027821ms)
✔ Backspace right after a rule gives back the typed characters (0.714245ms)
✔ Backspace away from a rule declines, leaving Backspace alone (0.175007ms)
✔ the patterns do not fire where they must not (0.108152ms)
✔ a numbered list always starts at 1 while the renderer ignores order (0.462664ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 113.041747
=== fixtures: counting words, including where there are no spaces
✔ nothing is nothing (0.717851ms)
✔ ordinary English (0.117279ms)
✔ punctuation is not a word (0.10713ms)
✔ a language without spaces between words still counts (1.046636ms)
✔ the document count walks every block (0.987816ms)
✔ a paragraph boundary is a word boundary (0.170609ms)
✔ characters are counted with and without spaces (0.148397ms)
✔ no selection means no selection count, not a zero (0.149289ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 88.314037
=== fixtures: which menu items the editor enables
✔ an extraCommands item is enabled by sync (1.452574ms)
✔ print, the module’s own local command, is enabled too (0.15483ms)
✔ an editor command follows what the command reports (0.151974ms)
✔ a checkable item is pressed and enabled while it is the current one (0.263632ms)
✔ the view pair follows the mode after a switch, with no reload (0.212417ms)
✔ an item with no aria-pressed never gains one (0.17648ms)
✔ with no view, editor commands are disabled and local ones are not (0.13405ms)
ℹ tests 7
ℹ suites 0
ℹ pass 7
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 73.011976
=== fixtures: the editor's chrome writes only what changed
✔ a state update that changes nothing writes nothing to the chrome (7.659673ms)
✔ a state update that changes something still writes it (2.42995ms)
✔ no DOM write in either bar bypasses dom-writes.mjs (7.525872ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 170.232572
=== the editor bundle must match a fresh build
wrote internal/docs/static/editor.1407830d50c4f292.js (336947 bytes)
wrote internal/docs/static/jumpto.58ca95c441b1bd49.js (3234 bytes)
wrote internal/docs/static/share.b7f152cdd9e793ac.js (603 bytes)
=== rust: fmt
=== wasm: clippy, then the artifact the host embeds
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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 clippy --fix --lib -p yrs -- -D warnings -D clippy::disallowed_methods` to apply 35 suggestions)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
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:644:29
|
644 | 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:730:25
|
730 | 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) {
| ^^^^^^^^
...
514 | 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:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | 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.09s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
=== rust: build, test
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.14s
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-34b4fc1e41c4813c)
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-f7db4babccdecd03)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/fragment.rs (core/target/debug/deps/fragment-67feeb5f59f7f03a)
running 29 tests
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test empty_block_is_preserved_like_html ... ok
test empty_document_is_empty_output ... ok
test json_names_every_font_mark ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test json_marks_are_in_a_fixed_order ... ok
test escapes_json_in_text ... ok
test json_reports_paragraph_alignment ... ok
test escapes_html_in_text ... ok
test reads_paragraphs_as_blocks ... ok
test renders_block_indent_as_a_class ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test renders_paragraphs_as_html ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test text_sibling_before_a_block_is_separated ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test unknown_nodes_keep_their_text ... ok
test json_clamps_heading_level_like_html ... ok
test renders_a_hard_break_in_every_renderer ... ok
test renders_headings_and_lists ... ok
test renders_marks ... ok
test renders_paragraph_alignment_as_a_class ... ok
test json_is_deterministic ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test renders_the_document_as_prosemirror_json ... ok
test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-b20f1e5c73515c92)
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.01s
Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-68e99243d86b6638)
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-1590225859c7e7fb)
running 5 tests
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_of_this_document_verifies ... ok
test garbage_does_not_verify ... 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-33d11fbe16116a77)
running 2 tests
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:644:29
|
644 | 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:730:25
|
730 | 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) {
| ^^^^^^^^
...
514 | 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:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | 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.06s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
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:644:29
|
644 | 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:730:25
|
730 | 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) {
| ^^^^^^^^
...
514 | 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:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | 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.06s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 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 21.96s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-43eafb8288347923)
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_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
=== 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s
Running tests/wire_compat.rs (target/debug/deps/wire_compat-43eafb8288347923)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_hello ... ok
test applies_concurrent ... ok
test applies_unicode ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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)
wire-gate: ok
=== go: vet, test, gofmt
ok github.com/carlosframework/docs/cmd/docs 1.873s
ok github.com/carlosframework/docs/internal/core 11.122s
ok github.com/carlosframework/docs/internal/docs 83.288s
ok github.com/carlosframework/docs/internal/docs/linkstore 0.340s
ok github.com/carlosframework/docs/internal/docs/principalstore 0.145s
ok github.com/carlosframework/docs/internal/docs/teamstate 0.019s
ok github.com/carlosframework/docs/internal/export 0.325s
ok github.com/carlosframework/docs/internal/fonts 0.025s
ok github.com/carlosframework/docs/internal/lint 0.077s
? github.com/carlosframework/docs/internal/pdf [no test files]
=== go: build ./... (the app, not just the packages tests import)
gate: ok
=== native ===
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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.03s
Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-baf27fb7a3ac90e9)
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-95cfc30616a0234f)
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-6ca6e9809a89e2b7)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-b92f01671c6adae5)
running 4 tests
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test deletion_received_before_any_source_update_is_preserved ... 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/replica.rs (native/crdt/target/debug/deps/replica-d3ae6b0fee7b15ce)
running 20 tests
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test changing_block_preserves_existing_inline_formatting ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test concatenated_log_applies_every_update ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... 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-dcfc3ace239235ae)
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/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-f0df618b8ab315f7)
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 adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test quote_wrap_groups_selected_paragraphs_in_one_container ... 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
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e64b9f7cfe9d7d5e)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-672ce98f639da64f)
running 5 tests
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok
test interpreter_executes_native_crdt_without_host_imports ... ok
test selection_anchor_call_does_not_poison_source_interpreter ... ok
test failed_replica_cannot_be_reused ... ok
test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
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 20 packages in 393ms
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | 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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/main/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<'_> {
| ++++
Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies.
Native checks passed (core-only=1).
Watching for changes…