Bump estilo to 894afdc in Docs
Estilo's Bar.Actions is now []chrome.Action (a menu.Item plus Primary); Share… stays a link (GET), not primary, so it renders as before. Estilo now closes the one estilo-menus group on Escape and outside click, in the capture phase, and moves the menubar's roving tab stop with focus. Docs' menu.mjs did both too: its Escape case found nothing left open and its document click-away repeated estilo's, so both are removed and the editor bundle rebuilt. Share page (Astra, docs #65, P3): the Copy button ships hidden until share-link.mjs mounts, but [rst-btn]'s display: inline-flex beat the user agent's [hidden], so without script it showed and did nothing. An explicit [docs-share-copy][hidden] rule, with a test that failed first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 files changed,
+63
−58
fixtures/menu.mjs+15 −39fixtures/menu.test.mjs+3 −3go.mod+1 −1go.sum+2 −2internal/docs/chrome.go+1 −1internal/docs/handlers.go+1 −1internal/docs/share_page_test.go+23 −0internal/docs/static/{editor.1407830d50c4f292.js => editor.fedd7579de35d95f.js}+11 −11internal/docs/views/share.html+6 −0
CI passed — run details
CI log
=== gate ===
=== fixtures: node dependencies
added 20 packages, and audited 21 packages in 486ms
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.48221ms)
✔ a network failure or a 5xx is retried, not dropped (61.056366ms)
✔ a 500 is retried the same way a network failure is, never dropped (60.861506ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 244.22285
=== 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.245116ms)
✔ the browser's online event retries immediately, not just on the next backoff tick (0.263458ms)
✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (0.588039ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 39.851927
=== fixtures: the live-update cursor and connection policy
✔ a tab advances its own cursor only when its POST is the very next row (4.440694ms)
✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.315093ms)
✔ a later response still carries the cursor forward (0.185754ms)
✔ a burst of notifications collapses into one fetch at a time (0.158163ms)
✔ an event naming a seq the tab already has fetches nothing (0.127947ms)
✔ a stopped subscriber drops a response that arrives late (0.173281ms)
✔ stop closes the stream, and start opens exactly one (0.141351ms)
✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (0.564475ms)
✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (0.174353ms)
✔ a visible tab that is only being READ closes when idle and comes back on any activity (0.233763ms)
✔ activity while streaming defers the idle close rather than reopening anything (0.127526ms)
✔ a stream failure is never reported as a save failure, and heals on activity (0.163532ms)
✔ an empty response advances the cursor without applying anything (0.115524ms)
✔ a failed fetch leaves the cursor alone so the next notification retries it (0.686952ms)
✔ a decode failure retries once through the raw log, then gives up (0.176226ms)
✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.09144ms)
ℹ tests 16
ℹ suites 0
ℹ pass 16
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 50.557044
=== fixtures: paragraph alignment in the editor
✔ the class names are the ones the server renders (1.019017ms)
✔ left, absent and unknown alignments all render as no class (0.125883ms)
✔ toDOM emits a class only for a known alignment (0.427812ms)
✔ a pasted paragraph round-trips its alignment and nothing else (0.173141ms)
✔ alignFromClasses is the inverse of alignClass for every alignment (0.113059ms)
✔ with no dispatch the command reports and changes nothing (1.513523ms)
✔ every toolbar alignment command sets the value its name promises (0.16775ms)
✔ the command aligns the block the cursor is in, and only that one (0.465913ms)
✔ the command aligns every block a selection spans (0.314432ms)
✔ choosing left clears the attribute rather than storing a value (0.274258ms)
✔ one transaction per click, not one per block (0.3023ms)
✔ the buttons report the alignment of the block the cursor is in (0.230717ms)
✔ a block that has no alignment attribute is left alone (0.30747ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 100.894459
=== fixtures: the font vocabulary and its default
✔ the faces are serif, sans and mono (0.941023ms)
✔ an unmarked run is sans (0.130933ms)
✔ choosing the default clears the mark rather than setting one (0.535322ms)
✔ choosing a non-default face sets that face mark (0.098212ms)
✔ a face this build does not know is not an instruction to clear (0.104744ms)
✔ every font mark reads back as its own face (0.094144ms)
✔ a non-font mark leaves the face at the default (0.092411ms)
✔ a run carrying two font marks reads as the face that is drawn (0.096589ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 44.194992
=== fixtures: what a pasted blank line means
✔ a Google Docs blank line stops being two lines tall (1.003468ms)
✔ two blank lines stay two blank lines (0.147333ms)
✔ a trailing break-only paragraph becomes a trailing blank line (0.131794ms)
✔ a Shift+Enter break inside a line of text is left alone (0.150038ms)
✔ a paragraph ending in a break is left alone (0.113621ms)
✔ an ordinary paste is returned by identity (0.612714ms)
✔ paragraph attributes are carried onto the blank lines (0.123759ms)
✔ a blank line inside a pasted blockquote is fixed too (0.134178ms)
✔ a break-only heading is not a paragraph and is left alone (0.123889ms)
✔ WebKit's copy marker is ignored (0.178691ms)
✔ an ordinary br still parses as a hard_break (0.156089ms)
✔ the slice keeps its open depths (0.091289ms)
ℹ tests 12
ℹ suites 0
ℹ pass 12
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 48.250391
=== fixtures: the indent vocabulary and its clamp
✔ a real level becomes its class (0.62642ms)
✔ zero, null and absent are all the same answer: no indent (0.11887ms)
✔ a run of digits too large for any integer type still clamps (0.530482ms)
✔ a level past the maximum clamps rather than being emitted (0.117016ms)
✔ anything that is not a whole number renders flush left (0.132846ms)
✔ a numeric string is a number, because that is what the wire carries (0.093854ms)
✔ the class round-trips back to its level for a paste (0.125122ms)
✔ the step is the half inch every word processor uses (0.085869ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 44.570237
=== fixtures: the point ladder, and the four-step scale it replaced
✔ the default is offered, is first, and carries no mark (0.693855ms)
✔ every other size maps to its own mark (0.103632ms)
✔ a size string works, because that is what a <select> gives you (0.564856ms)
✔ a size this build does not offer is undefined, never null (0.103732ms)
✔ no marks means the default size (0.133848ms)
✔ a mark reports its own size (0.097351ms)
✔ the four-step scale still reports a size on the ladder (0.112618ms)
✔ the legacy marks are in the group the toolbar clears (0.09698ms)
✔ the ladder wins over a legacy mark on the same run (0.110264ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 45.057658
=== fixtures: the autoformat rules, and the Backspace that undoes one
✔ "- " starts a bulleted list (2.725136ms)
✔ "* " and "+ " start one too (0.408486ms)
✔ "1. " starts a numbered list (0.251937ms)
✔ "> " starts a quote (0.306317ms)
✔ "# " makes a heading, and "### " makes a level-3 one (0.63714ms)
✔ Backspace right after a rule gives back the typed characters (0.508252ms)
✔ Backspace away from a rule declines, leaving Backspace alone (0.157862ms)
✔ the patterns do not fire where they must not (0.09153ms)
✔ a numbered list always starts at 1 while the renderer ignores order (0.248991ms)
ℹ tests 9
ℹ suites 0
ℹ pass 9
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 55.856547
=== fixtures: counting words, including where there are no spaces
✔ nothing is nothing (0.624626ms)
✔ ordinary English (0.106518ms)
✔ punctuation is not a word (0.107639ms)
✔ a language without spaces between words still counts (0.962742ms)
✔ the document count walks every block (0.866455ms)
✔ a paragraph boundary is a word boundary (0.166919ms)
✔ characters are counted with and without spaces (0.153975ms)
✔ no selection means no selection count, not a zero (0.137554ms)
ℹ tests 8
ℹ suites 0
ℹ pass 8
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 58.556495
=== fixtures: which menu items the editor enables
✔ an extraCommands item is enabled by sync (0.811463ms)
✔ print, the module’s own local command, is enabled too (0.161048ms)
✔ an editor command follows what the command reports (0.181406ms)
✔ a checkable item is pressed and enabled while it is the current one (0.239734ms)
✔ the view pair follows the mode after a switch, with no reload (0.212444ms)
✔ an item with no aria-pressed never gains one (0.169655ms)
✔ with no view, editor commands are disabled and local ones are not (0.152262ms)
ℹ tests 7
ℹ suites 0
ℹ pass 7
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 43.075749
=== fixtures: the editor's chrome writes only what changed
✔ a state update that changes nothing writes nothing to the chrome (4.165384ms)
✔ a state update that changes something still writes it (1.0694ms)
✔ no DOM write in either bar bypasses dom-writes.mjs (1.761872ms)
ℹ tests 3
ℹ suites 0
ℹ pass 3
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 102.517945
=== 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 quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling serde_core v1.0.229
Compiling version_check v0.9.5
Compiling zerocopy v0.8.56
Checking cfg-if v1.0.4
Compiling serde v1.0.229
Checking once_cell v1.21.4
Compiling libc v0.2.189
Checking smallvec v1.15.2
Compiling rustversion v1.0.23
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Checking pin-project-lite v0.2.17
Compiling parking_lot_core v0.9.12
Checking parking v2.2.1
Compiling serde_json v1.0.151
Compiling thiserror v2.0.20
Checking event-listener v5.4.2
Compiling autocfg v1.5.1
Checking scopeguard v1.2.0
Compiling paste v1.0.15
Checking memchr v2.8.3
Compiling libm v0.2.16
Checking itoa v1.0.18
Checking lock_api v0.4.14
Compiling ahash v0.8.12
Checking smallstr v0.3.1
Checking event-listener-strategy v0.5.4
Checking fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/core/vendor/fastrand-2.5.0)
Checking foldhash v0.2.0
Checking async-lock v3.4.2
Checking equivalent v1.0.2
Checking indexmap-nostd v0.4.0
Checking downcast-rs v1.2.1
Checking semver v1.0.28
Compiling num-traits v0.2.19
Checking arrayvec v0.7.8
Checking bitflags v2.13.1
Checking multi-stash v0.2.0
Checking spin v0.9.9
Checking wasmparser-nostd v0.100.2
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
Checking indexmap v2.14.1
Compiling num-derive v0.4.2
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 yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/vendor/yrs-0.23.5)
Checking string-interner v0.17.0
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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/core)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s
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 smallvec v1.15.2
Compiling getrandom v0.4.3
Compiling crossbeam-utils v0.8.22
Compiling parking_lot_core v0.9.12
Compiling zmij v1.0.23
Compiling thiserror v2.0.20
Compiling scopeguard v1.2.0
Compiling serde_json v1.0.151
Compiling serde v1.0.229
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling itoa v1.0.18
Compiling once_cell v1.21.4
Compiling hashbrown v0.14.5
Compiling memchr v2.8.3
Compiling smallstr v0.3.1
Compiling event-listener-strategy v0.5.4
Compiling fastrand v2.5.0 (/work/core/vendor/fastrand-2.5.0)
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling dashmap v6.2.1
Compiling syn v3.0.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.38s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
=== rust: build, test
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling libc v0.2.189
Compiling rustversion v1.0.23
Compiling parking_lot_core v0.9.12
Compiling parking v2.2.1
Compiling zmij v1.0.23
Compiling pin-project-lite v0.2.17
Compiling smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling scopeguard v1.2.0
Compiling cfg-if v1.0.4
Compiling serde_json v1.0.151
Compiling serde v1.0.229
Compiling thiserror v2.0.20
Compiling itoa v1.0.18
Compiling lock_api v0.4.14
Compiling event-listener v5.4.2
Compiling memchr v2.8.3
Compiling hashbrown v0.14.5
Compiling once_cell v1.21.4
Compiling smallstr v0.3.1
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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 serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/core)
Finished `release` profile [optimized] target(s) in 8.82s
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 zmij v1.0.23
Compiling crossbeam-utils v0.8.22
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling thiserror v2.0.20
Compiling arc-swap v1.9.2
Compiling foldhash v0.2.0
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/core/vendor/fastrand-2.5.0)
Compiling lock_api v0.4.14
Compiling libm v0.2.16
Compiling event-listener v5.4.2
Compiling num-traits v0.2.19
Compiling indexmap-nostd v0.4.0
Compiling smallstr v0.3.1
Compiling downcast-rs v1.2.1
Compiling equivalent v1.0.2
Compiling multi-stash v0.2.0
Compiling spin v0.9.9
Compiling semver v1.0.28
Compiling bitflags v2.13.1
Compiling arrayvec v0.7.8
Compiling event-listener-strategy v0.5.4
Compiling wasmparser-nostd v0.100.2
Compiling async-lock v3.4.2
Compiling parking_lot_core v0.9.12
Compiling wasmi_core v0.32.3
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling hashbrown v0.17.1
Compiling indexmap v2.14.1
Compiling wasmparser v0.258.0
Compiling ahash v0.8.12
Compiling hashbrown v0.14.5
Compiling dashmap v6.2.1
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.63s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-5fe245b67f1ae54e)
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-cb81206f91183b71)
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-7295f682f166d385)
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 nested_blocks_do_not_duplicate_their_text ... ok
test json_reports_paragraph_alignment ... ok
test reads_paragraphs_as_blocks ... ok
test json_names_every_font_mark ... ok
test renders_a_hard_break_in_every_renderer ... ok
test json_marks_are_in_a_fixed_order ... ok
test json_is_deterministic ... ok
test renders_headings_and_lists ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_marks ... ok
test renders_paragraphs_as_html ... ok
test text_sibling_before_a_block_is_separated ... ok
test unknown_nodes_keep_their_text ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_paragraph_alignment_as_a_class ... ok
test renders_block_indent_as_a_class ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... 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-c682a5d84f03dcd1)
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-3fed20e6ffbec8a6)
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-adbb09104d6acca8)
running 5 tests
test garbage_does_not_verify ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test a_snapshot_of_a_different_document_does_not_verify ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-0a559a3a42821e36)
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
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 Blocking: the same lifetime is referred to in inconsistent ways, making the signature confusing
help waiting for file lock on build directory
: 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
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
warning: unused import: `ArrayRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:644:29
|
644 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:730:25
|
730 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
514 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
|
522 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
|
527 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
528 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `release` profile [optimized] target(s) in 0.03s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (420763 bytes)
test borrow_leak_repro_trapping_unicode_mutation ... ok
test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.16s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-4f2086301e95a77e)
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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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-4f2086301e95a77e)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test applies_hello ... ok
test applies_formatted ... ok
test abi_round_trips_a_fixture ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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-20260924071126-894afdcb71a9
ok github.com/carlosframework/docs/cmd/docs 1.141s
ok github.com/carlosframework/docs/internal/core 9.054s
ok github.com/carlosframework/docs/internal/docs 62.939s
ok github.com/carlosframework/docs/internal/docs/linkstore 0.204s
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.081s
ok github.com/carlosframework/docs/internal/fonts 0.009s
ok github.com/carlosframework/docs/internal/lint 0.031s
? github.com/carlosframework/docs/internal/pdf [no test files]
=== go: build ./... (the app, not just the packages tests import)
gate: ok
=== native ===
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 parking_lot_core v0.9.12
Compiling smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling pin-project-lite v0.2.17
Compiling zmij v1.0.23
Compiling rustversion v1.0.23
Compiling getrandom v0.4.3
Compiling scopeguard v1.2.0
Compiling serde v1.0.229
Compiling thiserror v2.0.20
Compiling serde_json v1.0.151
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling hashbrown v0.14.5
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling once_cell v1.21.4
Compiling smallstr v0.3.1
Compiling event-listener-strategy v0.5.4
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/core/vendor/fastrand-2.5.0)
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling dashmap v6.2.1
Compiling syn v3.0.5
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-native-crdt v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/crdt)
Finished `release` profile [optimized] target(s) in 5.68s
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling libc v0.2.189
Compiling serde_core v1.0.229
Compiling zmij v1.0.23
Compiling smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling parking_lot_core v0.9.12
Compiling parking v2.2.1
Compiling rustversion v1.0.23
Compiling pin-project-lite v0.2.17
Compiling thiserror v2.0.20
Compiling serde_json v1.0.151
Compiling serde v1.0.229
Compiling cfg-if v1.0.4
Compiling scopeguard v1.2.0
Compiling once_cell v1.21.4
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling hashbrown v0.14.5
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling smallstr v0.3.1
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/core/vendor/fastrand-2.5.0)
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling syn v3.0.5
Compiling dashmap v6.2.1
Compiling thiserror-impl v2.0.20
Compiling serde_derive v1.0.229
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-native-crdt v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/crdt)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.74s
Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-8ec1933843038892)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/rule_wire_probe.rs (native/crdt/target/debug/deps/rule_wire_probe-872fea60a5f90181)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/wire_fixture.rs (native/crdt/target/debug/deps/wire_fixture-d7c2358ebe43c1a7)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-d31c4000d96feb8e)
running 4 tests
test deletion_received_before_any_source_update_is_preserved ... ok
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test unknown_client_deletion_survives_snapshot_before_source_arrives ... ok
test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/replica.rs (native/crdt/target/debug/deps/replica-6d8e3de172433843)
running 20 tests
test changing_block_preserves_existing_inline_formatting ... ok
test concatenated_log_applies_every_update ... ok
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test input_rules_transform_and_backspace_restore_typed_prefix ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-cdbaaf41f5cb2bf2)
running 1 test
test every_rule_delta_converges_with_remote_apply ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-fc64e0dff03bb9e1)
running 5 tests
test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... ok
test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test quote_wrap_groups_selected_paragraphs_in_one_container ... ok
test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests docs_native_crdt
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling version_check v0.9.5
Compiling zerocopy v0.8.56
Compiling serde_core v1.0.229
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling cfg-if v1.0.4
Compiling quote v1.0.47
Compiling serde v1.0.229
Compiling autocfg v1.5.1
Compiling once_cell v1.21.4
Compiling libm v0.2.16
Compiling paste v1.0.15
Compiling indexmap-nostd v0.4.0
Compiling zmij v1.0.23
Compiling downcast-rs v1.2.1
Compiling multi-stash v0.2.0
Compiling smallvec v1.15.2
Compiling serde_json v1.0.151
Compiling arrayvec v0.7.8
Compiling spin v0.9.9
Compiling memchr v2.8.3
Compiling wasmparser-nostd v0.100.2
Compiling itoa v1.0.18
Compiling ahash v0.8.12
Compiling num-traits v0.2.19
Compiling syn v2.0.119
Compiling wasmi_core v0.32.3
Compiling num-derive v0.4.2
Compiling hashbrown v0.14.5
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling wasmi v0.32.3
Compiling docs-native-host v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/native/host)
Finished `test` profile [unoptimized + debuginfo] target(s) in 6.08s
Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e64b9f7cfe9d7d5e)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-672ce98f639da64f)
running 5 tests
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok
test interpreter_executes_native_crdt_without_host_imports ... ok
test selection_anchor_call_does_not_poison_source_interpreter ... ok
test failed_replica_cannot_be_reused ... ok
test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
Doc-tests docs_native_host
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
added 20 packages in 365ms
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: unused import: `ArrayRef`
--> /home/paulca/.local/state/amadan/runner/repos/oficina__docs/wt/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/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/chore__estilo-894afdc/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies.
Native checks passed (core-only=1).
fixtures/menu.mjsLoading diff…
fixtures/menu.test.mjsLoading diff…
go.modLoading diff…
go.sumLoading diff…
internal/docs/chrome.goLoading diff…
internal/docs/handlers.goLoading diff…
internal/docs/share_page_test.goLoading diff…
internal/docs/static/{editor.1407830d50c4f292.js => editor.fedd7579de35d95f.js}Loading diff…
internal/docs/views/share.htmlLoading diff…