CI cancelled — superseded by a newer push 2m
- Runner
hosted/hj-fa9d5fa7829bd24962ea6615-550-1- Reported by
hosted/hj-fa9d5fa7829bd24962ea6615-550-1- Queued
- Started
- Waited for a runner
- 25s
- Last change
- Attempt
- 1 of 2
Steps run in order, one after another.
-
gate cancelled 1m 58s
=== fixtures: node dependencies added 18 packages, and audited 19 packages in 1s 5 packages are looking for funding run `npm fund` for details found 0 vulnerabilities === fixtures: the save queue's retry/drop logic (F1 regression) TAP version 13 # Subtest: a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit ok 1 - a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit --- duration_ms: 73.723246 type: 'test' ... # Subtest: a network failure or a 5xx is retried, not dropped ok 2 - a network failure or a 5xx is retried, not dropped --- duration_ms: 40.433356 type: 'test' ... # Subtest: a 500 is retried the same way a network failure is, never dropped ok 3 - a 500 is retried the same way a network failure is, never dropped --- duration_ms: 41.288019 type: 'test' ... # Subtest: an edit made while a save is on the wire waits for it, and both stay owed until answered ok 4 - an edit made while a save is on the wire waits for it, and both stay owed until answered --- duration_ms: 1.498374 type: 'test' ... # Subtest: a save that fails while a later edit waits is retried first, with the later edit behind it ok 5 - a save that fails while a later edit waits is retried first, with the later edit behind it --- duration_ms: 1.685918 type: 'test' ... # Subtest: a refusal is final and is never merged into the edit that waited behind it ok 6 - a refusal is final and is never merged into the edit that waited behind it --- duration_ms: 0.923051 type: 'test' ... # Subtest: flush() resolves once every earlier edit is answered: true if saved, false if refused ok 7 - flush() resolves once every earlier edit is answered: true if saved, false if refused --- duration_ms: 1.872342 type: 'test' ... # Subtest: the queue says saving, not ok, while an answered save leaves another to send ok 8 - the queue says saving, not ok, while an answered save leaves another to send --- duration_ms: 0.776428 type: 'test' ... # Subtest: a save is sent keepalive, and given up if it is never answered ok 9 - a save is sent keepalive, and given up if it is never answered --- duration_ms: 22.560408 type: 'test' ... # Subtest: a batch carries at most maxBatchBytes, and the rest follow in order once it is answered ok 10 - a batch carries at most maxBatchBytes, and the rest follow in order once it is answered --- duration_ms: 1.588252 type: 'test' ... # Subtest: an update bigger than maxBatchBytes still goes, on its own ok 11 - an update bigger than maxBatchBytes still goes, on its own --- duration_ms: 0.737741 type: 'test' ... # Subtest: a save never answered is given up, retried with a real request, and its late answer ignored ok 12 - a save never answered is given up, retried with a real request, and its late answer ignored --- duration_ms: 0.879228 type: 'test' ... # Subtest: resume sends again at once what was on the wire as the page left, without saying it failed ok 13 - resume sends again at once what was on the wire as the page left, without saying it failed --- duration_ms: 0.798478 type: 'test' ... # Subtest: a keepalive save on the wire is left out of what the unload beacons; a plain one is kept ok 14 - a keepalive save on the wire is left out of what the unload beacons; a plain one is kept --- duration_ms: 0.914475 type: 'test' ... # Subtest: a save refused with no answer says retrying only if the server cannot be reached either ok 15 - a save refused with no answer says retrying only if the server cannot be reached either --- duration_ms: 1.062351 type: 'test' ... # Subtest: retries the browser refuses while the server answers back off, and reset once one is answered ok 16 - retries the browser refuses while the server answers back off, and reset once one is answered --- duration_ms: 2.614404 type: 'test' ... # Subtest: reachable tries a keepalive request, then an ordinary one ok 17 - reachable tries a keepalive request, then an ordinary one --- duration_ms: 0.479773 type: 'test' ... # Subtest: a large save is gzipped, and goes keepalive if what is sent fits ok 18 - a large save is gzipped, and goes keepalive if what is sent fits --- duration_ms: 2.643077 type: 'test' ... # Subtest: a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip ok 19 - a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip --- duration_ms: 76.572462 type: 'test' ... # Subtest: a refused save that was not gzipped is not sent again ok 20 - a refused save that was not gzipped is not sent again --- duration_ms: 2.077112 type: 'test' ... 1..20 # tests 20 # suites 0 # pass 20 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 335.49749 === fixtures: the resync retry/backoff state machine (fix round 2 regression) TAP version 13 # Subtest: a resync that fails is retried with backoff until it succeeds, without ever running twice at once ok 1 - a resync that fails is retried with backoff until it succeeds, without ever running twice at once --- duration_ms: 1.984694 type: 'test' ... # Subtest: the browser's online event retries immediately, not just on the next backoff tick ok 2 - the browser's online event retries immediately, not just on the next backoff tick --- duration_ms: 0.362391 type: 'test' ... # Subtest: reportDivergence before any failure runs the first attempt without a caller ever calling online ok 3 - reportDivergence before any failure runs the first attempt without a caller ever calling online --- duration_ms: 1.035307 type: 'test' ... 1..3 # tests 3 # suites 0 # pass 3 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 61.364182 === fixtures: what a resync carries, and the replay of a waiting paste TAP version 13 # Subtest: a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe) ok 1 - a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe) --- duration_ms: 22.521922 type: 'test' ... # Subtest: a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste ok 2 - a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste --- duration_ms: 4.219914 type: 'test' ... # Subtest: a paste that waited for its font is kept: (g) the refused x after the paste point ok 3 - a paste that waited for its font is kept: (g) the refused x after the paste point --- duration_ms: 3.233559 type: 'test' ... # Subtest: a paste that waited for its font is kept: (c) two refused x, the paste after the second ok 4 - a paste that waited for its font is kept: (c) two refused x, the paste after the second --- duration_ms: 3.074457 type: 'test' ... # Subtest: a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end ok 5 - a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end --- duration_ms: 2.962779 type: 'test' ... # Subtest: a paste that waited for its font is kept: (e) the paste over "paragraph.x" ok 6 - a paste that waited for its font is kept: (e) the paste over "paragraph.x" --- duration_ms: 4.354508 type: 'test' ... # Subtest: a paste that waited for its font is kept: (f) a refused deletion elsewhere ok 7 - a paste that waited for its font is kept: (f) a refused deletion elsewhere --- duration_ms: 4.388872 type: 'test' ... # Subtest: a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x ok 8 - a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x --- duration_ms: 3.034021 type: 'test' ... # Subtest: a paste that waited for its font is kept: (j) a colleague's words before, the refused x after ok 9 - a paste that waited for its font is kept: (j) a colleague's words before, the refused x after --- duration_ms: 4.008833 type: 'test' ... # Subtest: a paste that waited for its font is kept: (k) a colleague appended where the x was refused ok 10 - a paste that waited for its font is kept: (k) a colleague appended where the x was refused --- duration_ms: 3.347615 type: 'test' ... # Subtest: a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's ok 11 - a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's --- duration_ms: 1.936865 type: 'test' ... # Subtest: a paste made elsewhere carries as its own updates, not a replay ok 12 - a paste made elsewhere carries as its own updates, not a replay --- duration_ms: 1.594714 type: 'test' ... # Subtest: the replay is one change for an undo manager tracking the carried origin ok 13 - the replay is one change for an undo manager tracking the carried origin --- duration_ms: 3.028123 type: 'test' ... # Subtest: every update written on top of the refused text is held back, not only the first ok 14 - every update written on top of the refused text is held back, not only the first --- duration_ms: 1.571612 type: 'test' ... # Subtest: a Backspace over the refused text is held back ok 15 - a Backspace over the refused text is held back --- duration_ms: 0.927796 type: 'test' ... # Subtest: of an update that partly took, the part that took is posted, and nothing the server would hold pending ok 16 - of an update that partly took, the part that took is posted, and nothing the server would hold pending --- duration_ms: 1.906943 type: 'test' ... # Subtest: an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words ok 17 - an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words --- duration_ms: 1.510582 type: 'test' ... # Subtest: a paste elsewhere is posted and a keystroke after the refused x is not ok 18 - a paste elsewhere is posted and a keystroke after the refused x is not --- duration_ms: 1.188121 type: 'test' ... # Subtest: took reads all, some and none from the update itself ok 19 - took reads all, some and none from the update itself --- duration_ms: 1.151322 type: 'test' ... # Subtest: a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client) ok 20 - a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client) --- duration_ms: 2.164942 type: 'test' ... # Subtest: a paste right after a refused repeated letter lands where it was made ok 21 - a paste right after a refused repeated letter lands where it was made --- duration_ms: 2.47964 type: 'test' ... # Subtest: a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere) ok 22 - a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere) --- duration_ms: 2.307942 type: 'test' ... # Subtest: a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text) ok 23 - a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text) --- duration_ms: 1.245559 type: 'test' ... # Subtest: the keeper groups the updates of one held change into one entry, and hands the entries over once ok 24 - the keeper groups the updates of one held change into one entry, and hands the entries over once --- duration_ms: 0.562755 type: 'test' ... # Subtest: every change made while diverged is kept, whatever it was written on ok 25 - every change made while diverged is kept, whatever it was written on --- duration_ms: 6.283344 type: 'test' ... # Subtest: a change that cannot be kept in the middle loses nothing after it ok 26 - a change that cannot be kept in the middle loses nothing after it --- duration_ms: 3.240173 type: 'test' ... # Subtest: a replay that cannot be made falls back to what of the change's own updates integrates ok 27 - a replay that cannot be made falls back to what of the change's own updates integrates --- duration_ms: 1.439215 type: 'test' ... # Subtest: the carried changes undo in the steps they were made in ok 28 - the carried changes undo in the steps they were made in --- duration_ms: 3.675801 type: 'test' ... # Subtest: a multi-step change replays each step where it was made: an insert, then an insert just before the refused text ok 29 - a multi-step change replays each step where it was made: an insert, then an insert just before the refused text --- duration_ms: 0.816022 type: 'test' ... # Subtest: a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on ok 30 - a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on --- duration_ms: 2.748253 type: 'test' ... # Subtest: a multi-step change replays each step where it was made: a delete, then an insert past the refused text ok 31 - a multi-step change replays each step where it was made: a delete, then an insert past the refused text --- duration_ms: 0.256668 type: 'test' ... # Subtest: a mark made over an insertion in the same change covers all of it ok 32 - a mark made over an insertion in the same change covers all of it --- duration_ms: 0.327501 type: 'test' ... # Subtest: a multi-step change on the refused text is replayed where it was made, on the page and the server ok 33 - a multi-step change on the refused text is replayed where it was made, on the page and the server --- duration_ms: 1.784172 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace ok 34 - an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace --- duration_ms: 4.109104 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo ok 35 - an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo --- duration_ms: 3.468976 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo ok 36 - an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo --- duration_ms: 2.935069 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed ok 37 - an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed --- duration_ms: 3.844482 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo ok 38 - an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo --- duration_ms: 4.261921 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo ok 39 - an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo --- duration_ms: 2.639718 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo ok 40 - an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo --- duration_ms: 4.611359 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c" ok 41 - an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c" --- duration_ms: 6.505934 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo ok 42 - an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo --- duration_ms: 3.235858 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo ok 43 - an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo --- duration_ms: 5.004208 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo ok 44 - an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo --- duration_ms: 2.692942 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo ok 45 - an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo --- duration_ms: 4.043714 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo ok 46 - an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo --- duration_ms: 2.746133 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo ok 47 - an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo --- duration_ms: 2.12936 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b" ok 48 - an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b" --- duration_ms: 2.600022 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo ok 49 - an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo --- duration_ms: 2.385651 type: 'test' ... # Subtest: an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c" ok 50 - an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c" --- duration_ms: 3.005477 type: 'test' ... # Subtest: an undo of a change saved before the refusal is still carried ok 51 - an undo of a change saved before the refusal is still carried --- duration_ms: 2.050507 type: 'test' ... # Subtest: derivedStep turns one document into the other, and is null for the same one ok 52 - derivedStep turns one document into the other, and is null for the same one --- duration_ms: 0.238669 type: 'test' ... # Subtest: carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids ok 53 - carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids --- duration_ms: 2238.73755 type: 'test' ... # Subtest: carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids ok 54 - carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids --- duration_ms: 4390.162596 type: 'test' ... # Subtest: a client id never collides with one the document already holds ok 55 - a client id never collides with one the document already holds --- duration_ms: 0.448424 type: 'test' ... # Subtest: ProseMirror changes inside one window share an id; one held back there does not strand the next ok 56 - ProseMirror changes inside one window share an id; one held back there does not strand the next --- duration_ms: 1.987747 type: 'test' ... 1..56 # tests 56 # suites 0 # pass 56 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 7000.304053 === fixtures: the live-update cursor and connection policy TAP version 13 # Subtest: a tab advances its own cursor only when its POST is the very next row ok 1 - a tab advances its own cursor only when its POST is the very next row --- duration_ms: 1.417836 type: 'test' ... # Subtest: the cursor never moves backwards when a response is overtaken by this tab's own write ok 2 - the cursor never moves backwards when a response is overtaken by this tab's own write --- duration_ms: 0.709593 type: 'test' ... # Subtest: a later response still carries the cursor forward ok 3 - a later response still carries the cursor forward --- duration_ms: 0.307961 type: 'test' ... # Subtest: a burst of notifications collapses into one fetch at a time ok 4 - a burst of notifications collapses into one fetch at a time --- duration_ms: 0.289049 type: 'test' ... # Subtest: an event naming a seq the tab already has fetches nothing ok 5 - an event naming a seq the tab already has fetches nothing --- duration_ms: 0.387879 type: 'test' ... # Subtest: a stopped subscriber drops a response that arrives late ok 6 - a stopped subscriber drops a response that arrives late --- duration_ms: 0.275172 type: 'test' ... # Subtest: stop closes the stream, and start opens exactly one ok 7 - stop closes the stream, and start opens exactly one --- duration_ms: 0.357186 type: 'test' ... # Subtest: a hidden tab closes its stream on a shortened deadline, and activity reopens it ok 8 - a hidden tab closes its stream on a shortened deadline, and activity reopens it --- duration_ms: 0.864168 type: 'test' ... # Subtest: switching away and back inside the grace never drops the stream, so nothing has to be caught up ok 9 - switching away and back inside the grace never drops the stream, so nothing has to be caught up --- duration_ms: 0.911839 type: 'test' ... # Subtest: a visible tab that is only being READ closes when idle and comes back on any activity ok 10 - a visible tab that is only being READ closes when idle and comes back on any activity --- duration_ms: 0.74178 type: 'test' ... # Subtest: activity while streaming defers the idle close rather than reopening anything ok 11 - activity while streaming defers the idle close rather than reopening anything --- duration_ms: 0.321929 type: 'test' ... # Subtest: a stream failure is never reported as a save failure, and heals on activity ok 12 - a stream failure is never reported as a save failure, and heals on activity --- duration_ms: 1.09522 type: 'test' ... # Subtest: an empty response advances the cursor without applying anything ok 13 - an empty response advances the cursor without applying anything --- duration_ms: 0.185062 type: 'test' ... # Subtest: a failed fetch leaves the cursor alone so the next notification retries it ok 14 - a failed fetch leaves the cursor alone so the next notification retries it --- duration_ms: 0.26135 type: 'test' ... # Subtest: a decode failure retries once through the raw log, then gives up ok 15 - a decode failure retries once through the raw log, then gives up --- duration_ms: 0.209741 type: 'test' ... # Subtest: updatesURL spells the query string exactly, in particular raw as the literal raw=1 ok 16 - updatesURL spells the query string exactly, in particular raw as the literal raw=1 --- duration_ms: 0.140058 type: 'test' ... # Subtest: an update that waits holds the next one behind it ok 17 - an update that waits holds the next one behind it --- duration_ms: 10.414823 type: 'test' ... # Subtest: leaving the page closes the stream at once, and coming back reopens it and catches up ok 18 - leaving the page closes the stream at once, and coming back reopens it and catches up --- duration_ms: 0.532269 type: 'test' ... # Subtest: a page left before its subscriber starts never opens a stream ok 19 - a page left before its subscriber starts never opens a stream --- duration_ms: 0.199137 type: 'test' ... 1..19 # tests 19 # suites 0 # pass 19 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 80.209228 === fixtures: paragraph alignment in the editor TAP version 13 # Subtest: the class names are the ones the server renders ok 1 - the class names are the ones the server renders --- duration_ms: 2.822589 type: 'test' ... # Subtest: left, absent and unknown alignments all render as no class ok 2 - left, absent and unknown alignments all render as no class --- duration_ms: 0.226489 type: 'test' ... # Subtest: toDOM emits a class only for a known alignment ok 3 - toDOM emits a class only for a known alignment --- duration_ms: 0.85956 type: 'test' ... # Subtest: a pasted paragraph round-trips its alignment and nothing else ok 4 - a pasted paragraph round-trips its alignment and nothing else --- duration_ms: 0.289599 type: 'test' ... # Subtest: alignFromClasses is the inverse of alignClass for every alignment ok 5 - alignFromClasses is the inverse of alignClass for every alignment --- duration_ms: 0.278569 type: 'test' ... # Subtest: with no dispatch the command reports and changes nothing ok 6 - with no dispatch the command reports and changes nothing --- duration_ms: 2.366486 type: 'test' ... # Subtest: every toolbar alignment command sets the value its name promises ok 7 - every toolbar alignment command sets the value its name promises --- duration_ms: 0.384262 type: 'test' ... # Subtest: the command aligns the block the cursor is in, and only that one ok 8 - the command aligns the block the cursor is in, and only that one --- duration_ms: 0.850425 type: 'test' ... # Subtest: the command aligns every block a selection spans ok 9 - the command aligns every block a selection spans --- duration_ms: 0.997331 type: 'test' ... # Subtest: choosing left clears the attribute rather than storing a value ok 10 - choosing left clears the attribute rather than storing a value --- duration_ms: 0.969184 type: 'test' ... # Subtest: one transaction per click, not one per block ok 11 - one transaction per click, not one per block --- duration_ms: 0.86992 type: 'test' ... # Subtest: the buttons report the alignment of the block the cursor is in ok 12 - the buttons report the alignment of the block the cursor is in --- duration_ms: 0.480345 type: 'test' ... # Subtest: a block that has no alignment attribute is left alone ok 13 - a block that has no alignment attribute is left alone --- duration_ms: 0.538202 type: 'test' ... 1..13 # tests 13 # suites 0 # pass 13 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 158.483539 === fixtures: the font vocabulary and its default TAP version 13 # Subtest: the picker offers the sixteen families, Carlito and Caladea first ok 1 - the picker offers the sixteen families, Carlito and Caladea first --- duration_ms: 2.573522 type: 'test' ... # Subtest: an unmarked run is Carlito ok 2 - an unmarked run is Carlito --- duration_ms: 0.358984 type: 'test' ... # Subtest: code is Liberation Mono ok 3 - code is Liberation Mono --- duration_ms: 0.138162 type: 'test' ... # Subtest: choosing the default clears the mark rather than setting one ok 4 - choosing the default clears the mark rather than setting one --- duration_ms: 0.139296 type: 'test' ... # Subtest: choosing another family sets its mark, Liberation keeping its old keys ok 5 - choosing another family sets its mark, Liberation keeping its old keys --- duration_ms: 0.269271 type: 'test' ... # Subtest: a face this build does not know is not an instruction to clear ok 6 - a face this build does not know is not an instruction to clear --- duration_ms: 0.121194 type: 'test' ... # Subtest: every font mark reads back as its own family ok 7 - every font mark reads back as its own family --- duration_ms: 0.307832 type: 'test' ... # Subtest: a run carrying two font marks reads as the innermost, the later in the manifest ok 8 - a run carrying two font marks reads as the innermost, the later in the manifest --- duration_ms: 0.138498 type: 'test' ... # Subtest: every family has a regular, and Caveat no italic ok 9 - every family has a regular, and Caveat no italic --- duration_ms: 0.692046 type: 'test' ... # Subtest: fontKeysIn picks out the families a set of marks asks for ok 10 - fontKeysIn picks out the families a set of marks asks for --- duration_ms: 0.649665 type: 'test' ... # Subtest: a pasted font stack is read in order, the first family that maps winning ok 11 - a pasted font stack is read in order, the first family that maps winning --- duration_ms: 1.982621 type: 'test' ... 1..11 # tests 11 # suites 0 # pass 11 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 72.489218 === fixtures: fonts load before text is painted in them TAP version 13 # Subtest: the CSS a face is loaded by ok 1 - the CSS a face is loaded by --- duration_ms: 1.229801 type: 'test' ... # Subtest: the gate waits for the faces the page needs, and commits what misses the deadline ok 2 - the gate waits for the faces the page needs, and commits what misses the deadline --- duration_ms: 6.922529 type: 'test' ... # Subtest: the previews have their own wait and never hold the paper ok 3 - the previews have their own wait and never hold the paper --- duration_ms: 0.962242 type: 'test' ... # Subtest: a family on screen is never committed, whatever is late ok 4 - a family on screen is never committed, whatever is late --- duration_ms: 2.105247 type: 'test' ... # Subtest: a collaborator's change waits for the code face though it names no font ok 5 - a collaborator's change waits for the code face though it names no font --- duration_ms: 1.175667 type: 'test' ... # Subtest: a family a change introduces waits, and is committed if it is not on screen and late ok 6 - a family a change introduces waits, and is committed if it is not on screen and late --- duration_ms: 0.893042 type: 'test' ... # Subtest: the byte scan finds every family a Yjs update names ok 7 - the byte scan finds every family a Yjs update names --- duration_ms: 0.998992 type: 'test' ... # Subtest: without the gate, the editor shows the held page in its system faces ok 8 - without the gate, the editor shows the held page in its system faces --- duration_ms: 0.34622 type: 'test' ... # Subtest: faceURLs reads every Docs face off the stylesheet, by family, weight and style ok 9 - faceURLs reads every Docs face off the stylesheet, by family, weight and style --- duration_ms: 1.111469 type: 'test' ... # Subtest: prefetch fetches each face when idle, then loads it from the cache, and never commits ok 10 - prefetch fetches each face when idle, then loads it from the cache, and never commits --- duration_ms: 3.504904 type: 'test' ... # Subtest: prefetch leaves a family alone once an action is loading it, and a wait shares the load ok 11 - prefetch leaves a family alone once an action is loading it, and a wait shares the load --- duration_ms: 1.261693 type: 'test' ... # Subtest: commitFallback commits a family that is not on screen, and refuses one that is ok 12 - commitFallback commits a family that is not on screen, and refuses one that is --- duration_ms: 0.407132 type: 'test' ... # Subtest: the status strip says one thing at a time, and a timed note does not clear a later one ok 13 - the status strip says one thing at a time, and a timed note does not clear a later one --- duration_ms: 0.408222 type: 'test' ... 1..13 # tests 13 # suites 0 # pass 13 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 4083.741763 === fixtures: what a pasted blank line means TAP version 13 # Subtest: a Google Docs blank line stops being two lines tall ok 1 - a Google Docs blank line stops being two lines tall --- duration_ms: 1.727262 type: 'test' ... # Subtest: two blank lines stay two blank lines ok 2 - two blank lines stay two blank lines --- duration_ms: 0.332758 type: 'test' ... # Subtest: a trailing break-only paragraph becomes a trailing blank line ok 3 - a trailing break-only paragraph becomes a trailing blank line --- duration_ms: 0.197258 type: 'test' ... # Subtest: a Shift+Enter break inside a line of text is left alone ok 4 - a Shift+Enter break inside a line of text is left alone --- duration_ms: 0.20858 type: 'test' ... # Subtest: a paragraph ending in a break is left alone ok 5 - a paragraph ending in a break is left alone --- duration_ms: 0.953313 type: 'test' ... # Subtest: an ordinary paste is returned by identity ok 6 - an ordinary paste is returned by identity --- duration_ms: 0.302989 type: 'test' ... # Subtest: paragraph attributes are carried onto the blank lines ok 7 - paragraph attributes are carried onto the blank lines --- duration_ms: 0.349121 type: 'test' ... # Subtest: a blank line inside a pasted blockquote is fixed too ok 8 - a blank line inside a pasted blockquote is fixed too --- duration_ms: 0.19808 type: 'test' ... # Subtest: a break-only heading is not a paragraph and is left alone ok 9 - a break-only heading is not a paragraph and is left alone --- duration_ms: 0.560285 type: 'test' ... # Subtest: WebKit's copy marker is ignored ok 10 - WebKit's copy marker is ignored --- duration_ms: 0.694088 type: 'test' ... # Subtest: an ordinary br still parses as a hard_break ok 11 - an ordinary br still parses as a hard_break --- duration_ms: 0.343865 type: 'test' ... # Subtest: the slice keeps its open depths ok 12 - the slice keeps its open depths --- duration_ms: 0.141907 type: 'test' ... 1..12 # tests 12 # suites 0 # pass 12 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 80.079542 === fixtures: the indent vocabulary and its clamp TAP version 13 # Subtest: a real level becomes its class ok 1 - a real level becomes its class --- duration_ms: 1.09574 type: 'test' ... # Subtest: zero, null and absent are all the same answer: no indent ok 2 - zero, null and absent are all the same answer: no indent --- duration_ms: 0.231292 type: 'test' ... # Subtest: a run of digits too large for any integer type still clamps ok 3 - a run of digits too large for any integer type still clamps --- duration_ms: 0.99348 type: 'test' ... # Subtest: a level past the maximum clamps rather than being emitted ok 4 - a level past the maximum clamps rather than being emitted --- duration_ms: 0.182881 type: 'test' ... # Subtest: anything that is not a whole number renders flush left ok 5 - anything that is not a whole number renders flush left --- duration_ms: 0.19599 type: 'test' ... # Subtest: a numeric string is a number, because that is what the wire carries ok 6 - a numeric string is a number, because that is what the wire carries --- duration_ms: 0.145231 type: 'test' ... # Subtest: the class round-trips back to its level for a paste ok 7 - the class round-trips back to its level for a paste --- duration_ms: 0.194865 type: 'test' ... # Subtest: the step is the half inch every word processor uses ok 8 - the step is the half inch every word processor uses --- duration_ms: 0.115059 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 64.635235 === fixtures: the point ladder, and the four-step scale it replaced TAP version 13 # Subtest: the default is offered, is first, and carries no mark ok 1 - the default is offered, is first, and carries no mark --- duration_ms: 1.106473 type: 'test' ... # Subtest: every other size maps to its own mark ok 2 - every other size maps to its own mark --- duration_ms: 0.257796 type: 'test' ... # Subtest: a size string works, because that is what a <select> gives you ok 3 - a size string works, because that is what a <select> gives you --- duration_ms: 0.181764 type: 'test' ... # Subtest: a size this build does not offer is undefined, never null ok 4 - a size this build does not offer is undefined, never null --- duration_ms: 0.135555 type: 'test' ... # Subtest: no marks means the default size ok 5 - no marks means the default size --- duration_ms: 0.354798 type: 'test' ... # Subtest: a mark reports its own size ok 6 - a mark reports its own size --- duration_ms: 0.143851 type: 'test' ... # Subtest: the four-step scale still reports a size on the ladder ok 7 - the four-step scale still reports a size on the ladder --- duration_ms: 0.270986 type: 'test' ... # Subtest: the legacy marks are in the group the toolbar clears ok 8 - the legacy marks are in the group the toolbar clears --- duration_ms: 0.139126 type: 'test' ... # Subtest: the ladder wins over a legacy mark on the same run ok 9 - the ladder wins over a legacy mark on the same run --- duration_ms: 0.603801 type: 'test' ... 1..9 # tests 9 # suites 0 # pass 9 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 69.188193 === fixtures: the autoformat rules, and the Backspace that undoes one TAP version 13 # Subtest: "- " starts a bulleted list ok 1 - "- " starts a bulleted list --- duration_ms: 4.474877 type: 'test' ... # Subtest: "* " and "+ " start one too ok 2 - "* " and "+ " start one too --- duration_ms: 1.154748 type: 'test' ... # Subtest: "1. " starts a numbered list ok 3 - "1. " starts a numbered list --- duration_ms: 0.630857 type: 'test' ... # Subtest: "> " starts a quote ok 4 - "> " starts a quote --- duration_ms: 1.014925 type: 'test' ... # Subtest: "\# " makes a heading, and "\#\#\# " makes a level-3 one ok 5 - "\# " makes a heading, and "\#\#\# " makes a level-3 one --- duration_ms: 1.111783 type: 'test' ... # Subtest: Backspace right after a rule gives back the typed characters ok 6 - Backspace right after a rule gives back the typed characters --- duration_ms: 1.064946 type: 'test' ... # Subtest: Backspace away from a rule declines, leaving Backspace alone ok 7 - Backspace away from a rule declines, leaving Backspace alone --- duration_ms: 0.480953 type: 'test' ... # Subtest: the patterns do not fire where they must not ok 8 - the patterns do not fire where they must not --- duration_ms: 0.141568 type: 'test' ... # Subtest: a numbered list always starts at 1 while the renderer ignores order ok 9 - a numbered list always starts at 1 while the renderer ignores order --- duration_ms: 0.917785 type: 'test' ... 1..9 # tests 9 # suites 0 # pass 9 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 93.093456 === fixtures: counting words, including where there are no spaces TAP version 13 # Subtest: nothing is nothing ok 1 - nothing is nothing --- duration_ms: 1.071007 type: 'test' ... # Subtest: ordinary English ok 2 - ordinary English --- duration_ms: 0.289801 type: 'test' ... # Subtest: punctuation is not a word ok 3 - punctuation is not a word --- duration_ms: 0.15334 type: 'test' ... # Subtest: a language without spaces between words still counts ok 4 - a language without spaces between words still counts --- duration_ms: 11.214897 type: 'test' ... # Subtest: the document count walks every block ok 5 - the document count walks every block --- duration_ms: 1.694366 type: 'test' ... # Subtest: a paragraph boundary is a word boundary ok 6 - a paragraph boundary is a word boundary --- duration_ms: 0.415514 type: 'test' ... # Subtest: characters are counted with and without spaces ok 7 - characters are counted with and without spaces --- duration_ms: 0.337991 type: 'test' ... # Subtest: no selection means no selection count, not a zero ok 8 - no selection means no selection count, not a zero --- duration_ms: 0.360704 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 112.537225 === fixtures: which menu items the editor enables TAP version 13 # Subtest: an extraCommands item is enabled by sync ok 1 - an extraCommands item is enabled by sync --- duration_ms: 1.908388 type: 'test' ... # Subtest: print, the module’s own local command, is enabled too ok 2 - print, the module’s own local command, is enabled too --- duration_ms: 0.312714 type: 'test' ... # Subtest: an editor command follows what the command reports ok 3 - an editor command follows what the command reports --- duration_ms: 0.219737 type: 'test' ... # Subtest: a checkable item is pressed and enabled while it is the current one ok 4 - a checkable item is pressed and enabled while it is the current one --- duration_ms: 0.393789 type: 'test' ... # Subtest: the view pair follows the mode after a switch, with no reload ok 5 - the view pair follows the mode after a switch, with no reload --- duration_ms: 0.263346 type: 'test' ... # Subtest: an item with no aria-pressed never gains one ok 6 - an item with no aria-pressed never gains one --- duration_ms: 0.348969 type: 'test' ... # Subtest: with no view, editor commands are disabled and local ones are not ok 7 - with no view, editor commands are disabled and local ones are not --- duration_ms: 0.166816 type: 'test' ... 1..7 # tests 7 # suites 0 # pass 7 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 65.941627 === fixtures: the editor's chrome writes only what changed TAP version 13 # Subtest: a state update that changes nothing writes nothing to the chrome ok 1 - a state update that changes nothing writes nothing to the chrome --- duration_ms: 7.301864 type: 'test' ... # Subtest: a state update that changes something still writes it ok 2 - a state update that changes something still writes it --- duration_ms: 2.470333 type: 'test' ... # Subtest: no DOM write in either bar bypasses dom-writes.mjs ok 3 - no DOM write in either bar bypasses dom-writes.mjs --- duration_ms: 5.205684 type: 'test' ... # Subtest: both undo/redo pairs are synced and neither is in the roving tab stop ok 4 - both undo/redo pairs are synced and neither is in the roving tab stop --- duration_ms: 1.361486 type: 'test' ... # Subtest: the arrow keys walk the bar in reading order: the pickers, then the buttons ok 5 - the arrow keys walk the bar in reading order: the pickers, then the buttons --- duration_ms: 1.048077 type: 'test' ... 1..5 # tests 5 # suites 0 # pass 5 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 166.830903 === fixtures: the formatting bar's tab stop reaches only drawn controls TAP version 13 # Subtest: the tab stop skips a control that is not drawn ok 1 - the tab stop skips a control that is not drawn --- duration_ms: 1.154904 type: 'test' ... # Subtest: with nothing drawn, focusStop reports false and focuses nothing ok 2 - with nothing drawn, focusStop reports false and focuses nothing --- duration_ms: 0.257906 type: 'test' ... # Subtest: a stop whose control stops being drawn moves to one that is ok 3 - a stop whose control stops being drawn moves to one that is --- duration_ms: 0.301781 type: 'test' ... # Subtest: the arrow keys walk only the drawn controls ok 4 - the arrow keys walk only the drawn controls --- duration_ms: 0.235356 type: 'test' ... 1..4 # tests 4 # suites 0 # pass 4 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 62.660575 === the editor bundle must match a fresh build wrote internal/docs/static/editor.764c2a5845d72784.js (359900 bytes) wrote internal/docs/static/jumpto.58ca95c441b1bd49.js (3234 bytes) wrote internal/docs/static/share.b7f152cdd9e793ac.js (603 bytes) wrote internal/docs/static/fontsgate.7161919aa93533b1.js (14291 bytes) wrote internal/docs/static/fontshold.1a1f5ca5b87eb00d.js (440 bytes) === rust: fmt === the embedded wasm must be built from these sources wasm-stamp: internal/core/testdata/docs_core.wasm was built from these inputs === wasm: clippy, then the artifact the host embeds Updating crates.io index Downloading crates ... Downloaded ahash v0.8.12 Downloaded downcast-rs v1.2.1 Downloaded cfg-if v1.0.4 Downloaded arrayvec v0.7.8 Downloaded async-lock v3.4.2 Downloaded async-trait v0.1.92 Downloaded autocfg v1.5.1 Downloaded bitflags v2.13.1 Downloaded semver v1.0.28 Downloaded arc-swap v1.9.2 Downloaded equivalent v1.0.2 Downloaded smallstr v0.3.1 Downloaded scopeguard v1.2.0 Downloaded version_check v0.9.5 Downloaded parking v2.2.1 Downloaded pin-project-lite v0.2.17 Downloaded itoa v1.0.18 Downloaded event-listener-strategy v0.5.4 Downloaded multi-stash v0.2.0 Downloaded num-derive v0.4.2 Downloaded indexmap-nostd v0.4.0 Downloaded string-interner v0.17.0 Downloaded dashmap v6.2.1 Downloaded quote v1.0.47 Downloaded rustversion v1.0.23 Downloaded wasmi_core v0.32.3 Downloaded zmij v1.0.23 Downloaded smallvec v1.15.2 Downloaded lock_api v0.4.14 Downloaded unicode-ident v1.0.24 Downloaded thiserror v2.0.20 Downloaded thiserror-impl v2.0.20 Downloaded wasmi_collections v0.32.3 Downloaded once_cell v1.21.4 Downloaded paste v1.0.15 Downloaded crossbeam-utils v0.8.22 Downloaded foldhash v0.2.0 Downloaded spin v0.9.9 Downloaded event-listener v5.4.2 Downloaded parking_lot_core v0.9.12 Downloaded serde_core v1.0.229 Downloaded serde_derive v1.0.229 Downloaded proc-macro2 v1.0.107 Downloaded num-traits v0.2.19 Downloaded hashbrown v0.14.5 Downloaded serde v1.0.229 Downloaded indexmap v2.14.1 Downloaded memchr v2.8.3 Downloaded serde_json v1.0.151 Downloaded wasmparser-nostd v0.100.2 Downloaded zerocopy v0.8.56 Downloaded hashbrown v0.17.1 Downloaded libm v0.2.16 Downloaded wasmparser v0.258.0 Downloaded syn v2.0.119 Downloaded syn v3.0.4 Downloaded wasmi v0.32.3 Downloaded libc v0.2.189 Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.24 Compiling quote v1.0.47 Compiling serde_core v1.0.229 Compiling version_check v0.9.5 Compiling zerocopy v0.8.56 Checking cfg-if v1.0.4 Checking once_cell v1.21.4 Compiling serde v1.0.229 Compiling libc v0.2.189 Checking smallvec v1.15.2 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Checking parking v2.2.1 Compiling parking_lot_core v0.9.12 Checking pin-project-lite v0.2.17 Compiling rustversion v1.0.23 Compiling serde_json v1.0.151 Checking event-listener v5.4.2 Checking scopeguard v1.2.0 Compiling thiserror v2.0.20 Checking itoa v1.0.18 Checking lock_api v0.4.14 Checking memchr v2.8.3 Checking event-listener-strategy v0.5.4 Compiling ahash v0.8.12 Checking smallstr v0.3.1 Checking async-lock v3.4.2 Compiling autocfg v1.5.1 Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0) Compiling libm v0.2.16 Compiling paste v1.0.15 Checking foldhash v0.2.0 Checking indexmap-nostd v0.4.0 Checking equivalent v1.0.2 Checking downcast-rs v1.2.1 Checking arrayvec v0.7.8 Checking multi-stash v0.2.0 Checking semver v1.0.28 Checking wasmparser-nostd v0.100.2 Checking bitflags v2.13.1 Checking spin v0.9.9 Compiling num-traits v0.2.19 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 Checking hashbrown v0.14.5 Compiling serde_derive v1.0.229 Compiling thiserror-impl v2.0.20 Compiling async-trait v0.1.92 Checking dashmap v6.2.1 Checking yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/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/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ Checking wasmi v0.32.3 warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo clippy --fix --lib -p yrs -- -D warnings -D clippy::disallowed_methods` to apply 35 suggestions) Checking docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core) Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.66s build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build Downloading crates ... Downloaded getrandom v0.4.3 Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.24 Compiling quote v1.0.47 Compiling cfg-if v1.0.4 Compiling serde_core v1.0.229 Compiling crossbeam-utils v0.8.22 Compiling rustversion v1.0.23 Compiling pin-project-lite v0.2.17 Compiling zmij v1.0.23 Compiling getrandom v0.4.3 Compiling smallvec v1.15.2 Compiling parking_lot_core v0.9.12 Compiling thiserror v2.0.20 Compiling scopeguard v1.2.0 Compiling serde_json v1.0.151 Compiling serde v1.0.229 Compiling memchr v2.8.3 Compiling once_cell v1.21.4 Compiling hashbrown v0.14.5 Compiling event-listener v5.4.2 Compiling lock_api v0.4.14 Compiling itoa v1.0.18 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0) Compiling smallstr v0.3.1 Compiling event-listener-strategy v0.5.4 Compiling async-lock v3.4.2 Compiling arc-swap v1.9.2 Compiling dashmap v6.2.1 Compiling syn v3.0.4 Compiling thiserror-impl v2.0.20 Compiling serde_derive v1.0.229 Compiling async-trait v0.1.92 Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/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:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core) Finished `release` profile [optimized] target(s) in 9.76s core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) === rust: build, test Compiling libc v0.2.189 Compiling serde_core v1.0.229 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling smallvec v1.15.2 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling scopeguard v1.2.0 Compiling cfg-if v1.0.4 Compiling parking_lot_core v0.9.12 Compiling serde_json v1.0.151 Compiling thiserror v2.0.20 Compiling serde v1.0.229 Compiling itoa v1.0.18 Compiling hashbrown v0.14.5 Compiling memchr v2.8.3 Compiling once_cell v1.21.4 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0) Compiling lock_api v0.4.14 Compiling event-listener v5.4.2 Compiling smallstr v0.3.1 Compiling event-listener-strategy v0.5.4 Compiling async-lock v3.4.2 Compiling dashmap v6.2.1 Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5) warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core) Finished `release` profile [optimized] target(s) in 14.26s Compiling cfg-if v1.0.4 Compiling once_cell v1.21.4 Compiling smallvec v1.15.2 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling libc v0.2.189 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling itoa v1.0.18 Compiling memchr v2.8.3 Compiling thiserror v2.0.20 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0) Compiling foldhash v0.2.0 Compiling lock_api v0.4.14 Compiling num-traits v0.2.19 Compiling libm v0.2.16 Compiling event-listener v5.4.2 Compiling smallstr v0.3.1 Compiling indexmap-nostd v0.4.0 Compiling downcast-rs v1.2.1 Compiling equivalent v1.0.2 Compiling arrayvec v0.7.8 Compiling spin v0.9.9 Compiling bitflags v2.13.1 Compiling semver v1.0.28 Compiling multi-stash v0.2.0 Compiling event-listener-strategy v0.5.4 Compiling wasmparser-nostd v0.100.2 Compiling async-lock v3.4.2 Compiling parking_lot_core v0.9.12 Compiling wasmi_core v0.32.3 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling hashbrown v0.17.1 Compiling indexmap v2.14.1 Compiling wasmparser v0.258.0 Compiling ahash v0.8.12 Compiling hashbrown v0.14.5 Compiling dashmap v6.2.1 Compiling string-interner v0.17.0 Compiling wasmi_collections v0.32.3 Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5) Compiling wasmi v0.32.3 warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core) Finished `test` profile [unoptimized + debuginfo] target(s) in 11.68s Running unittests src/lib.rs (core/target/debug/deps/docs_core-97822c04772ad1f7) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-0e216d1fab072ba4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-0fc3d3217845bff4) 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-730947f15ca35a13) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/build.rs (core/target/debug/deps/build-fb6076b78dd6191d) running 11 tests test a_heading_level_is_a_number ... ok test adjacent_runs_with_the_same_marks_merge ... ok test one_text_per_block_and_none_when_empty ... ok test refuses_a_client_id_a_browser_cannot_read ... ok test refuses_past_its_limits ... ok test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok test the_abi_reports_each_refusal_as_its_own_code ... ok test builds_paragraphs_headings_and_marks ... ok test writes_only_into_an_empty_document ... ok test the_snapshot_replays_to_the_same_structure ... ok test refuses_malformed_lists_and_writes_nothing ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/edit.rs (core/target/debug/deps/edit-3ae34b202043745b) running 5 tests test missing_dependency_refuses_without_losing_pending_update ... ok test unsupported_blocks_are_preserved_and_never_deleted ... ok test splices_are_normal_updates_and_preserve_untouched_items ... ok test invalid_later_edit_never_mutates_valid_prefix ... ok test client_and_input_bounds_are_enforced ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/fragment.rs (core/target/debug/deps/fragment-fa0c864a2c14104d) running 31 tests test empty_document_is_empty_output ... ok test a_hard_break_does_not_split_the_block_it_is_in ... ok test empty_block_is_preserved_like_html ... ok test an_unknown_alignment_is_dropped_from_every_renderer ... ok test escapes_html_in_text ... ok test escapes_json_in_text ... ok test json_clamps_heading_level_like_html ... ok test json_of_an_empty_document_is_an_empty_doc_node ... ok test json_keeps_unknown_nodes_and_their_children ... ok test json_names_every_font_mark ... ok test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok test nested_blocks_do_not_duplicate_their_text ... ok test renders_a_code_block_as_the_editor_does ... ok test reads_paragraphs_as_blocks ... ok test json_reports_paragraph_alignment ... ok test json_is_deterministic ... ok test renders_a_hard_break_in_every_renderer ... ok test json_marks_are_in_a_fixed_order ... ok test renders_every_font_mark_as_a_classed_span ... ok test renders_paragraphs_as_html ... ok test renders_marks ... ok test renders_paragraph_alignment_as_a_class ... ok test text_sibling_before_a_block_is_separated ... ok test renders_the_document_as_prosemirror_json ... ok test renders_block_indent_as_a_class ... ok test unknown_nodes_keep_their_text ... ok test renders_the_point_ladder_and_the_scale_it_replaced ... ok test renders_headings_and_lists ... ok test reports_block_indent_to_the_exporters ... ok test renders_font_and_size_marks_as_classed_spans ... ok test renders_every_family_in_the_manifest ... ok test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/initial.rs (core/target/debug/deps/initial-10c44c58c64afc80) running 3 tests test initial_rejects_client_ids_outside_yjs_range ... ok test initial_content_is_real_structured_literal_text ... ok test initial_rejection_never_leaves_partial_content ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-2bbe34b2adedc94a) 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-774748a98e788976) 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-3e955456a9c0a169) 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-207dd6b23ace774e) running 2 tests build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache warning: unused import: `ArrayRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ Blockingwarning: hiding a lifetime that's elided elsewhere is confusing waiting for file lock on build directory --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `release` profile [optimized] target(s) in 0.04s core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 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:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33 | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34 | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `release` profile [optimized] target(s) in 0.05s core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) test borrow_leak_repro_trapping_unicode_mutation ... ok test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.43s Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-63a6a403c236f6a0) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_concurrent ... ok test abi_round_trips_a_fixture ... ok test applies_formatted ... ok test applies_hello ... ok test applies_unicode ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests docs_core running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s === the embedded wasm must match a fresh build gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here === wire compatibility, both directions --- regenerating fixtures from JS yjs hello: 27 bytes unicode: 33 bytes formatted: 70 bytes concurrent: 36 bytes --- fixtures must be unchanged (they are the contract, not an output) --- Rust reads what JS wrote warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions) Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s Running tests/wire_compat.rs (target/debug/deps/wire_compat-63a6a403c236f6a0) running 6 tests test abi_rejects_garbage_without_panicking ... ok test applies_concurrent ... ok test abi_round_trips_a_fixture ... ok test applies_hello ... ok test applies_formatted ... ok test applies_unicode ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s --- JS reads what Rust wrote warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ verify-rust: ok (81 bytes) warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39 | 17 | use crate::types::array::{ArrayEvent, ArrayRef}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused imports: `XmlElementRef` and `XmlTextRef` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25 | 22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef}; | ^^^^^^^^^^^^^ ^^^^^^^^^^ warning: value assigned to `left` is never read --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24 | 288 | let mut left = None; | ^^^^ this value is reassigned later and never used ... 334 | left = parent_branch.map.get(sub).cloned(); | ------------------------------------------ `left` is overwritten here before the previous value is read | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29 | 672 | if let Some(mut left) = this.left { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `ptr` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25 | 758 | let ptr = BranchPtr::from(branch); | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `branch` --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35 | 447 | ItemContent::Type(branch) => { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch` warning: method `clock_end` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12 | 126 | impl BlockCell { | -------------- method in this implementation ... 136 | pub fn clock_end(&self) -> u32 { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `get_block_mut` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8 | 23 | impl ClientBlockList { | -------------------- method in this implementation ... 79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: methods `contains` and `get_block_mut` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12 | 299 | impl BlockStore { | --------------- methods in this implementation ... 306 | pub fn contains(&self, id: &ID) -> bool { | ^^^^^^^^ ... 381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> { | ^^^^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19 | 486 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8 | 491 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 492 | fn new(update: &'a BlockStore) -> Self { | ^^^ warning: constant `WEAK_REF_FLAGS_QUOTE` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7 | 216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7 | 218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7 | 220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100; | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7 | 222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7 | 224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7 | 226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `blocks` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19 | 29 | impl UpdateBlocks { | ----------------- method in this implementation ... 45 | pub(crate) fn blocks(&self) -> Blocks<'_> { | ^^^^^^ warning: methods `last_id` and `into_block` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19 | 879 | impl BlockCarrier { | ----------------- methods in this implementation ... 934 | pub(crate) fn last_id(&self) -> ID { | ^^^^^^^ ... 963 | pub fn into_block(self) -> Option<Box<Item>> { | ^^^^^^^^^^ warning: struct `Blocks` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19 | 1076 | pub(crate) struct Blocks<'a> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8 | 1081 | impl<'a> Blocks<'a> { | ------------------- associated function in this implementation 1082 | fn new(update: &'a UpdateBlocks) -> Self { | ^^^ warning: methods `move_to`, `forward`, `backward`, and `values` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12 | 23 | impl BlockIter { | -------------- methods in this implementation ... 73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) { | ^^^^^^^ ... 99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) { | ^^^^^^^ ... 186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) { | ^^^^^^^^ ... 520 | pub fn values<'a, 'txn, T: ReadTxn>( | ^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12 | 528 | pub struct Values<'a, 'txn> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8 | 533 | impl<'a, 'txn> Values<'a, 'txn> { | ------------------------------- associated function in this implementation 534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self { | ^^^ warning: method `remove_at` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19 | 245 | impl Branch { | ----------- method in this implementation ... 427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 { | ^^^^^^^^^ warning: trait `BlockIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18 | 7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized { | ^^^^^^^^^^^^^ warning: trait `BlockSliceIterator` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18 | 21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized { | ^^^^^^^^^^^^^^^^^^ warning: struct `BlockSlices` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19 | 283 | pub(crate) struct BlockSlices<I>(I) | ^^^^^^^^^^^ warning: struct `RangeIter` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19 | 311 | pub(crate) struct RangeIter<I> { | ^^^^^^^^^ warning: associated items `new` and `begin` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8 | 318 | / impl<I> RangeIter<I> 319 | | where 320 | | I: TxnIterator<Item = ItemPtr>, | |___________________________________- associated items in this implementation 321 | { 322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self { | ^^^ ... 331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> { | ^^^^^ warning: enum `RangeIterState` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6 | 439 | enum RangeIterState { | ^^^^^^^^^^^^^^ warning: struct `Values` is never constructed --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19 | 450 | pub(crate) struct Values<I> { | ^^^^^^ warning: associated function `new` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8 | 455 | impl<I> Values<I> { | ----------------- associated function in this implementation 456 | fn new(iter: I) -> Self { | ^^^ warning: method `get_item` is never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19 | 410 | impl StickyIndex { | ---------------- method in this implementation ... 640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> { | ^^^^^^^^ warning: methods `contains_id`, `right`, and `left` are never used --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12 | 100 | impl ItemSlice { | -------------- methods in this implementation ... 174 | pub fn contains_id(&self, id: &ID) -> bool { | ^^^^^^^^^^^ ... 244 | pub fn right(&self) -> Option<ItemSlice> { | ^^^^^ ... 264 | pub fn left(&self) -> Option<ItemSlice> { | ^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18 | 63 | pub fn added(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 63 | pub fn added(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20 | 69 | pub fn removed(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 69 | pub fn removed(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19 | 75 | pub fn loaded(&self) -> SubdocsEventIter { | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | pub fn loaded(&self) -> SubdocsEventIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34 | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20 | 345 | pub fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 345 | pub fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25 | 351 | pub fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28 | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33 | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30 | 445 | pub(crate) fn read_async(&self) -> Read<Store> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 445 | pub(crate) fn read_async(&self) -> Read<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29 | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34 | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31 | 463 | pub(crate) fn write_async(&self) -> Write<Store> { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 463 | pub(crate) fn write_async(&self) -> Write<'_, Store> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18 | 166 | fn root_refs(&self) -> RootRefs { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 166 | fn root_refs(&self) -> RootRefs<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21 | 173 | fn subdoc_guids(&self) -> SubdocGuids { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn subdoc_guids(&self) -> SubdocGuids<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16 | 179 | fn subdocs(&self) -> SubdocsIter { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 179 | fn subdocs(&self) -> SubdocsIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17 | 1108 | pub fn iter(&self) -> EventsIter { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1108 | pub fn iter(&self) -> EventsIter<'_> { | ++++ warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33 | 280 | pub type Subscription = Arc<dyn Drop + 'static>; | ^^^^ | = note: `#[warn(dyn_drop)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17 | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17 | 178 | pub fn iter(&self) -> AwarenessIter { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 178 | pub fn iter(&self) -> AwarenessIter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21 | 18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25 | 29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33 | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29 | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17 | 71 | fn transact(&self) -> Transaction; | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 71 | fn transact(&self) -> Transaction<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21 | 83 | fn transact_mut(&self) -> TransactionMut; | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | fn transact_mut(&self) -> TransactionMut<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21 | 87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25 | 94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33 | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError> | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29 | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17 | 123 | fn transact(&self) -> Transaction { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 123 | fn transact(&self) -> Transaction<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21 | 128 | fn transact_mut(&self) -> TransactionMut { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 128 | fn transact_mut(&self) -> TransactionMut<'_> { | ++++ initial content: real Yjs/ProseMirror parity passed semantic edits: production schema, rich-content identity and offline convergence passed wire-gate: ok === go: vet, test, gofmt amadan: job cancelled — a newer push superseded it -
native not run
No output.
Whole run log
=== gate ===
=== fixtures: node dependencies
added 18 packages, and audited 19 packages in 1s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
=== fixtures: the save queue's retry/drop logic (F1 regression)
TAP version 13
# Subtest: a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit
ok 1 - a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit
---
duration_ms: 73.723246
type: 'test'
...
# Subtest: a network failure or a 5xx is retried, not dropped
ok 2 - a network failure or a 5xx is retried, not dropped
---
duration_ms: 40.433356
type: 'test'
...
# Subtest: a 500 is retried the same way a network failure is, never dropped
ok 3 - a 500 is retried the same way a network failure is, never dropped
---
duration_ms: 41.288019
type: 'test'
...
# Subtest: an edit made while a save is on the wire waits for it, and both stay owed until answered
ok 4 - an edit made while a save is on the wire waits for it, and both stay owed until answered
---
duration_ms: 1.498374
type: 'test'
...
# Subtest: a save that fails while a later edit waits is retried first, with the later edit behind it
ok 5 - a save that fails while a later edit waits is retried first, with the later edit behind it
---
duration_ms: 1.685918
type: 'test'
...
# Subtest: a refusal is final and is never merged into the edit that waited behind it
ok 6 - a refusal is final and is never merged into the edit that waited behind it
---
duration_ms: 0.923051
type: 'test'
...
# Subtest: flush() resolves once every earlier edit is answered: true if saved, false if refused
ok 7 - flush() resolves once every earlier edit is answered: true if saved, false if refused
---
duration_ms: 1.872342
type: 'test'
...
# Subtest: the queue says saving, not ok, while an answered save leaves another to send
ok 8 - the queue says saving, not ok, while an answered save leaves another to send
---
duration_ms: 0.776428
type: 'test'
...
# Subtest: a save is sent keepalive, and given up if it is never answered
ok 9 - a save is sent keepalive, and given up if it is never answered
---
duration_ms: 22.560408
type: 'test'
...
# Subtest: a batch carries at most maxBatchBytes, and the rest follow in order once it is answered
ok 10 - a batch carries at most maxBatchBytes, and the rest follow in order once it is answered
---
duration_ms: 1.588252
type: 'test'
...
# Subtest: an update bigger than maxBatchBytes still goes, on its own
ok 11 - an update bigger than maxBatchBytes still goes, on its own
---
duration_ms: 0.737741
type: 'test'
...
# Subtest: a save never answered is given up, retried with a real request, and its late answer ignored
ok 12 - a save never answered is given up, retried with a real request, and its late answer ignored
---
duration_ms: 0.879228
type: 'test'
...
# Subtest: resume sends again at once what was on the wire as the page left, without saying it failed
ok 13 - resume sends again at once what was on the wire as the page left, without saying it failed
---
duration_ms: 0.798478
type: 'test'
...
# Subtest: a keepalive save on the wire is left out of what the unload beacons; a plain one is kept
ok 14 - a keepalive save on the wire is left out of what the unload beacons; a plain one is kept
---
duration_ms: 0.914475
type: 'test'
...
# Subtest: a save refused with no answer says retrying only if the server cannot be reached either
ok 15 - a save refused with no answer says retrying only if the server cannot be reached either
---
duration_ms: 1.062351
type: 'test'
...
# Subtest: retries the browser refuses while the server answers back off, and reset once one is answered
ok 16 - retries the browser refuses while the server answers back off, and reset once one is answered
---
duration_ms: 2.614404
type: 'test'
...
# Subtest: reachable tries a keepalive request, then an ordinary one
ok 17 - reachable tries a keepalive request, then an ordinary one
---
duration_ms: 0.479773
type: 'test'
...
# Subtest: a large save is gzipped, and goes keepalive if what is sent fits
ok 18 - a large save is gzipped, and goes keepalive if what is sent fits
---
duration_ms: 2.643077
type: 'test'
...
# Subtest: a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip
ok 19 - a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip
---
duration_ms: 76.572462
type: 'test'
...
# Subtest: a refused save that was not gzipped is not sent again
ok 20 - a refused save that was not gzipped is not sent again
---
duration_ms: 2.077112
type: 'test'
...
1..20
# tests 20
# suites 0
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 335.49749
=== fixtures: the resync retry/backoff state machine (fix round 2 regression)
TAP version 13
# Subtest: a resync that fails is retried with backoff until it succeeds, without ever running twice at once
ok 1 - a resync that fails is retried with backoff until it succeeds, without ever running twice at once
---
duration_ms: 1.984694
type: 'test'
...
# Subtest: the browser's online event retries immediately, not just on the next backoff tick
ok 2 - the browser's online event retries immediately, not just on the next backoff tick
---
duration_ms: 0.362391
type: 'test'
...
# Subtest: reportDivergence before any failure runs the first attempt without a caller ever calling online
ok 3 - reportDivergence before any failure runs the first attempt without a caller ever calling online
---
duration_ms: 1.035307
type: 'test'
...
1..3
# tests 3
# suites 0
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 61.364182
=== fixtures: what a resync carries, and the replay of a waiting paste
TAP version 13
# Subtest: a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
ok 1 - a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
---
duration_ms: 22.521922
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste
ok 2 - a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste
---
duration_ms: 4.219914
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (g) the refused x after the paste point
ok 3 - a paste that waited for its font is kept: (g) the refused x after the paste point
---
duration_ms: 3.233559
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (c) two refused x, the paste after the second
ok 4 - a paste that waited for its font is kept: (c) two refused x, the paste after the second
---
duration_ms: 3.074457
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end
ok 5 - a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end
---
duration_ms: 2.962779
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (e) the paste over "paragraph.x"
ok 6 - a paste that waited for its font is kept: (e) the paste over "paragraph.x"
---
duration_ms: 4.354508
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (f) a refused deletion elsewhere
ok 7 - a paste that waited for its font is kept: (f) a refused deletion elsewhere
---
duration_ms: 4.388872
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x
ok 8 - a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x
---
duration_ms: 3.034021
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (j) a colleague's words before, the refused x after
ok 9 - a paste that waited for its font is kept: (j) a colleague's words before, the refused x after
---
duration_ms: 4.008833
type: 'test'
...
# Subtest: a paste that waited for its font is kept: (k) a colleague appended where the x was refused
ok 10 - a paste that waited for its font is kept: (k) a colleague appended where the x was refused
---
duration_ms: 3.347615
type: 'test'
...
# Subtest: a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's
ok 11 - a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's
---
duration_ms: 1.936865
type: 'test'
...
# Subtest: a paste made elsewhere carries as its own updates, not a replay
ok 12 - a paste made elsewhere carries as its own updates, not a replay
---
duration_ms: 1.594714
type: 'test'
...
# Subtest: the replay is one change for an undo manager tracking the carried origin
ok 13 - the replay is one change for an undo manager tracking the carried origin
---
duration_ms: 3.028123
type: 'test'
...
# Subtest: every update written on top of the refused text is held back, not only the first
ok 14 - every update written on top of the refused text is held back, not only the first
---
duration_ms: 1.571612
type: 'test'
...
# Subtest: a Backspace over the refused text is held back
ok 15 - a Backspace over the refused text is held back
---
duration_ms: 0.927796
type: 'test'
...
# Subtest: of an update that partly took, the part that took is posted, and nothing the server would hold pending
ok 16 - of an update that partly took, the part that took is posted, and nothing the server would hold pending
---
duration_ms: 1.906943
type: 'test'
...
# Subtest: an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words
ok 17 - an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words
---
duration_ms: 1.510582
type: 'test'
...
# Subtest: a paste elsewhere is posted and a keystroke after the refused x is not
ok 18 - a paste elsewhere is posted and a keystroke after the refused x is not
---
duration_ms: 1.188121
type: 'test'
...
# Subtest: took reads all, some and none from the update itself
ok 19 - took reads all, some and none from the update itself
---
duration_ms: 1.151322
type: 'test'
...
# Subtest: a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client)
ok 20 - a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client)
---
duration_ms: 2.164942
type: 'test'
...
# Subtest: a paste right after a refused repeated letter lands where it was made
ok 21 - a paste right after a refused repeated letter lands where it was made
---
duration_ms: 2.47964
type: 'test'
...
# Subtest: a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere)
ok 22 - a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere)
---
duration_ms: 2.307942
type: 'test'
...
# Subtest: a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text)
ok 23 - a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text)
---
duration_ms: 1.245559
type: 'test'
...
# Subtest: the keeper groups the updates of one held change into one entry, and hands the entries over once
ok 24 - the keeper groups the updates of one held change into one entry, and hands the entries over once
---
duration_ms: 0.562755
type: 'test'
...
# Subtest: every change made while diverged is kept, whatever it was written on
ok 25 - every change made while diverged is kept, whatever it was written on
---
duration_ms: 6.283344
type: 'test'
...
# Subtest: a change that cannot be kept in the middle loses nothing after it
ok 26 - a change that cannot be kept in the middle loses nothing after it
---
duration_ms: 3.240173
type: 'test'
...
# Subtest: a replay that cannot be made falls back to what of the change's own updates integrates
ok 27 - a replay that cannot be made falls back to what of the change's own updates integrates
---
duration_ms: 1.439215
type: 'test'
...
# Subtest: the carried changes undo in the steps they were made in
ok 28 - the carried changes undo in the steps they were made in
---
duration_ms: 3.675801
type: 'test'
...
# Subtest: a multi-step change replays each step where it was made: an insert, then an insert just before the refused text
ok 29 - a multi-step change replays each step where it was made: an insert, then an insert just before the refused text
---
duration_ms: 0.816022
type: 'test'
...
# Subtest: a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on
ok 30 - a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on
---
duration_ms: 2.748253
type: 'test'
...
# Subtest: a multi-step change replays each step where it was made: a delete, then an insert past the refused text
ok 31 - a multi-step change replays each step where it was made: a delete, then an insert past the refused text
---
duration_ms: 0.256668
type: 'test'
...
# Subtest: a mark made over an insertion in the same change covers all of it
ok 32 - a mark made over an insertion in the same change covers all of it
---
duration_ms: 0.327501
type: 'test'
...
# Subtest: a multi-step change on the refused text is replayed where it was made, on the page and the server
ok 33 - a multi-step change on the refused text is replayed where it was made, on the page and the server
---
duration_ms: 1.784172
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
ok 34 - an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
---
duration_ms: 4.109104
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo
ok 35 - an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo
---
duration_ms: 3.468976
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo
ok 36 - an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo
---
duration_ms: 2.935069
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed
ok 37 - an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed
---
duration_ms: 3.844482
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo
ok 38 - an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo
---
duration_ms: 4.261921
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo
ok 39 - an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo
---
duration_ms: 2.639718
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo
ok 40 - an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo
---
duration_ms: 4.611359
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c"
ok 41 - an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c"
---
duration_ms: 6.505934
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo
ok 42 - an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo
---
duration_ms: 3.235858
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo
ok 43 - an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo
---
duration_ms: 5.004208
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo
ok 44 - an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo
---
duration_ms: 2.692942
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
ok 45 - an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
---
duration_ms: 4.043714
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo
ok 46 - an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo
---
duration_ms: 2.746133
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
ok 47 - an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
---
duration_ms: 2.12936
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b"
ok 48 - an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b"
---
duration_ms: 2.600022
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo
ok 49 - an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo
---
duration_ms: 2.385651
type: 'test'
...
# Subtest: an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
ok 50 - an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
---
duration_ms: 3.005477
type: 'test'
...
# Subtest: an undo of a change saved before the refusal is still carried
ok 51 - an undo of a change saved before the refusal is still carried
---
duration_ms: 2.050507
type: 'test'
...
# Subtest: derivedStep turns one document into the other, and is null for the same one
ok 52 - derivedStep turns one document into the other, and is null for the same one
---
duration_ms: 0.238669
type: 'test'
...
# Subtest: carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
ok 53 - carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
---
duration_ms: 2238.73755
type: 'test'
...
# Subtest: carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids
ok 54 - carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids
---
duration_ms: 4390.162596
type: 'test'
...
# Subtest: a client id never collides with one the document already holds
ok 55 - a client id never collides with one the document already holds
---
duration_ms: 0.448424
type: 'test'
...
# Subtest: ProseMirror changes inside one window share an id; one held back there does not strand the next
ok 56 - ProseMirror changes inside one window share an id; one held back there does not strand the next
---
duration_ms: 1.987747
type: 'test'
...
1..56
# tests 56
# suites 0
# pass 56
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7000.304053
=== fixtures: the live-update cursor and connection policy
TAP version 13
# Subtest: a tab advances its own cursor only when its POST is the very next row
ok 1 - a tab advances its own cursor only when its POST is the very next row
---
duration_ms: 1.417836
type: 'test'
...
# Subtest: the cursor never moves backwards when a response is overtaken by this tab's own write
ok 2 - the cursor never moves backwards when a response is overtaken by this tab's own write
---
duration_ms: 0.709593
type: 'test'
...
# Subtest: a later response still carries the cursor forward
ok 3 - a later response still carries the cursor forward
---
duration_ms: 0.307961
type: 'test'
...
# Subtest: a burst of notifications collapses into one fetch at a time
ok 4 - a burst of notifications collapses into one fetch at a time
---
duration_ms: 0.289049
type: 'test'
...
# Subtest: an event naming a seq the tab already has fetches nothing
ok 5 - an event naming a seq the tab already has fetches nothing
---
duration_ms: 0.387879
type: 'test'
...
# Subtest: a stopped subscriber drops a response that arrives late
ok 6 - a stopped subscriber drops a response that arrives late
---
duration_ms: 0.275172
type: 'test'
...
# Subtest: stop closes the stream, and start opens exactly one
ok 7 - stop closes the stream, and start opens exactly one
---
duration_ms: 0.357186
type: 'test'
...
# Subtest: a hidden tab closes its stream on a shortened deadline, and activity reopens it
ok 8 - a hidden tab closes its stream on a shortened deadline, and activity reopens it
---
duration_ms: 0.864168
type: 'test'
...
# Subtest: switching away and back inside the grace never drops the stream, so nothing has to be caught up
ok 9 - switching away and back inside the grace never drops the stream, so nothing has to be caught up
---
duration_ms: 0.911839
type: 'test'
...
# Subtest: a visible tab that is only being READ closes when idle and comes back on any activity
ok 10 - a visible tab that is only being READ closes when idle and comes back on any activity
---
duration_ms: 0.74178
type: 'test'
...
# Subtest: activity while streaming defers the idle close rather than reopening anything
ok 11 - activity while streaming defers the idle close rather than reopening anything
---
duration_ms: 0.321929
type: 'test'
...
# Subtest: a stream failure is never reported as a save failure, and heals on activity
ok 12 - a stream failure is never reported as a save failure, and heals on activity
---
duration_ms: 1.09522
type: 'test'
...
# Subtest: an empty response advances the cursor without applying anything
ok 13 - an empty response advances the cursor without applying anything
---
duration_ms: 0.185062
type: 'test'
...
# Subtest: a failed fetch leaves the cursor alone so the next notification retries it
ok 14 - a failed fetch leaves the cursor alone so the next notification retries it
---
duration_ms: 0.26135
type: 'test'
...
# Subtest: a decode failure retries once through the raw log, then gives up
ok 15 - a decode failure retries once through the raw log, then gives up
---
duration_ms: 0.209741
type: 'test'
...
# Subtest: updatesURL spells the query string exactly, in particular raw as the literal raw=1
ok 16 - updatesURL spells the query string exactly, in particular raw as the literal raw=1
---
duration_ms: 0.140058
type: 'test'
...
# Subtest: an update that waits holds the next one behind it
ok 17 - an update that waits holds the next one behind it
---
duration_ms: 10.414823
type: 'test'
...
# Subtest: leaving the page closes the stream at once, and coming back reopens it and catches up
ok 18 - leaving the page closes the stream at once, and coming back reopens it and catches up
---
duration_ms: 0.532269
type: 'test'
...
# Subtest: a page left before its subscriber starts never opens a stream
ok 19 - a page left before its subscriber starts never opens a stream
---
duration_ms: 0.199137
type: 'test'
...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 80.209228
=== fixtures: paragraph alignment in the editor
TAP version 13
# Subtest: the class names are the ones the server renders
ok 1 - the class names are the ones the server renders
---
duration_ms: 2.822589
type: 'test'
...
# Subtest: left, absent and unknown alignments all render as no class
ok 2 - left, absent and unknown alignments all render as no class
---
duration_ms: 0.226489
type: 'test'
...
# Subtest: toDOM emits a class only for a known alignment
ok 3 - toDOM emits a class only for a known alignment
---
duration_ms: 0.85956
type: 'test'
...
# Subtest: a pasted paragraph round-trips its alignment and nothing else
ok 4 - a pasted paragraph round-trips its alignment and nothing else
---
duration_ms: 0.289599
type: 'test'
...
# Subtest: alignFromClasses is the inverse of alignClass for every alignment
ok 5 - alignFromClasses is the inverse of alignClass for every alignment
---
duration_ms: 0.278569
type: 'test'
...
# Subtest: with no dispatch the command reports and changes nothing
ok 6 - with no dispatch the command reports and changes nothing
---
duration_ms: 2.366486
type: 'test'
...
# Subtest: every toolbar alignment command sets the value its name promises
ok 7 - every toolbar alignment command sets the value its name promises
---
duration_ms: 0.384262
type: 'test'
...
# Subtest: the command aligns the block the cursor is in, and only that one
ok 8 - the command aligns the block the cursor is in, and only that one
---
duration_ms: 0.850425
type: 'test'
...
# Subtest: the command aligns every block a selection spans
ok 9 - the command aligns every block a selection spans
---
duration_ms: 0.997331
type: 'test'
...
# Subtest: choosing left clears the attribute rather than storing a value
ok 10 - choosing left clears the attribute rather than storing a value
---
duration_ms: 0.969184
type: 'test'
...
# Subtest: one transaction per click, not one per block
ok 11 - one transaction per click, not one per block
---
duration_ms: 0.86992
type: 'test'
...
# Subtest: the buttons report the alignment of the block the cursor is in
ok 12 - the buttons report the alignment of the block the cursor is in
---
duration_ms: 0.480345
type: 'test'
...
# Subtest: a block that has no alignment attribute is left alone
ok 13 - a block that has no alignment attribute is left alone
---
duration_ms: 0.538202
type: 'test'
...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 158.483539
=== fixtures: the font vocabulary and its default
TAP version 13
# Subtest: the picker offers the sixteen families, Carlito and Caladea first
ok 1 - the picker offers the sixteen families, Carlito and Caladea first
---
duration_ms: 2.573522
type: 'test'
...
# Subtest: an unmarked run is Carlito
ok 2 - an unmarked run is Carlito
---
duration_ms: 0.358984
type: 'test'
...
# Subtest: code is Liberation Mono
ok 3 - code is Liberation Mono
---
duration_ms: 0.138162
type: 'test'
...
# Subtest: choosing the default clears the mark rather than setting one
ok 4 - choosing the default clears the mark rather than setting one
---
duration_ms: 0.139296
type: 'test'
...
# Subtest: choosing another family sets its mark, Liberation keeping its old keys
ok 5 - choosing another family sets its mark, Liberation keeping its old keys
---
duration_ms: 0.269271
type: 'test'
...
# Subtest: a face this build does not know is not an instruction to clear
ok 6 - a face this build does not know is not an instruction to clear
---
duration_ms: 0.121194
type: 'test'
...
# Subtest: every font mark reads back as its own family
ok 7 - every font mark reads back as its own family
---
duration_ms: 0.307832
type: 'test'
...
# Subtest: a run carrying two font marks reads as the innermost, the later in the manifest
ok 8 - a run carrying two font marks reads as the innermost, the later in the manifest
---
duration_ms: 0.138498
type: 'test'
...
# Subtest: every family has a regular, and Caveat no italic
ok 9 - every family has a regular, and Caveat no italic
---
duration_ms: 0.692046
type: 'test'
...
# Subtest: fontKeysIn picks out the families a set of marks asks for
ok 10 - fontKeysIn picks out the families a set of marks asks for
---
duration_ms: 0.649665
type: 'test'
...
# Subtest: a pasted font stack is read in order, the first family that maps winning
ok 11 - a pasted font stack is read in order, the first family that maps winning
---
duration_ms: 1.982621
type: 'test'
...
1..11
# tests 11
# suites 0
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 72.489218
=== fixtures: fonts load before text is painted in them
TAP version 13
# Subtest: the CSS a face is loaded by
ok 1 - the CSS a face is loaded by
---
duration_ms: 1.229801
type: 'test'
...
# Subtest: the gate waits for the faces the page needs, and commits what misses the deadline
ok 2 - the gate waits for the faces the page needs, and commits what misses the deadline
---
duration_ms: 6.922529
type: 'test'
...
# Subtest: the previews have their own wait and never hold the paper
ok 3 - the previews have their own wait and never hold the paper
---
duration_ms: 0.962242
type: 'test'
...
# Subtest: a family on screen is never committed, whatever is late
ok 4 - a family on screen is never committed, whatever is late
---
duration_ms: 2.105247
type: 'test'
...
# Subtest: a collaborator's change waits for the code face though it names no font
ok 5 - a collaborator's change waits for the code face though it names no font
---
duration_ms: 1.175667
type: 'test'
...
# Subtest: a family a change introduces waits, and is committed if it is not on screen and late
ok 6 - a family a change introduces waits, and is committed if it is not on screen and late
---
duration_ms: 0.893042
type: 'test'
...
# Subtest: the byte scan finds every family a Yjs update names
ok 7 - the byte scan finds every family a Yjs update names
---
duration_ms: 0.998992
type: 'test'
...
# Subtest: without the gate, the editor shows the held page in its system faces
ok 8 - without the gate, the editor shows the held page in its system faces
---
duration_ms: 0.34622
type: 'test'
...
# Subtest: faceURLs reads every Docs face off the stylesheet, by family, weight and style
ok 9 - faceURLs reads every Docs face off the stylesheet, by family, weight and style
---
duration_ms: 1.111469
type: 'test'
...
# Subtest: prefetch fetches each face when idle, then loads it from the cache, and never commits
ok 10 - prefetch fetches each face when idle, then loads it from the cache, and never commits
---
duration_ms: 3.504904
type: 'test'
...
# Subtest: prefetch leaves a family alone once an action is loading it, and a wait shares the load
ok 11 - prefetch leaves a family alone once an action is loading it, and a wait shares the load
---
duration_ms: 1.261693
type: 'test'
...
# Subtest: commitFallback commits a family that is not on screen, and refuses one that is
ok 12 - commitFallback commits a family that is not on screen, and refuses one that is
---
duration_ms: 0.407132
type: 'test'
...
# Subtest: the status strip says one thing at a time, and a timed note does not clear a later one
ok 13 - the status strip says one thing at a time, and a timed note does not clear a later one
---
duration_ms: 0.408222
type: 'test'
...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4083.741763
=== fixtures: what a pasted blank line means
TAP version 13
# Subtest: a Google Docs blank line stops being two lines tall
ok 1 - a Google Docs blank line stops being two lines tall
---
duration_ms: 1.727262
type: 'test'
...
# Subtest: two blank lines stay two blank lines
ok 2 - two blank lines stay two blank lines
---
duration_ms: 0.332758
type: 'test'
...
# Subtest: a trailing break-only paragraph becomes a trailing blank line
ok 3 - a trailing break-only paragraph becomes a trailing blank line
---
duration_ms: 0.197258
type: 'test'
...
# Subtest: a Shift+Enter break inside a line of text is left alone
ok 4 - a Shift+Enter break inside a line of text is left alone
---
duration_ms: 0.20858
type: 'test'
...
# Subtest: a paragraph ending in a break is left alone
ok 5 - a paragraph ending in a break is left alone
---
duration_ms: 0.953313
type: 'test'
...
# Subtest: an ordinary paste is returned by identity
ok 6 - an ordinary paste is returned by identity
---
duration_ms: 0.302989
type: 'test'
...
# Subtest: paragraph attributes are carried onto the blank lines
ok 7 - paragraph attributes are carried onto the blank lines
---
duration_ms: 0.349121
type: 'test'
...
# Subtest: a blank line inside a pasted blockquote is fixed too
ok 8 - a blank line inside a pasted blockquote is fixed too
---
duration_ms: 0.19808
type: 'test'
...
# Subtest: a break-only heading is not a paragraph and is left alone
ok 9 - a break-only heading is not a paragraph and is left alone
---
duration_ms: 0.560285
type: 'test'
...
# Subtest: WebKit's copy marker is ignored
ok 10 - WebKit's copy marker is ignored
---
duration_ms: 0.694088
type: 'test'
...
# Subtest: an ordinary br still parses as a hard_break
ok 11 - an ordinary br still parses as a hard_break
---
duration_ms: 0.343865
type: 'test'
...
# Subtest: the slice keeps its open depths
ok 12 - the slice keeps its open depths
---
duration_ms: 0.141907
type: 'test'
...
1..12
# tests 12
# suites 0
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 80.079542
=== fixtures: the indent vocabulary and its clamp
TAP version 13
# Subtest: a real level becomes its class
ok 1 - a real level becomes its class
---
duration_ms: 1.09574
type: 'test'
...
# Subtest: zero, null and absent are all the same answer: no indent
ok 2 - zero, null and absent are all the same answer: no indent
---
duration_ms: 0.231292
type: 'test'
...
# Subtest: a run of digits too large for any integer type still clamps
ok 3 - a run of digits too large for any integer type still clamps
---
duration_ms: 0.99348
type: 'test'
...
# Subtest: a level past the maximum clamps rather than being emitted
ok 4 - a level past the maximum clamps rather than being emitted
---
duration_ms: 0.182881
type: 'test'
...
# Subtest: anything that is not a whole number renders flush left
ok 5 - anything that is not a whole number renders flush left
---
duration_ms: 0.19599
type: 'test'
...
# Subtest: a numeric string is a number, because that is what the wire carries
ok 6 - a numeric string is a number, because that is what the wire carries
---
duration_ms: 0.145231
type: 'test'
...
# Subtest: the class round-trips back to its level for a paste
ok 7 - the class round-trips back to its level for a paste
---
duration_ms: 0.194865
type: 'test'
...
# Subtest: the step is the half inch every word processor uses
ok 8 - the step is the half inch every word processor uses
---
duration_ms: 0.115059
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 64.635235
=== fixtures: the point ladder, and the four-step scale it replaced
TAP version 13
# Subtest: the default is offered, is first, and carries no mark
ok 1 - the default is offered, is first, and carries no mark
---
duration_ms: 1.106473
type: 'test'
...
# Subtest: every other size maps to its own mark
ok 2 - every other size maps to its own mark
---
duration_ms: 0.257796
type: 'test'
...
# Subtest: a size string works, because that is what a <select> gives you
ok 3 - a size string works, because that is what a <select> gives you
---
duration_ms: 0.181764
type: 'test'
...
# Subtest: a size this build does not offer is undefined, never null
ok 4 - a size this build does not offer is undefined, never null
---
duration_ms: 0.135555
type: 'test'
...
# Subtest: no marks means the default size
ok 5 - no marks means the default size
---
duration_ms: 0.354798
type: 'test'
...
# Subtest: a mark reports its own size
ok 6 - a mark reports its own size
---
duration_ms: 0.143851
type: 'test'
...
# Subtest: the four-step scale still reports a size on the ladder
ok 7 - the four-step scale still reports a size on the ladder
---
duration_ms: 0.270986
type: 'test'
...
# Subtest: the legacy marks are in the group the toolbar clears
ok 8 - the legacy marks are in the group the toolbar clears
---
duration_ms: 0.139126
type: 'test'
...
# Subtest: the ladder wins over a legacy mark on the same run
ok 9 - the ladder wins over a legacy mark on the same run
---
duration_ms: 0.603801
type: 'test'
...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 69.188193
=== fixtures: the autoformat rules, and the Backspace that undoes one
TAP version 13
# Subtest: "- " starts a bulleted list
ok 1 - "- " starts a bulleted list
---
duration_ms: 4.474877
type: 'test'
...
# Subtest: "* " and "+ " start one too
ok 2 - "* " and "+ " start one too
---
duration_ms: 1.154748
type: 'test'
...
# Subtest: "1. " starts a numbered list
ok 3 - "1. " starts a numbered list
---
duration_ms: 0.630857
type: 'test'
...
# Subtest: "> " starts a quote
ok 4 - "> " starts a quote
---
duration_ms: 1.014925
type: 'test'
...
# Subtest: "\# " makes a heading, and "\#\#\# " makes a level-3 one
ok 5 - "\# " makes a heading, and "\#\#\# " makes a level-3 one
---
duration_ms: 1.111783
type: 'test'
...
# Subtest: Backspace right after a rule gives back the typed characters
ok 6 - Backspace right after a rule gives back the typed characters
---
duration_ms: 1.064946
type: 'test'
...
# Subtest: Backspace away from a rule declines, leaving Backspace alone
ok 7 - Backspace away from a rule declines, leaving Backspace alone
---
duration_ms: 0.480953
type: 'test'
...
# Subtest: the patterns do not fire where they must not
ok 8 - the patterns do not fire where they must not
---
duration_ms: 0.141568
type: 'test'
...
# Subtest: a numbered list always starts at 1 while the renderer ignores order
ok 9 - a numbered list always starts at 1 while the renderer ignores order
---
duration_ms: 0.917785
type: 'test'
...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 93.093456
=== fixtures: counting words, including where there are no spaces
TAP version 13
# Subtest: nothing is nothing
ok 1 - nothing is nothing
---
duration_ms: 1.071007
type: 'test'
...
# Subtest: ordinary English
ok 2 - ordinary English
---
duration_ms: 0.289801
type: 'test'
...
# Subtest: punctuation is not a word
ok 3 - punctuation is not a word
---
duration_ms: 0.15334
type: 'test'
...
# Subtest: a language without spaces between words still counts
ok 4 - a language without spaces between words still counts
---
duration_ms: 11.214897
type: 'test'
...
# Subtest: the document count walks every block
ok 5 - the document count walks every block
---
duration_ms: 1.694366
type: 'test'
...
# Subtest: a paragraph boundary is a word boundary
ok 6 - a paragraph boundary is a word boundary
---
duration_ms: 0.415514
type: 'test'
...
# Subtest: characters are counted with and without spaces
ok 7 - characters are counted with and without spaces
---
duration_ms: 0.337991
type: 'test'
...
# Subtest: no selection means no selection count, not a zero
ok 8 - no selection means no selection count, not a zero
---
duration_ms: 0.360704
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 112.537225
=== fixtures: which menu items the editor enables
TAP version 13
# Subtest: an extraCommands item is enabled by sync
ok 1 - an extraCommands item is enabled by sync
---
duration_ms: 1.908388
type: 'test'
...
# Subtest: print, the module’s own local command, is enabled too
ok 2 - print, the module’s own local command, is enabled too
---
duration_ms: 0.312714
type: 'test'
...
# Subtest: an editor command follows what the command reports
ok 3 - an editor command follows what the command reports
---
duration_ms: 0.219737
type: 'test'
...
# Subtest: a checkable item is pressed and enabled while it is the current one
ok 4 - a checkable item is pressed and enabled while it is the current one
---
duration_ms: 0.393789
type: 'test'
...
# Subtest: the view pair follows the mode after a switch, with no reload
ok 5 - the view pair follows the mode after a switch, with no reload
---
duration_ms: 0.263346
type: 'test'
...
# Subtest: an item with no aria-pressed never gains one
ok 6 - an item with no aria-pressed never gains one
---
duration_ms: 0.348969
type: 'test'
...
# Subtest: with no view, editor commands are disabled and local ones are not
ok 7 - with no view, editor commands are disabled and local ones are not
---
duration_ms: 0.166816
type: 'test'
...
1..7
# tests 7
# suites 0
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 65.941627
=== fixtures: the editor's chrome writes only what changed
TAP version 13
# Subtest: a state update that changes nothing writes nothing to the chrome
ok 1 - a state update that changes nothing writes nothing to the chrome
---
duration_ms: 7.301864
type: 'test'
...
# Subtest: a state update that changes something still writes it
ok 2 - a state update that changes something still writes it
---
duration_ms: 2.470333
type: 'test'
...
# Subtest: no DOM write in either bar bypasses dom-writes.mjs
ok 3 - no DOM write in either bar bypasses dom-writes.mjs
---
duration_ms: 5.205684
type: 'test'
...
# Subtest: both undo/redo pairs are synced and neither is in the roving tab stop
ok 4 - both undo/redo pairs are synced and neither is in the roving tab stop
---
duration_ms: 1.361486
type: 'test'
...
# Subtest: the arrow keys walk the bar in reading order: the pickers, then the buttons
ok 5 - the arrow keys walk the bar in reading order: the pickers, then the buttons
---
duration_ms: 1.048077
type: 'test'
...
1..5
# tests 5
# suites 0
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 166.830903
=== fixtures: the formatting bar's tab stop reaches only drawn controls
TAP version 13
# Subtest: the tab stop skips a control that is not drawn
ok 1 - the tab stop skips a control that is not drawn
---
duration_ms: 1.154904
type: 'test'
...
# Subtest: with nothing drawn, focusStop reports false and focuses nothing
ok 2 - with nothing drawn, focusStop reports false and focuses nothing
---
duration_ms: 0.257906
type: 'test'
...
# Subtest: a stop whose control stops being drawn moves to one that is
ok 3 - a stop whose control stops being drawn moves to one that is
---
duration_ms: 0.301781
type: 'test'
...
# Subtest: the arrow keys walk only the drawn controls
ok 4 - the arrow keys walk only the drawn controls
---
duration_ms: 0.235356
type: 'test'
...
1..4
# tests 4
# suites 0
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 62.660575
=== the editor bundle must match a fresh build
wrote internal/docs/static/editor.764c2a5845d72784.js (359900 bytes)
wrote internal/docs/static/jumpto.58ca95c441b1bd49.js (3234 bytes)
wrote internal/docs/static/share.b7f152cdd9e793ac.js (603 bytes)
wrote internal/docs/static/fontsgate.7161919aa93533b1.js (14291 bytes)
wrote internal/docs/static/fontshold.1a1f5ca5b87eb00d.js (440 bytes)
=== rust: fmt
=== the embedded wasm must be built from these sources
wasm-stamp: internal/core/testdata/docs_core.wasm was built from these inputs
=== wasm: clippy, then the artifact the host embeds
Updating crates.io index
Downloading crates ...
Downloaded ahash v0.8.12
Downloaded downcast-rs v1.2.1
Downloaded cfg-if v1.0.4
Downloaded arrayvec v0.7.8
Downloaded async-lock v3.4.2
Downloaded async-trait v0.1.92
Downloaded autocfg v1.5.1
Downloaded bitflags v2.13.1
Downloaded semver v1.0.28
Downloaded arc-swap v1.9.2
Downloaded equivalent v1.0.2
Downloaded smallstr v0.3.1
Downloaded scopeguard v1.2.0
Downloaded version_check v0.9.5
Downloaded parking v2.2.1
Downloaded pin-project-lite v0.2.17
Downloaded itoa v1.0.18
Downloaded event-listener-strategy v0.5.4
Downloaded multi-stash v0.2.0
Downloaded num-derive v0.4.2
Downloaded indexmap-nostd v0.4.0
Downloaded string-interner v0.17.0
Downloaded dashmap v6.2.1
Downloaded quote v1.0.47
Downloaded rustversion v1.0.23
Downloaded wasmi_core v0.32.3
Downloaded zmij v1.0.23
Downloaded smallvec v1.15.2
Downloaded lock_api v0.4.14
Downloaded unicode-ident v1.0.24
Downloaded thiserror v2.0.20
Downloaded thiserror-impl v2.0.20
Downloaded wasmi_collections v0.32.3
Downloaded once_cell v1.21.4
Downloaded paste v1.0.15
Downloaded crossbeam-utils v0.8.22
Downloaded foldhash v0.2.0
Downloaded spin v0.9.9
Downloaded event-listener v5.4.2
Downloaded parking_lot_core v0.9.12
Downloaded serde_core v1.0.229
Downloaded serde_derive v1.0.229
Downloaded proc-macro2 v1.0.107
Downloaded num-traits v0.2.19
Downloaded hashbrown v0.14.5
Downloaded serde v1.0.229
Downloaded indexmap v2.14.1
Downloaded memchr v2.8.3
Downloaded serde_json v1.0.151
Downloaded wasmparser-nostd v0.100.2
Downloaded zerocopy v0.8.56
Downloaded hashbrown v0.17.1
Downloaded libm v0.2.16
Downloaded wasmparser v0.258.0
Downloaded syn v2.0.119
Downloaded syn v3.0.4
Downloaded wasmi v0.32.3
Downloaded libc v0.2.189
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling version_check v0.9.5
Compiling zerocopy v0.8.56
Checking cfg-if v1.0.4
Checking once_cell v1.21.4
Compiling serde v1.0.229
Compiling libc v0.2.189
Checking smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Checking parking v2.2.1
Compiling parking_lot_core v0.9.12
Checking pin-project-lite v0.2.17
Compiling rustversion v1.0.23
Compiling serde_json v1.0.151
Checking event-listener v5.4.2
Checking scopeguard v1.2.0
Compiling thiserror v2.0.20
Checking itoa v1.0.18
Checking lock_api v0.4.14
Checking memchr v2.8.3
Checking event-listener-strategy v0.5.4
Compiling ahash v0.8.12
Checking smallstr v0.3.1
Checking async-lock v3.4.2
Compiling autocfg v1.5.1
Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
Compiling libm v0.2.16
Compiling paste v1.0.15
Checking foldhash v0.2.0
Checking indexmap-nostd v0.4.0
Checking equivalent v1.0.2
Checking downcast-rs v1.2.1
Checking arrayvec v0.7.8
Checking multi-stash v0.2.0
Checking semver v1.0.28
Checking wasmparser-nostd v0.100.2
Checking bitflags v2.13.1
Checking spin v0.9.9
Compiling num-traits v0.2.19
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
Checking hashbrown v0.14.5
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Checking dashmap v6.2.1
Checking yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/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/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
Checking wasmi v0.32.3
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo clippy --fix --lib -p yrs -- -D warnings -D clippy::disallowed_methods` to apply 35 suggestions)
Checking docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.66s
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
Downloading crates ...
Downloaded getrandom v0.4.3
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling cfg-if v1.0.4
Compiling serde_core v1.0.229
Compiling crossbeam-utils v0.8.22
Compiling rustversion v1.0.23
Compiling pin-project-lite v0.2.17
Compiling zmij v1.0.23
Compiling getrandom v0.4.3
Compiling smallvec v1.15.2
Compiling parking_lot_core v0.9.12
Compiling thiserror v2.0.20
Compiling scopeguard v1.2.0
Compiling serde_json v1.0.151
Compiling serde v1.0.229
Compiling memchr v2.8.3
Compiling once_cell v1.21.4
Compiling hashbrown v0.14.5
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling itoa v1.0.18
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
Compiling smallstr v0.3.1
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.2
Compiling arc-swap v1.9.2
Compiling dashmap v6.2.1
Compiling syn v3.0.4
Compiling thiserror-impl v2.0.20
Compiling serde_derive v1.0.229
Compiling async-trait v0.1.92
Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/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:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
Finished `release` profile [optimized] target(s) in 9.76s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes)
=== rust: build, test
Compiling libc v0.2.189
Compiling serde_core v1.0.229
Compiling parking v2.2.1
Compiling pin-project-lite v0.2.17
Compiling smallvec v1.15.2
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling scopeguard v1.2.0
Compiling cfg-if v1.0.4
Compiling parking_lot_core v0.9.12
Compiling serde_json v1.0.151
Compiling thiserror v2.0.20
Compiling serde v1.0.229
Compiling itoa v1.0.18
Compiling hashbrown v0.14.5
Compiling memchr v2.8.3
Compiling once_cell v1.21.4
Compiling arc-swap v1.9.2
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
Compiling lock_api v0.4.14
Compiling event-listener v5.4.2
Compiling smallstr v0.3.1
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.2
Compiling dashmap v6.2.1
Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
Finished `release` profile [optimized] target(s) in 14.26s
Compiling cfg-if v1.0.4
Compiling once_cell v1.21.4
Compiling smallvec v1.15.2
Compiling parking v2.2.1
Compiling pin-project-lite v0.2.17
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling libc v0.2.189
Compiling scopeguard v1.2.0
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling thiserror v2.0.20
Compiling arc-swap v1.9.2
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
Compiling foldhash v0.2.0
Compiling lock_api v0.4.14
Compiling num-traits v0.2.19
Compiling libm v0.2.16
Compiling event-listener v5.4.2
Compiling smallstr v0.3.1
Compiling indexmap-nostd v0.4.0
Compiling downcast-rs v1.2.1
Compiling equivalent v1.0.2
Compiling arrayvec v0.7.8
Compiling spin v0.9.9
Compiling bitflags v2.13.1
Compiling semver v1.0.28
Compiling multi-stash v0.2.0
Compiling event-listener-strategy v0.5.4
Compiling wasmparser-nostd v0.100.2
Compiling async-lock v3.4.2
Compiling parking_lot_core v0.9.12
Compiling wasmi_core v0.32.3
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling hashbrown v0.17.1
Compiling indexmap v2.14.1
Compiling wasmparser v0.258.0
Compiling ahash v0.8.12
Compiling hashbrown v0.14.5
Compiling dashmap v6.2.1
Compiling string-interner v0.17.0
Compiling wasmi_collections v0.32.3
Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 11.68s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-97822c04772ad1f7)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-0e216d1fab072ba4)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-0fc3d3217845bff4)
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-730947f15ca35a13)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/build.rs (core/target/debug/deps/build-fb6076b78dd6191d)
running 11 tests
test a_heading_level_is_a_number ... ok
test adjacent_runs_with_the_same_marks_merge ... ok
test one_text_per_block_and_none_when_empty ... ok
test refuses_a_client_id_a_browser_cannot_read ... ok
test refuses_past_its_limits ... ok
test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok
test the_abi_reports_each_refusal_as_its_own_code ... ok
test builds_paragraphs_headings_and_marks ... ok
test writes_only_into_an_empty_document ... ok
test the_snapshot_replays_to_the_same_structure ... ok
test refuses_malformed_lists_and_writes_nothing ... ok
test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/edit.rs (core/target/debug/deps/edit-3ae34b202043745b)
running 5 tests
test missing_dependency_refuses_without_losing_pending_update ... ok
test unsupported_blocks_are_preserved_and_never_deleted ... ok
test splices_are_normal_updates_and_preserve_untouched_items ... ok
test invalid_later_edit_never_mutates_valid_prefix ... ok
test client_and_input_bounds_are_enforced ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/fragment.rs (core/target/debug/deps/fragment-fa0c864a2c14104d)
running 31 tests
test empty_document_is_empty_output ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test empty_block_is_preserved_like_html ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test escapes_html_in_text ... ok
test escapes_json_in_text ... ok
test json_clamps_heading_level_like_html ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_names_every_font_mark ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test renders_a_code_block_as_the_editor_does ... ok
test reads_paragraphs_as_blocks ... ok
test json_reports_paragraph_alignment ... ok
test json_is_deterministic ... ok
test renders_a_hard_break_in_every_renderer ... ok
test json_marks_are_in_a_fixed_order ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_paragraphs_as_html ... ok
test renders_marks ... ok
test renders_paragraph_alignment_as_a_class ... ok
test text_sibling_before_a_block_is_separated ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_block_indent_as_a_class ... ok
test unknown_nodes_keep_their_text ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test renders_headings_and_lists ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_every_family_in_the_manifest ... ok
test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/initial.rs (core/target/debug/deps/initial-10c44c58c64afc80)
running 3 tests
test initial_rejects_client_ids_outside_yjs_range ... ok
test initial_content_is_real_structured_literal_text ... ok
test initial_rejection_never_leaves_partial_content ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-2bbe34b2adedc94a)
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-774748a98e788976)
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-3e955456a9c0a169)
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-207dd6b23ace774e)
running 2 tests
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
warning: unused import: `ArrayRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
Blockingwarning: hiding a lifetime that's elided elsewhere is confusing waiting for file lock on build directory
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `release` profile [optimized] target(s) in 0.04s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 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:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
441 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
459 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `release` profile [optimized] target(s) in 0.05s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes)
test borrow_leak_repro_trapping_unicode_mutation ... ok
test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.43s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-63a6a403c236f6a0)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_hello ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests docs_core
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
=== the embedded wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== wire compatibility, both directions
--- regenerating fixtures from JS yjs
hello: 27 bytes
unicode: 33 bytes
formatted: 70 bytes
concurrent: 36 bytes
--- fixtures must be unchanged (they are the contract, not an output)
--- Rust reads what JS wrote
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
Running tests/wire_compat.rs (target/debug/deps/wire_compat-63a6a403c236f6a0)
running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_hello ... ok
test applies_formatted ... ok
test applies_unicode ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
verify-rust: ok (81 bytes)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
|
17 | use crate::types::array::{ArrayEvent, ArrayRef};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `XmlElementRef` and `XmlTextRef`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
|
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
| ^^^^^^^^^^^^^ ^^^^^^^^^^
warning: value assigned to `left` is never read
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
|
288 | let mut left = None;
| ^^^^ this value is reassigned later and never used
...
334 | left = parent_branch.map.get(sub).cloned();
| ------------------------------------------ `left` is overwritten here before the previous value is read
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:672:29
|
672 | if let Some(mut left) = this.left {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `ptr`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:758:25
|
758 | let ptr = BranchPtr::from(branch);
| ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `branch`
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
|
447 | ItemContent::Type(branch) => {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`
warning: method `clock_end` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
|
126 | impl BlockCell {
| -------------- method in this implementation
...
136 | pub fn clock_end(&self) -> u32 {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `get_block_mut` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
|
23 | impl ClientBlockList {
| -------------------- method in this implementation
...
79 | fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: methods `contains` and `get_block_mut` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
|
299 | impl BlockStore {
| --------------- methods in this implementation
...
306 | pub fn contains(&self, id: &ID) -> bool {
| ^^^^^^^^
...
381 | pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
| ^^^^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
|
486 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
|
491 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
492 | fn new(update: &'a BlockStore) -> Self {
| ^^^
warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
|
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
| ^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
|
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
|
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
|
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
|
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
|
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `blocks` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
|
29 | impl UpdateBlocks {
| ----------------- method in this implementation
...
45 | pub(crate) fn blocks(&self) -> Blocks<'_> {
| ^^^^^^
warning: methods `last_id` and `into_block` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
|
879 | impl BlockCarrier {
| ----------------- methods in this implementation
...
934 | pub(crate) fn last_id(&self) -> ID {
| ^^^^^^^
...
963 | pub fn into_block(self) -> Option<Box<Item>> {
| ^^^^^^^^^^
warning: struct `Blocks` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
|
1076 | pub(crate) struct Blocks<'a> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
|
1081 | impl<'a> Blocks<'a> {
| ------------------- associated function in this implementation
1082 | fn new(update: &'a UpdateBlocks) -> Self {
| ^^^
warning: methods `move_to`, `forward`, `backward`, and `values` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
|
23 | impl BlockIter {
| -------------- methods in this implementation
...
73 | pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
| ^^^^^^^
...
99 | pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
| ^^^^^^^
...
186 | pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
| ^^^^^^^^
...
520 | pub fn values<'a, 'txn, T: ReadTxn>(
| ^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
|
528 | pub struct Values<'a, 'txn> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
|
533 | impl<'a, 'txn> Values<'a, 'txn> {
| ------------------------------- associated function in this implementation
534 | fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
| ^^^
warning: method `remove_at` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
|
245 | impl Branch {
| ----------- method in this implementation
...
427 | pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
| ^^^^^^^^^
warning: trait `BlockIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
|
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
| ^^^^^^^^^^^^^
warning: trait `BlockSliceIterator` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
|
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
| ^^^^^^^^^^^^^^^^^^
warning: struct `BlockSlices` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
|
283 | pub(crate) struct BlockSlices<I>(I)
| ^^^^^^^^^^^
warning: struct `RangeIter` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
|
311 | pub(crate) struct RangeIter<I> {
| ^^^^^^^^^
warning: associated items `new` and `begin` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
|
318 | / impl<I> RangeIter<I>
319 | | where
320 | | I: TxnIterator<Item = ItemPtr>,
| |___________________________________- associated items in this implementation
321 | {
322 | fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
| ^^^
...
331 | fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
| ^^^^^
warning: enum `RangeIterState` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
|
439 | enum RangeIterState {
| ^^^^^^^^^^^^^^
warning: struct `Values` is never constructed
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
|
450 | pub(crate) struct Values<I> {
| ^^^^^^
warning: associated function `new` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
|
455 | impl<I> Values<I> {
| ----------------- associated function in this implementation
456 | fn new(iter: I) -> Self {
| ^^^
warning: method `get_item` is never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
|
410 | impl StickyIndex {
| ---------------- method in this implementation
...
640 | pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
| ^^^^^^^^
warning: methods `contains_id`, `right`, and `left` are never used
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
|
100 | impl ItemSlice {
| -------------- methods in this implementation
...
174 | pub fn contains_id(&self, id: &ID) -> bool {
| ^^^^^^^^^^^
...
244 | pub fn right(&self) -> Option<ItemSlice> {
| ^^^^^
...
264 | pub fn left(&self) -> Option<ItemSlice> {
| ^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
|
63 | pub fn added(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
63 | pub fn added(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
|
69 | pub fn removed(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
69 | pub fn removed(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
|
75 | pub fn loaded(&self) -> SubdocsEventIter {
| ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
75 | pub fn loaded(&self) -> SubdocsEventIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
595 | pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
|
345 | pub fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
345 | pub fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
351 | pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
431 | pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
436 | pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
|
445 | pub(crate) fn read_async(&self) -> Read<Store> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
445 | pub(crate) fn read_async(&self) -> Read<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
449 | pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
454 | pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
|
463 | pub(crate) fn write_async(&self) -> Write<Store> {
| ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
463 | pub(crate) fn write_async(&self) -> Write<'_, Store> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
|
166 | fn root_refs(&self) -> RootRefs {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
166 | fn root_refs(&self) -> RootRefs<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
|
173 | fn subdoc_guids(&self) -> SubdocGuids {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
173 | fn subdoc_guids(&self) -> SubdocGuids<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
|
179 | fn subdocs(&self) -> SubdocsIter {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
179 | fn subdocs(&self) -> SubdocsIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
|
1108 | pub fn iter(&self) -> EventsIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1108 | pub fn iter(&self) -> EventsIter<'_> {
| ++++
warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
|
280 | pub type Subscription = Arc<dyn Drop + 'static>;
| ^^^^
|
= note: `#[warn(dyn_drop)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
93 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
|
178 | pub fn iter(&self) -> AwarenessIter {
| ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn iter(&self) -> AwarenessIter<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
|
18 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
18 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
43 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
60 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
|
71 | fn transact(&self) -> Transaction;
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
71 | fn transact(&self) -> Transaction<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
|
83 | fn transact_mut(&self) -> TransactionMut;
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
83 | fn transact_mut(&self) -> TransactionMut<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
|
87 | fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
87 | fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
94 | fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
101 | fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
|
123 | fn transact(&self) -> Transaction {
| ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
123 | fn transact(&self) -> Transaction<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
|
128 | fn transact_mut(&self) -> TransactionMut {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
128 | fn transact_mut(&self) -> TransactionMut<'_> {
| ++++
initial content: real Yjs/ProseMirror parity passed
semantic edits: production schema, rich-content identity and offline convergence passed
wire-gate: ok
=== go: vet, test, gofmt
amadan: job cancelled — a newer push superseded it
Watching for changes…