CI log
=== gate ===
=== fixtures: node dependencies
added 20 packages, and audited 21 packages in 546ms
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 (84.595112ms)
✔ a network failure or a 5xx is retried, not dropped (60.525811ms)
✔ a 500 is retried the same way a network failure is, never dropped (61.587491ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 310.889847
=== 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.653333ms)
✔ the browser's online event retries immediately, not just on the next backoff tick (0.398131ms)
✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (1.661314ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 107.94953
=== fixtures: the live-update cursor and connection policy
✔ a tab advances its own cursor only when its POST is the very next row (3.383953ms)
✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.555995ms)
✔ a later response still carries the cursor forward (0.297755ms)
✔ a burst of notifications collapses into one fetch at a time (0.26851ms)
✔ an event naming a seq the tab already has fetches nothing (0.220951ms)
✔ a stopped subscriber drops a response that arrives late (0.357445ms)
✔ stop closes the stream, and start opens exactly one (0.253021ms)
✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (1.028807ms)
✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.282726ms)
✔ a visible tab that is only being READ closes when idle and comes back on any activity (0.368126ms)
✔ activity while streaming defers the idle close rather than reopening anything (0.207868ms)
✔ a stream failure is never reported as a save failure, and heals on activity (0.243794ms)
✔ an empty response advances the cursor without applying anything (0.229136ms)
✔ a failed fetch leaves the cursor alone so the next notification retries it (0.308945ms)
✔ a decode failure retries once through the raw log, then gives up (2.324759ms)
✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.301131ms)
ℹ tests 16
ℹ suites 0
ℹ pass 16
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 99.747062
=== fixtures: paragraph alignment in the editor
✔ the class names are the ones the server renders (4.914273ms)
✔ left, absent and unknown alignments all render as no class (0.267689ms)
✔ toDOM emits a class only for a known alignment (0.750188ms)
✔ a pasted paragraph round-trips its alignment and nothing else (0.281314ms)
✔ alignFromClasses is the inverse of alignClass for every alignment (0.190765ms)
✔ with no dispatch the command reports and changes nothing (2.680784ms)
✔ every toolbar alignment command sets the value its name promises (0.389536ms)
✔ the command aligns the block the cursor is in, and only that one (0.99297ms)
✔ the command aligns every block a selection spans (0.889687ms)
✔ choosing left clears the attribute rather than storing a value (0.963253ms)
✔ one transaction per click, not one per block (0.791424ms)
✔ the buttons report the alignment of the block the cursor is in (0.440661ms)
✔ a block that has no alignment attribute is left alone (1.239038ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 285.129776
=== fixtures: the font vocabulary and its default
✔ the faces are serif, sans and mono (1.748907ms)
✔ an unmarked run is sans (0.239436ms)
✔ choosing the default clears the mark rather than setting one (1.466912ms)
✔ choosing a non-default face sets that face mark (0.158325ms)
✔ a face this build does not know is not an instruction to clear (0.176058ms)
✔ every font mark reads back as its own face (0.148206ms)
✔ a non-font mark leaves the face at the default (0.136474ms)
✔ a run carrying two font marks reads as the face that is drawn (0.154919ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 151.043345
=== fixtures: what a pasted blank line means
✔ a Google Docs blank line stops being two lines tall (1.956865ms)
✔ two blank lines stay two blank lines (0.238344ms)
✔ a trailing break-only paragraph becomes a trailing blank line (0.267979ms)
✔ a Shift+Enter break inside a line of text is left alone (0.21486ms)
✔ a paragraph ending in a break is left alone (0.245297ms)
✔ an ordinary paste is returned by identity (0.233374ms)
✔ paragraph attributes are carried onto the blank lines (1.591835ms)
✔ a blank line inside a pasted blockquote is fixed too (0.242802ms)
✔ a break-only heading is not a paragraph and is left alone (0.580922ms)
✔ WebKit's copy marker is ignored (0.493799ms)
✔ an ordinary br still parses as a hard_break (0.337028ms)
✔ the slice keeps its open depths (0.147915ms)
ℹ tests 12
ℹ suites 0
ℹ pass 12
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 81.699649
=== fixtures: the indent vocabulary and its clamp
✔ a real level becomes its class (1.545247ms)
✔ zero, null and absent are all the same answer: no indent (0.323682ms)
✔ a run of digits too large for any integer type still clamps (1.784132ms)
✔ a level past the maximum clamps rather than being emitted (0.364259ms)
✔ anything that is not a whole number renders flush left (0.249795ms)
✔ a numeric string is a number, because that is what the wire carries (0.151152ms)
✔ the class round-trips back to its level for a paste (0.226963ms)
✔ the step is the half inch every word processor uses (0.153525ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 91.942366
=== fixtures: the point ladder, and the four-step scale it replaced
✔ the default is offered, is first, and carries no mark (1.187752ms)
✔ every other size maps to its own mark (0.162543ms)
✔ a size string works, because that is what a <select> gives you (1.459939ms)
✔ a size this build does not offer is undefined, never null (0.148937ms)
✔ no marks means the default size (0.216012ms)
✔ a mark reports its own size (0.16098ms)
✔ the four-step scale still reports a size on the ladder (0.168774ms)
✔ the legacy marks are in the group the toolbar clears (0.147955ms)
✔ the ladder wins over a legacy mark on the same run (0.215431ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 91.723119
=== fixtures: the autoformat rules, and the Backspace that undoes one
✔ "- " starts a bulleted list (4.560234ms)
✔ "* " and "+ " start one too (0.513136ms)
✔ "1. " starts a numbered list (0.423519ms)
✔ "> " starts a quote (0.506583ms)
✔ "# " makes a heading, and "### " makes a level-3 one (0.882474ms)
✔ Backspace right after a rule gives back the typed characters (0.572296ms)
✔ Backspace away from a rule declines, leaving Backspace alone (0.176288ms)
✔ the patterns do not fire where they must not (0.113291ms)
✔ a numbered list always starts at 1 while the renderer ignores order (0.277637ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 108.955404
=== fixtures: counting words, including where there are no spaces
✔ nothing is nothing (1.261219ms)
✔ ordinary English (0.180636ms)
✔ punctuation is not a word (0.168784ms)
✔ a language without spaces between words still counts (7.019545ms)
✔ the document count walks every block (1.758935ms)
✔ a paragraph boundary is a word boundary (0.346956ms)
✔ characters are counted with and without spaces (0.306461ms)
✔ no selection means no selection count, not a zero (0.334032ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 112.927623
=== fixtures: which menu items the editor enables
✔ an extraCommands item is enabled by sync (0.981188ms)
✔ print, the module’s own local command, is enabled too (0.207907ms)
✔ an editor command follows what the command reports (0.19851ms)
✔ a checkable item is pressed and enabled while it is the current one (0.233404ms)
✔ the view pair follows the mode after a switch, with no reload (0.223476ms)
✔ an item with no aria-pressed never gains one (0.189603ms)
✔ with no view, editor commands are disabled and local ones are not (0.142836ms)
ℹ tests 7
ℹ suites 0
ℹ pass 7
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 78.317459
=== fixtures: the editor's chrome writes only what changed
✔ a state update that changes nothing writes nothing to the chrome (7.718646ms)
✔ a state update that changes something still writes it (2.889021ms)
✔ no DOM write in either bar bypasses dom-writes.mjs (8.964035ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 213.622541
=== the editor bundle must match a fresh build
wrote internal/docs/static/editor.fedd7579de35d95f.js (336726 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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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.18s
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.08s
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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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.13s
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-ac485362626c9ada)
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-db89f5b2efee5dee)
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-12479868faabfe3e)
running 29 tests
test empty_block_is_preserved_like_html ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test empty_document_is_empty_output ... ok
test escapes_json_in_text ... ok
test escapes_html_in_text ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test reads_paragraphs_as_blocks ... ok
test json_reports_paragraph_alignment ... ok
test json_is_deterministic ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test json_clamps_heading_level_like_html ... ok
test json_marks_are_in_a_fixed_order ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test renders_paragraph_alignment_as_a_class ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test text_sibling_before_a_block_is_separated ... ok
test renders_a_hard_break_in_every_renderer ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_block_indent_as_a_class ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_headings_and_lists ... ok
test renders_marks ... ok
test json_names_every_font_mark ... ok
test unknown_nodes_keep_their_text ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_paragraphs_as_html ... ok
test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-23fef01edbd2b6a0)
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-3b492c9b366228bc)
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-f6beb20a1736a413)
running 5 tests
test a_snapshot_of_a_different_document_does_not_verify ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test garbage_does_not_verify ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-66199cbd28d8854b)
running 2 tests
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
warning: unused import: `ArrayRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs: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)
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.11s
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 24.48s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-993d5e5dc7e0a51a)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test abi_round_trips_a_fixture ... ok
test applies_concurrent ... ok
test applies_formatted ... ok
test applies_hello ... ok
test applies_unicode ... 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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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-993d5e5dc7e0a51a)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_hello ... ok
test applies_concurrent ... ok
test applies_formatted ... ok
test abi_round_trips_a_fixture ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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 0.980s
ok github.com/carlosframework/docs/internal/core 11.767s
ok github.com/carlosframework/docs/internal/docs 99.750s
ok github.com/carlosframework/docs/internal/docs/linkstore 0.208s
ok github.com/carlosframework/docs/internal/docs/principalstore 0.111s
ok github.com/carlosframework/docs/internal/docs/teamstate 0.021s
ok github.com/carlosframework/docs/internal/export 0.166s
ok github.com/carlosframework/docs/internal/fonts 0.016s
ok github.com/carlosframework/docs/internal/lint 0.050s
? 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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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.07s
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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.06s
Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-3deb0dffb6916904)
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-2d8d05c7f67ed244)
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-0c5382656957d1e4)
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-bf1c9aaf239f1cc5)
running 4 tests
test deletion_received_before_any_source_update_is_preserved ... ok
test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test unknown_client_deletion_survives_snapshot_before_source_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-c91292fbbce50d5f)
running 20 tests
test concatenated_log_applies_every_update ... ok
test changing_block_preserves_existing_inline_formatting ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... 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.02s
Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-e419caaa28622e46)
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.03s
Running tests/snapshot.rs (native/crdt/target/debug/deps/snapshot-85c7295718fbdf22)
running 1 test
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-91df49b2e72d356c)
running 5 tests
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok
test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok
test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... 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.01s
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.01s
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
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 interpreter_executes_native_crdt_without_host_imports ... ok
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... 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.64s
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 780ms
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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/feat__k3-outbox-lane/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).