CI failed 2m 2s
- Branch
theme-calma- Commit
f4b6b9dePaul Campbell
- Runner
claude~paul@keymail.dev/DOCS-T1- Reported by
claude~paul@keymail.dev/DOCS-T1- Queued
- Started
- Waited for a runner
- 5s
- Last change
- Attempt
- 1 of 2
Steps run in order, one after another.
-
gate failed 2m 1s
=== fixtures: node dependencies added 20 packages, and audited 21 packages in 526ms 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 (81.820769ms) ✔ a network failure or a 5xx is retried, not dropped (60.178725ms) ✔ a 500 is retried the same way a network failure is, never dropped (60.201689ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 242.42722 === 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 (1.306768ms) ✔ the browser's online event retries immediately, not just on the next backoff tick (0.228303ms) ✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (0.149897ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 42.113922 === fixtures: the live-update cursor and connection policy ✔ a tab advances its own cursor only when its POST is the very next row (1.35134ms) ✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.31887ms) ✔ a later response still carries the cursor forward (0.180284ms) ✔ a burst of notifications collapses into one fetch at a time (0.157151ms) ✔ an event naming a seq the tab already has fetches nothing (0.12998ms) ✔ a stopped subscriber drops a response that arrives late (0.175355ms) ✔ stop closes the stream, and start opens exactly one (0.139058ms) ✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (0.561349ms) ✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.174042ms) ✔ a visible tab that is only being READ closes when idle and comes back on any activity (3.356072ms) ✔ activity while streaming defers the idle close rather than reopening anything (0.127877ms) ✔ a stream failure is never reported as a save failure, and heals on activity (0.170676ms) ✔ an empty response advances the cursor without applying anything (0.14074ms) ✔ a failed fetch leaves the cursor alone so the next notification retries it (0.879228ms) ✔ a decode failure retries once through the raw log, then gives up (0.166649ms) ✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.105055ms) ℹ tests 16 ℹ suites 0 ℹ pass 16 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 49.354432 === fixtures: paragraph alignment in the editor ✔ the class names are the ones the server renders (1.094665ms) ✔ left, absent and unknown alignments all render as no class (0.140791ms) ✔ toDOM emits a class only for a known alignment (0.449912ms) ✔ a pasted paragraph round-trips its alignment and nothing else (0.180574ms) ✔ alignFromClasses is the inverse of alignClass for every alignment (0.130722ms) ✔ with no dispatch the command reports and changes nothing (1.552773ms) ✔ every toolbar alignment command sets the value its name promises (0.17315ms) ✔ the command aligns the block the cursor is in, and only that one (0.391394ms) ✔ the command aligns every block a selection spans (0.33462ms) ✔ choosing left clears the attribute rather than storing a value (0.282523ms) ✔ one transaction per click, not one per block (0.330212ms) ✔ the buttons report the alignment of the block the cursor is in (0.22152ms) ✔ a block that has no alignment attribute is left alone (0.318139ms) ℹ tests 13 ℹ suites 0 ℹ pass 13 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 100.033767 === fixtures: the font vocabulary and its default ✔ the faces are serif, sans and mono (0.947724ms) ✔ an unmarked run is sans (0.133477ms) ✔ choosing the default clears the mark rather than setting one (0.557641ms) ✔ choosing a non-default face sets that face mark (0.10833ms) ✔ a face this build does not know is not an instruction to clear (0.106988ms) ✔ every font mark reads back as its own face (0.093734ms) ✔ a non-font mark leaves the face at the default (0.092922ms) ✔ a run carrying two font marks reads as the face that is drawn (0.097841ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 44.780317 === fixtures: what a pasted blank line means ✔ a Google Docs blank line stops being two lines tall (1.384813ms) ✔ two blank lines stay two blank lines (0.190372ms) ✔ a trailing break-only paragraph becomes a trailing blank line (0.168312ms) ✔ a Shift+Enter break inside a line of text is left alone (0.17844ms) ✔ a paragraph ending in a break is left alone (0.146491ms) ✔ an ordinary paste is returned by identity (0.143616ms) ✔ paragraph attributes are carried onto the blank lines (0.842038ms) ✔ a blank line inside a pasted blockquote is fixed too (0.175985ms) ✔ a break-only heading is not a paragraph and is left alone (0.16725ms) ✔ WebKit's copy marker is ignored (0.236077ms) ✔ an ordinary br still parses as a hard_break (0.198267ms) ✔ the slice keeps its open depths (0.118159ms) ℹ tests 12 ℹ suites 0 ℹ pass 12 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 53.373451 === fixtures: the indent vocabulary and its clamp ✔ a real level becomes its class (0.625067ms) ✔ zero, null and absent are all the same answer: no indent (0.121174ms) ✔ a run of digits too large for any integer type still clamps (0.515825ms) ✔ a level past the maximum clamps rather than being emitted (0.116085ms) ✔ anything that is not a whole number renders flush left (0.132185ms) ✔ a numeric string is a number, because that is what the wire carries (0.095316ms) ✔ the class round-trips back to its level for a paste (0.122247ms) ✔ the step is the half inch every word processor uses (0.089045ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 40.893674 === fixtures: the point ladder, and the four-step scale it replaced ✔ the default is offered, is first, and carries no mark (0.804028ms) ✔ every other size maps to its own mark (0.106908ms) ✔ a size string works, because that is what a <select> gives you (0.535572ms) ✔ a size this build does not offer is undefined, never null (0.103231ms) ✔ no marks means the default size (0.135661ms) ✔ a mark reports its own size (0.096308ms) ✔ the four-step scale still reports a size on the ladder (0.114643ms) ✔ the legacy marks are in the group the toolbar clears (0.09714ms) ✔ the ladder wins over a legacy mark on the same run (0.115444ms) ℹ tests 9 ℹ suites 0 ℹ pass 9 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 45.132188 === fixtures: the autoformat rules, and the Backspace that undoes one ✔ "- " starts a bulleted list (2.812696ms) ✔ "* " and "+ " start one too (0.402996ms) ✔ "1. " starts a numbered list (0.251966ms) ✔ "> " starts a quote (0.305486ms) ✔ "# " makes a heading, and "### " makes a level-3 one (0.69734ms) ✔ Backspace right after a rule gives back the typed characters (0.517678ms) ✔ Backspace away from a rule declines, leaving Backspace alone (0.159155ms) ✔ the patterns do not fire where they must not (0.10244ms) ✔ a numbered list always starts at 1 while the renderer ignores order (0.250935ms) ℹ tests 9 ℹ suites 0 ℹ pass 9 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 58.283788 === fixtures: counting words, including where there are no spaces ✔ nothing is nothing (0.623003ms) ✔ ordinary English (0.105916ms) ✔ punctuation is not a word (0.102569ms) ✔ a language without spaces between words still counts (3.480782ms) ✔ the document count walks every block (0.887834ms) ✔ a paragraph boundary is a word boundary (0.16209ms) ✔ characters are counted with and without spaces (0.147473ms) ✔ no selection means no selection count, not a zero (0.139398ms) ℹ tests 8 ℹ suites 0 ℹ pass 8 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 65.733585 === fixtures: which menu items the editor enables ✔ an extraCommands item is enabled by sync (0.821329ms) ✔ print, the module’s own local command, is enabled too (0.130772ms) ✔ an editor command follows what the command reports (0.138537ms) ✔ a checkable item is pressed and enabled while it is the current one (0.181816ms) ✔ the view pair follows the mode after a switch, with no reload (0.168522ms) ✔ an item with no aria-pressed never gains one (0.144647ms) ✔ with no view, editor commands are disabled and local ones are not (0.122867ms) ℹ tests 7 ℹ suites 0 ℹ pass 7 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 42.592578 === fixtures: the editor's chrome writes only what changed ✔ a state update that changes nothing writes nothing to the chrome (4.486623ms) ✔ a state update that changes something still writes it (1.278626ms) ✔ no DOM write in either bar bypasses dom-writes.mjs (1.686652ms) ℹ tests 3 ℹ suites 0 ℹ pass 3 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 98.133258 === 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 Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.24 Compiling quote v1.0.47 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling version_check v0.9.5 Checking cfg-if v1.0.4 Compiling serde v1.0.229 Checking once_cell v1.21.4 Checking smallvec v1.15.2 Compiling libc v0.2.189 Compiling rustversion v1.0.23 Checking parking v2.2.1 Compiling zmij v1.0.23 Checking pin-project-lite v0.2.17 Compiling crossbeam-utils v0.8.22 Compiling parking_lot_core v0.9.12 Compiling serde_json v1.0.151 Checking event-listener v5.4.2 Compiling autocfg v1.5.1 Compiling thiserror v2.0.20 Checking scopeguard v1.2.0 Checking lock_api v0.4.14 Compiling paste v1.0.15 Compiling libm v0.2.16 Checking itoa v1.0.18 Checking memchr v2.8.3 Compiling ahash v0.8.12 Checking event-listener-strategy v0.5.4 Checking async-lock v3.4.2 Checking smallstr v0.3.1 Checking foldhash v0.2.0 Checking fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0) Checking equivalent v1.0.2 Checking indexmap-nostd v0.4.0 Compiling num-traits v0.2.19 Checking downcast-rs v1.2.1 Checking multi-stash v0.2.0 Checking arrayvec v0.7.8 Checking bitflags v2.13.1 Checking semver v1.0.28 Checking wasmparser-nostd v0.100.2 Checking spin v0.9.9 Checking arc-swap v1.9.2 Compiling syn v3.0.4 Compiling syn v2.0.119 Checking wasmi_core v0.32.3 Checking hashbrown v0.17.1 Compiling num-derive v0.4.2 Checking indexmap v2.14.1 Compiling serde_derive v1.0.229 Compiling thiserror-impl v2.0.20 Compiling async-trait v0.1.92 Checking hashbrown v0.14.5 Checking dashmap v6.2.1 Checking string-interner v0.17.0 Checking yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5) Checking wasmparser v0.258.0 Checking wasmi_collections v0.32.3 warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ Checking wasmi v0.32.3 warning: value assigned to `left` is never read --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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) Checking docs-core v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core) Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.15s Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.24 Compiling quote v1.0.47 Compiling serde_core v1.0.229 Compiling cfg-if v1.0.4 Compiling pin-project-lite v0.2.17 Compiling rustversion v1.0.23 Compiling zmij v1.0.23 Compiling getrandom v0.4.3 Compiling crossbeam-utils v0.8.22 Compiling parking_lot_core v0.9.12 Compiling smallvec v1.15.2 Compiling scopeguard v1.2.0 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling thiserror v2.0.20 Compiling hashbrown v0.14.5 Compiling once_cell v1.21.4 Compiling event-listener v5.4.2 Compiling lock_api v0.4.14 Compiling itoa v1.0.18 Compiling memchr v2.8.3 Compiling fastrand v2.5.0 (/work/core/vendor/fastrand-2.5.0) Compiling event-listener-strategy v0.5.4 Compiling smallstr v0.3.1 Compiling async-lock v3.4.2 Compiling arc-swap v1.9.2 Compiling dashmap v6.2.1 Compiling syn v3.0.4 Compiling serde_derive v1.0.229 Compiling thiserror-impl v2.0.20 Compiling async-trait v0.1.92 Compiling yrs v0.23.5 (/work/native/vendor/yrs-0.23.5) 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) Compiling docs-core v0.1.0 (/work/core) Finished `release` profile [optimized] target(s) in 5.46s core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes) === rust: build, test Compiling proc-macro2 v1.0.107 Compiling quote v1.0.47 Compiling unicode-ident v1.0.24 Compiling libc v0.2.189 Compiling serde_core v1.0.229 Compiling smallvec v1.15.2 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling parking_lot_core v0.9.12 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling rustversion v1.0.23 Compiling serde_json v1.0.151 Compiling cfg-if v1.0.4 Compiling serde v1.0.229 Compiling thiserror v2.0.20 Compiling scopeguard v1.2.0 Compiling once_cell v1.21.4 Compiling memchr v2.8.3 Compiling event-listener v5.4.2 Compiling lock_api v0.4.14 Compiling hashbrown v0.14.5 Compiling itoa v1.0.18 Compiling smallstr v0.3.1 Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0) Compiling event-listener-strategy v0.5.4 Compiling async-lock v3.4.2 Compiling arc-swap v1.9.2 Compiling syn v3.0.4 Compiling dashmap v6.2.1 Compiling thiserror-impl v2.0.20 Compiling serde_derive v1.0.229 Compiling async-trait v0.1.92 Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5) warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/core) Finished `release` profile [optimized] target(s) in 8.87s Compiling cfg-if v1.0.4 Compiling once_cell v1.21.4 Compiling smallvec v1.15.2 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling libc v0.2.189 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling memchr v2.8.3 Compiling itoa v1.0.18 Compiling thiserror v2.0.20 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0) Compiling lock_api v0.4.14 Compiling foldhash v0.2.0 Compiling num-traits v0.2.19 Compiling event-listener v5.4.2 Compiling libm v0.2.16 Compiling smallstr v0.3.1 Compiling downcast-rs v1.2.1 Compiling equivalent v1.0.2 Compiling indexmap-nostd v0.4.0 Compiling multi-stash v0.2.0 Compiling spin v0.9.9 Compiling semver v1.0.28 Compiling event-listener-strategy v0.5.4 Compiling arrayvec v0.7.8 Compiling bitflags v2.13.1 Compiling async-lock v3.4.2 Compiling wasmparser-nostd v0.100.2 Compiling parking_lot_core v0.9.12 Compiling wasmi_core v0.32.3 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling hashbrown v0.17.1 Compiling indexmap v2.14.1 Compiling wasmparser v0.258.0 Compiling ahash v0.8.12 Compiling hashbrown v0.14.5 Compiling dashmap v6.2.1 Compiling string-interner v0.17.0 Compiling wasmi_collections v0.32.3 Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5) Compiling wasmi v0.32.3 warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/core) Finished `test` profile [unoptimized + debuginfo] target(s) in 6.86s Running unittests src/lib.rs (core/target/debug/deps/docs_core-da40638bc9c70958) 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-db70ae59b2e6f873) 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-ef74776cc2c4ddfa) running 29 tests test empty_document_is_empty_output ... ok test a_hard_break_does_not_split_the_block_it_is_in ... ok test escapes_html_in_text ... ok test empty_block_is_preserved_like_html ... ok test an_unknown_alignment_is_dropped_from_every_renderer ... ok test escapes_json_in_text ... ok test json_clamps_heading_level_like_html ... ok test json_keeps_unknown_nodes_and_their_children ... ok test json_of_an_empty_document_is_an_empty_doc_node ... ok test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok test json_names_every_font_mark ... ok test nested_blocks_do_not_duplicate_their_text ... ok test json_marks_are_in_a_fixed_order ... ok test renders_a_hard_break_in_every_renderer ... ok test reads_paragraphs_as_blocks ... ok test json_is_deterministic ... ok test json_reports_paragraph_alignment ... ok test renders_every_font_mark_as_a_classed_span ... ok test renders_the_document_as_prosemirror_json ... ok test renders_paragraph_alignment_as_a_class ... ok test text_sibling_before_a_block_is_separated ... ok test renders_block_indent_as_a_class ... ok test renders_headings_and_lists ... ok test renders_font_and_size_marks_as_classed_spans ... ok test unknown_nodes_keep_their_text ... ok test renders_paragraphs_as_html ... ok test renders_the_point_ladder_and_the_scale_it_replaced ... ok test renders_marks ... ok test reports_block_indent_to_the_exporters ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-4cd2b120aa8c529d) running 1 test test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-1d1b25e564e939cb) 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-b720e5b6e80e283b) running 5 tests test garbage_does_not_verify ... ok test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok test a_snapshot_of_this_document_verifies ... ok test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok test a_snapshot_of_a_different_document_does_not_verify ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-2c1cc2d8015ef199) 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 Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on shared package cache Blocking waiting for file lock on build directory 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.03s 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> { |core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes) ------------------------------- 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.04s 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 20.60s Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-3f859cc6b4e2595f) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_hello ... ok test applies_concurrent ... ok test abi_round_trips_a_fixture ... ok test applies_formatted ... ok test applies_unicode ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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-3f859cc6b4e2595f) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_concurrent ... ok test applies_formatted ... ok test abi_round_trips_a_fixture ... 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 --- JS reads what Rust wrote warning: unused import: `ArrayRef` --> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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 go: downloading amadan.net/oficina/estilo.git v0.0.0-20260929070530-5b2ce835e773 2026/09/29 08:28:52 ERROR docs: content sealing not activated content_encoding=0 key_fingerprint=376843d772b728925e075770336b0e9db028b1e2c22b0a2078709a5c6990ef8f --- FAIL: TestReleaseBinaryReportsItsVersion (0.14s) release_test.go:51: build: exit status 1 error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. FAIL FAIL github.com/carlosframework/docs/cmd/docs 0.296s ok github.com/carlosframework/docs/internal/core 8.892s ok github.com/carlosframework/docs/internal/docs 62.647s ok github.com/carlosframework/docs/internal/docs/linkstore 0.161s ok github.com/carlosframework/docs/internal/docs/principalstore 0.068s ok github.com/carlosframework/docs/internal/docs/teamstate 0.010s ok github.com/carlosframework/docs/internal/export 0.086s ok github.com/carlosframework/docs/internal/fonts 0.011s ok github.com/carlosframework/docs/internal/lint 0.030s ? github.com/carlosframework/docs/internal/pdf [no test files] FAIL amadan: step gate failed: exit status 1 -
native not run
No output.
Whole run log
=== gate ===
=== fixtures: node dependencies
added 20 packages, and audited 21 packages in 526ms
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 (81.820769ms)
✔ a network failure or a 5xx is retried, not dropped (60.178725ms)
✔ a 500 is retried the same way a network failure is, never dropped (60.201689ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 242.42722
=== 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 (1.306768ms)
✔ the browser's online event retries immediately, not just on the next backoff tick (0.228303ms)
✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (0.149897ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 42.113922
=== fixtures: the live-update cursor and connection policy
✔ a tab advances its own cursor only when its POST is the very next row (1.35134ms)
✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.31887ms)
✔ a later response still carries the cursor forward (0.180284ms)
✔ a burst of notifications collapses into one fetch at a time (0.157151ms)
✔ an event naming a seq the tab already has fetches nothing (0.12998ms)
✔ a stopped subscriber drops a response that arrives late (0.175355ms)
✔ stop closes the stream, and start opens exactly one (0.139058ms)
✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (0.561349ms)
✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.174042ms)
✔ a visible tab that is only being READ closes when idle and comes back on any activity (3.356072ms)
✔ activity while streaming defers the idle close rather than reopening anything (0.127877ms)
✔ a stream failure is never reported as a save failure, and heals on activity (0.170676ms)
✔ an empty response advances the cursor without applying anything (0.14074ms)
✔ a failed fetch leaves the cursor alone so the next notification retries it (0.879228ms)
✔ a decode failure retries once through the raw log, then gives up (0.166649ms)
✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.105055ms)
ℹ tests 16
ℹ suites 0
ℹ pass 16
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 49.354432
=== fixtures: paragraph alignment in the editor
✔ the class names are the ones the server renders (1.094665ms)
✔ left, absent and unknown alignments all render as no class (0.140791ms)
✔ toDOM emits a class only for a known alignment (0.449912ms)
✔ a pasted paragraph round-trips its alignment and nothing else (0.180574ms)
✔ alignFromClasses is the inverse of alignClass for every alignment (0.130722ms)
✔ with no dispatch the command reports and changes nothing (1.552773ms)
✔ every toolbar alignment command sets the value its name promises (0.17315ms)
✔ the command aligns the block the cursor is in, and only that one (0.391394ms)
✔ the command aligns every block a selection spans (0.33462ms)
✔ choosing left clears the attribute rather than storing a value (0.282523ms)
✔ one transaction per click, not one per block (0.330212ms)
✔ the buttons report the alignment of the block the cursor is in (0.22152ms)
✔ a block that has no alignment attribute is left alone (0.318139ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 100.033767
=== fixtures: the font vocabulary and its default
✔ the faces are serif, sans and mono (0.947724ms)
✔ an unmarked run is sans (0.133477ms)
✔ choosing the default clears the mark rather than setting one (0.557641ms)
✔ choosing a non-default face sets that face mark (0.10833ms)
✔ a face this build does not know is not an instruction to clear (0.106988ms)
✔ every font mark reads back as its own face (0.093734ms)
✔ a non-font mark leaves the face at the default (0.092922ms)
✔ a run carrying two font marks reads as the face that is drawn (0.097841ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 44.780317
=== fixtures: what a pasted blank line means
✔ a Google Docs blank line stops being two lines tall (1.384813ms)
✔ two blank lines stay two blank lines (0.190372ms)
✔ a trailing break-only paragraph becomes a trailing blank line (0.168312ms)
✔ a Shift+Enter break inside a line of text is left alone (0.17844ms)
✔ a paragraph ending in a break is left alone (0.146491ms)
✔ an ordinary paste is returned by identity (0.143616ms)
✔ paragraph attributes are carried onto the blank lines (0.842038ms)
✔ a blank line inside a pasted blockquote is fixed too (0.175985ms)
✔ a break-only heading is not a paragraph and is left alone (0.16725ms)
✔ WebKit's copy marker is ignored (0.236077ms)
✔ an ordinary br still parses as a hard_break (0.198267ms)
✔ the slice keeps its open depths (0.118159ms)
ℹ tests 12
ℹ suites 0
ℹ pass 12
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 53.373451
=== fixtures: the indent vocabulary and its clamp
✔ a real level becomes its class (0.625067ms)
✔ zero, null and absent are all the same answer: no indent (0.121174ms)
✔ a run of digits too large for any integer type still clamps (0.515825ms)
✔ a level past the maximum clamps rather than being emitted (0.116085ms)
✔ anything that is not a whole number renders flush left (0.132185ms)
✔ a numeric string is a number, because that is what the wire carries (0.095316ms)
✔ the class round-trips back to its level for a paste (0.122247ms)
✔ the step is the half inch every word processor uses (0.089045ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 40.893674
=== fixtures: the point ladder, and the four-step scale it replaced
✔ the default is offered, is first, and carries no mark (0.804028ms)
✔ every other size maps to its own mark (0.106908ms)
✔ a size string works, because that is what a <select> gives you (0.535572ms)
✔ a size this build does not offer is undefined, never null (0.103231ms)
✔ no marks means the default size (0.135661ms)
✔ a mark reports its own size (0.096308ms)
✔ the four-step scale still reports a size on the ladder (0.114643ms)
✔ the legacy marks are in the group the toolbar clears (0.09714ms)
✔ the ladder wins over a legacy mark on the same run (0.115444ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 45.132188
=== fixtures: the autoformat rules, and the Backspace that undoes one
✔ "- " starts a bulleted list (2.812696ms)
✔ "* " and "+ " start one too (0.402996ms)
✔ "1. " starts a numbered list (0.251966ms)
✔ "> " starts a quote (0.305486ms)
✔ "# " makes a heading, and "### " makes a level-3 one (0.69734ms)
✔ Backspace right after a rule gives back the typed characters (0.517678ms)
✔ Backspace away from a rule declines, leaving Backspace alone (0.159155ms)
✔ the patterns do not fire where they must not (0.10244ms)
✔ a numbered list always starts at 1 while the renderer ignores order (0.250935ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 58.283788
=== fixtures: counting words, including where there are no spaces
✔ nothing is nothing (0.623003ms)
✔ ordinary English (0.105916ms)
✔ punctuation is not a word (0.102569ms)
✔ a language without spaces between words still counts (3.480782ms)
✔ the document count walks every block (0.887834ms)
✔ a paragraph boundary is a word boundary (0.16209ms)
✔ characters are counted with and without spaces (0.147473ms)
✔ no selection means no selection count, not a zero (0.139398ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 65.733585
=== fixtures: which menu items the editor enables
✔ an extraCommands item is enabled by sync (0.821329ms)
✔ print, the module’s own local command, is enabled too (0.130772ms)
✔ an editor command follows what the command reports (0.138537ms)
✔ a checkable item is pressed and enabled while it is the current one (0.181816ms)
✔ the view pair follows the mode after a switch, with no reload (0.168522ms)
✔ an item with no aria-pressed never gains one (0.144647ms)
✔ with no view, editor commands are disabled and local ones are not (0.122867ms)
ℹ tests 7
ℹ suites 0
ℹ pass 7
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 42.592578
=== fixtures: the editor's chrome writes only what changed
✔ a state update that changes nothing writes nothing to the chrome (4.486623ms)
✔ a state update that changes something still writes it (1.278626ms)
✔ no DOM write in either bar bypasses dom-writes.mjs (1.686652ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 98.133258
=== 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
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling version_check v0.9.5
Checking cfg-if v1.0.4
Compiling serde v1.0.229
Checking once_cell v1.21.4
Checking smallvec v1.15.2
Compiling libc v0.2.189
Compiling rustversion v1.0.23
Checking parking v2.2.1
Compiling zmij v1.0.23
Checking pin-project-lite v0.2.17
Compiling crossbeam-utils v0.8.22
Compiling parking_lot_core v0.9.12
Compiling serde_json v1.0.151
Checking event-listener v5.4.2
Compiling autocfg v1.5.1
Compiling thiserror v2.0.20
Checking scopeguard v1.2.0
Checking lock_api v0.4.14
Compiling paste v1.0.15
Compiling libm v0.2.16
Checking itoa v1.0.18
Checking memchr v2.8.3
Compiling ahash v0.8.12
Checking event-listener-strategy v0.5.4
Checking async-lock v3.4.2
Checking smallstr v0.3.1
Checking foldhash v0.2.0
Checking fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0)
Checking equivalent v1.0.2
Checking indexmap-nostd v0.4.0
Compiling num-traits v0.2.19
Checking downcast-rs v1.2.1
Checking multi-stash v0.2.0
Checking arrayvec v0.7.8
Checking bitflags v2.13.1
Checking semver v1.0.28
Checking wasmparser-nostd v0.100.2
Checking spin v0.9.9
Checking arc-swap v1.9.2
Compiling syn v3.0.4
Compiling syn v2.0.119
Checking wasmi_core v0.32.3
Checking hashbrown v0.17.1
Compiling num-derive v0.4.2
Checking indexmap v2.14.1
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Checking hashbrown v0.14.5
Checking dashmap v6.2.1
Checking string-interner v0.17.0
Checking yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5)
Checking wasmparser v0.258.0
Checking wasmi_collections v0.32.3
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
Checking wasmi v0.32.3
warning: value assigned to `left` is never read
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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)
Checking docs-core v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.15s
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling cfg-if v1.0.4
Compiling pin-project-lite v0.2.17
Compiling rustversion v1.0.23
Compiling zmij v1.0.23
Compiling getrandom v0.4.3
Compiling crossbeam-utils v0.8.22
Compiling parking_lot_core v0.9.12
Compiling smallvec v1.15.2
Compiling scopeguard v1.2.0
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling thiserror v2.0.20
Compiling hashbrown v0.14.5
Compiling once_cell v1.21.4
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling fastrand v2.5.0 (/work/core/vendor/fastrand-2.5.0)
Compiling event-listener-strategy v0.5.4
Compiling smallstr v0.3.1
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling dashmap v6.2.1
Compiling syn v3.0.4
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/work/native/vendor/yrs-0.23.5)
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)
Compiling docs-core v0.1.0 (/work/core)
Finished `release` profile [optimized] target(s) in 5.46s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
=== rust: build, test
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling libc v0.2.189
Compiling serde_core v1.0.229
Compiling smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling parking_lot_core v0.9.12
Compiling parking v2.2.1
Compiling pin-project-lite v0.2.17
Compiling rustversion v1.0.23
Compiling serde_json v1.0.151
Compiling cfg-if v1.0.4
Compiling serde v1.0.229
Compiling thiserror v2.0.20
Compiling scopeguard v1.2.0
Compiling once_cell v1.21.4
Compiling memchr v2.8.3
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling hashbrown v0.14.5
Compiling itoa v1.0.18
Compiling smallstr v0.3.1
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0)
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling syn v3.0.4
Compiling dashmap v6.2.1
Compiling thiserror-impl v2.0.20
Compiling serde_derive v1.0.229
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/core)
Finished `release` profile [optimized] target(s) in 8.87s
Compiling cfg-if v1.0.4
Compiling once_cell v1.21.4
Compiling smallvec v1.15.2
Compiling parking v2.2.1
Compiling pin-project-lite v0.2.17
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling libc v0.2.189
Compiling scopeguard v1.2.0
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling memchr v2.8.3
Compiling itoa v1.0.18
Compiling thiserror v2.0.20
Compiling arc-swap v1.9.2
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/core/vendor/fastrand-2.5.0)
Compiling lock_api v0.4.14
Compiling foldhash v0.2.0
Compiling num-traits v0.2.19
Compiling event-listener v5.4.2
Compiling libm v0.2.16
Compiling smallstr v0.3.1
Compiling downcast-rs v1.2.1
Compiling equivalent v1.0.2
Compiling indexmap-nostd v0.4.0
Compiling multi-stash v0.2.0
Compiling spin v0.9.9
Compiling semver v1.0.28
Compiling event-listener-strategy v0.5.4
Compiling arrayvec v0.7.8
Compiling bitflags v2.13.1
Compiling async-lock v3.4.2
Compiling wasmparser-nostd v0.100.2
Compiling parking_lot_core v0.9.12
Compiling wasmi_core v0.32.3
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling hashbrown v0.17.1
Compiling indexmap v2.14.1
Compiling wasmparser v0.258.0
Compiling ahash v0.8.12
Compiling hashbrown v0.14.5
Compiling dashmap v6.2.1
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/native/vendor/yrs-0.23.5)
Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.86s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-da40638bc9c70958)
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-db70ae59b2e6f873)
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-ef74776cc2c4ddfa)
running 29 tests
test empty_document_is_empty_output ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test escapes_html_in_text ... ok
test empty_block_is_preserved_like_html ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test escapes_json_in_text ... ok
test json_clamps_heading_level_like_html ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test json_names_every_font_mark ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test json_marks_are_in_a_fixed_order ... ok
test renders_a_hard_break_in_every_renderer ... ok
test reads_paragraphs_as_blocks ... ok
test json_is_deterministic ... ok
test json_reports_paragraph_alignment ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_paragraph_alignment_as_a_class ... ok
test text_sibling_before_a_block_is_separated ... ok
test renders_block_indent_as_a_class ... ok
test renders_headings_and_lists ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test unknown_nodes_keep_their_text ... ok
test renders_paragraphs_as_html ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test renders_marks ... ok
test reports_block_indent_to_the_exporters ... ok
test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-4cd2b120aa8c529d)
running 1 test
test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-1d1b25e564e939cb)
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-b720e5b6e80e283b)
running 5 tests
test garbage_does_not_verify ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test a_snapshot_of_a_different_document_does_not_verify ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-2c1cc2d8015ef199)
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
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on shared package cache
Blocking waiting for file lock on build directory
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.03s
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> {
|core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
------------------------------- 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.04s
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 20.60s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-3f859cc6b4e2595f)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_hello ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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-3f859cc6b4e2595f)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test applies_formatted ... ok
test abi_round_trips_a_fixture ... 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
--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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/theme-calma/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
go: downloading amadan.net/oficina/estilo.git v0.0.0-20260929070530-5b2ce835e773
2026/09/29 08:28:52 ERROR docs: content sealing not activated content_encoding=0 key_fingerprint=376843d772b728925e075770336b0e9db028b1e2c22b0a2078709a5c6990ef8f
--- FAIL: TestReleaseBinaryReportsItsVersion (0.14s)
release_test.go:51: build: exit status 1
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
FAIL
FAIL github.com/carlosframework/docs/cmd/docs 0.296s
ok github.com/carlosframework/docs/internal/core 8.892s
ok github.com/carlosframework/docs/internal/docs 62.647s
ok github.com/carlosframework/docs/internal/docs/linkstore 0.161s
ok github.com/carlosframework/docs/internal/docs/principalstore 0.068s
ok github.com/carlosframework/docs/internal/docs/teamstate 0.010s
ok github.com/carlosframework/docs/internal/export 0.086s
ok github.com/carlosframework/docs/internal/fonts 0.011s
ok github.com/carlosframework/docs/internal/lint 0.030s
? github.com/carlosframework/docs/internal/pdf [no test files]
FAIL
amadan: step gate failed: exit status 1
amadan: job failed at step gate — its output is above, not at the tail of this log
Watching for changes…