CI cancelled — superseded by a newer push 10m 30s
- Branch
design/images- Commit
5eff7ec9Paul Campbell
- Runner
hosted/hj-fa9d5fa7829bd24962ea6615-618-1- Reported by
hosted/hj-fa9d5fa7829bd24962ea6615-618-1- Queued
- Started
- Waited for a runner
- 32s
- Last change
- Attempt
- 1 of 2
Steps run in order, one after another.
-
gate cancelled 10m 26s
=== 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.215755 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: 41.242053 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.164002 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.460414 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.559084 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.805975 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.730063 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.692299 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: 20.465818 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.358171 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.576843 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.736856 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.720164 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.824518 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: 0.949627 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.378856 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.454514 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.274312 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.204292 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: 1.995038 type: 'test' ... 1..20 # tests 20 # suites 0 # pass 20 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 326.284583 === 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.802512 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.29344 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: 0.929737 type: 'test' ... 1..3 # tests 3 # suites 0 # pass 3 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 56.887311 === 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: 21.868697 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: 3.875707 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.076224 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: 2.929483 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.786625 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.122024 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: 2.498891 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: 4.570738 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: 3.828687 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.15447 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.777289 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.507452 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: 2.796698 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.540794 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.902338 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.733476 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.449104 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.14423 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.103101 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.203168 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.456872 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.229372 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.213565 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.556914 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: 5.836539 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.149312 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.352257 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.619155 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.765924 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: 0.734862 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.263274 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: 2.167546 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.828826 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: 3.841108 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.387721 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.862527 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.674353 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.09276 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.402257 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.483765 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.133974 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.07651 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: 4.477237 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.446574 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: 3.824614 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.603125 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: 1.989901 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.472147 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.252454 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: 2.900813 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: 1.95699 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.185539 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: 2134.403916 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: 4181.501809 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.397856 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.813225 type: 'test' ... 1..56 # tests 56 # suites 0 # pass 56 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 6672.89009 === 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.311781 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.631557 type: 'test' ... # Subtest: a later response still carries the cursor forward ok 3 - a later response still carries the cursor forward --- duration_ms: 0.315307 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.234083 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.35418 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.29325 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.296989 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.807382 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.88467 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.691493 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: 1.057897 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: 0.250559 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.147988 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.186993 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.218516 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.130948 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: 9.729789 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.397815 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.158761 type: 'test' ... 1..19 # tests 19 # suites 0 # pass 19 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 73.50475 === 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.45887 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.214777 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.772829 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.25322 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.251462 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.165928 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.350435 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.748921 type: 'test' ... # Subtest: the command aligns every block a selection spans ok 9 - the command aligns every block a selection spans --- duration_ms: 0.92997 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.971822 type: 'test' ... # Subtest: one transaction per click, not one per block ok 11 - one transaction per click, not one per block --- duration_ms: 0.797801 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.412351 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.470045 type: 'test' ... 1..13 # tests 13 # suites 0 # pass 13 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 145.619757 === 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.33604 type: 'test' ... # Subtest: an unmarked run is Carlito ok 2 - an unmarked run is Carlito --- duration_ms: 0.308064 type: 'test' ... # Subtest: code is Liberation Mono ok 3 - code is Liberation Mono --- duration_ms: 0.1235 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.129984 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.285319 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.122024 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.273819 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.151816 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.695223 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.662331 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.760966 type: 'test' ... 1..11 # tests 11 # suites 0 # pass 11 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 64.933724 === 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.126793 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.659102 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.875221 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: 1.920225 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.054998 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.822345 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.882724 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.261303 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: 0.978892 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.311177 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.209188 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.385583 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.401616 type: 'test' ... 1..13 # tests 13 # suites 0 # pass 13 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 4078.9749 === 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.65746 type: 'test' ... # Subtest: two blank lines stay two blank lines ok 2 - two blank lines stay two blank lines --- duration_ms: 0.330768 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.175829 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.197868 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.874141 type: 'test' ... # Subtest: an ordinary paste is returned by identity ok 6 - an ordinary paste is returned by identity --- duration_ms: 0.29309 type: 'test' ... # Subtest: paragraph attributes are carried onto the blank lines ok 7 - paragraph attributes are carried onto the blank lines --- duration_ms: 0.354211 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.192733 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.536994 type: 'test' ... # Subtest: WebKit's copy marker is ignored ok 10 - WebKit's copy marker is ignored --- duration_ms: 0.663834 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.328588 type: 'test' ... # Subtest: the slice keeps its open depths ok 12 - the slice keeps its open depths --- duration_ms: 0.140207 type: 'test' ... 1..12 # tests 12 # suites 0 # pass 12 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 76.428767 === 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.030488 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.197229 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.956239 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.165094 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.187319 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.171188 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.184358 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.118313 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 61.765353 === 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.051419 type: 'test' ... # Subtest: every other size maps to its own mark ok 2 - every other size maps to its own mark --- duration_ms: 0.247207 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.172273 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.145211 type: 'test' ... # Subtest: no marks means the default size ok 5 - no marks means the default size --- duration_ms: 0.319063 type: 'test' ... # Subtest: a mark reports its own size ok 6 - a mark reports its own size --- duration_ms: 0.137008 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.292912 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.144923 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.542931 type: 'test' ... 1..9 # tests 9 # suites 0 # pass 9 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 65.905001 === 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.225442 type: 'test' ... # Subtest: "* " and "+ " start one too ok 2 - "* " and "+ " start one too --- duration_ms: 1.025037 type: 'test' ... # Subtest: "1. " starts a numbered list ok 3 - "1. " starts a numbered list --- duration_ms: 0.554893 type: 'test' ... # Subtest: "> " starts a quote ok 4 - "> " starts a quote --- duration_ms: 0.931348 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: 0.993334 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.022252 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.446816 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.131417 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.904434 type: 'test' ... 1..9 # tests 9 # suites 0 # pass 9 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 87.740885 === fixtures: counting words, including where there are no spaces TAP version 13 # Subtest: nothing is nothing ok 1 - nothing is nothing --- duration_ms: 1.046596 type: 'test' ... # Subtest: ordinary English ok 2 - ordinary English --- duration_ms: 0.278116 type: 'test' ... # Subtest: punctuation is not a word ok 3 - punctuation is not a word --- duration_ms: 0.151145 type: 'test' ... # Subtest: a language without spaces between words still counts ok 4 - a language without spaces between words still counts --- duration_ms: 13.39188 type: 'test' ... # Subtest: the document count walks every block ok 5 - the document count walks every block --- duration_ms: 1.4951 type: 'test' ... # Subtest: a paragraph boundary is a word boundary ok 6 - a paragraph boundary is a word boundary --- duration_ms: 0.384733 type: 'test' ... # Subtest: characters are counted with and without spaces ok 7 - characters are counted with and without spaces --- duration_ms: 0.328965 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.317325 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 109.358139 === 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: 2.02507 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.181251 type: 'test' ... # Subtest: an editor command follows what the command reports ok 3 - an editor command follows what the command reports --- duration_ms: 0.192046 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.291898 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.346852 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.31784 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.246149 type: 'test' ... # Subtest: a menu command refocuses the document only where refocus says so ok 8 - a menu command refocuses the document only where refocus says so --- duration_ms: 0.573677 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 64.28282 === 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.128287 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.373233 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.267212 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.131556 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: 0.939036 type: 'test' ... # Subtest: the size steps walk the ladder one size at a time and stop at its ends ok 6 - the size steps walk the ladder one size at a time and stop at its ends --- duration_ms: 3.390489 type: 'test' ... # Subtest: a control hands the caret back to the document only where refocus says so ok 7 - a control hands the caret back to the document only where refocus says so --- duration_ms: 1.80976 type: 'test' ... # Subtest: a style chip is pressed for the style the selection is in ok 8 - a style chip is pressed for the style the selection is in --- duration_ms: 1.423446 type: 'test' ... 1..8 # tests 8 # suites 0 # pass 8 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 165.509943 === 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.057721 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.206873 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.312003 type: 'test' ... # Subtest: the arrow keys walk only the drawn controls ok 4 - the arrow keys walk only the drawn controls --- duration_ms: 0.231579 type: 'test' ... 1..4 # tests 4 # suites 0 # pass 4 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 61.342691 === the editor bundle must match a fresh build wrote internal/docs/static/editor.fe1db7ee4d4551b0.js (364033 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 foldhash v0.2.0 Downloaded indexmap v2.14.1 Downloaded async-lock v3.4.2 Downloaded memchr v2.8.3 Downloaded ahash v0.8.12 Downloaded unicode-ident v1.0.24 Downloaded hashbrown v0.14.5 Downloaded async-trait v0.1.92 Downloaded syn v3.0.4 Downloaded arc-swap v1.9.2 Downloaded wasmparser v0.258.0 Downloaded arrayvec v0.7.8 Downloaded hashbrown v0.17.1 Downloaded scopeguard v1.2.0 Downloaded wasmi_collections v0.32.3 Downloaded event-listener v5.4.2 Downloaded serde_derive v1.0.229 Downloaded version_check v0.9.5 Downloaded smallvec v1.15.2 Downloaded multi-stash v0.2.0 Downloaded indexmap-nostd v0.4.0 Downloaded thiserror-impl v2.0.20 Downloaded downcast-rs v1.2.1 Downloaded event-listener-strategy v0.5.4 Downloaded dashmap v6.2.1 Downloaded equivalent v1.0.2 Downloaded zmij v1.0.23 Downloaded smallstr v0.3.1 Downloaded autocfg v1.5.1 Downloaded itoa v1.0.18 Downloaded parking v2.2.1 Downloaded paste v1.0.15 Downloaded spin v0.9.9 Downloaded once_cell v1.21.4 Downloaded cfg-if v1.0.4 Downloaded num-derive v0.4.2 Downloaded lock_api v0.4.14 Downloaded serde_core v1.0.229 Downloaded string-interner v0.17.0 Downloaded pin-project-lite v0.2.17 Downloaded quote v1.0.47 Downloaded rustversion v1.0.23 Downloaded thiserror v2.0.20 Downloaded wasmi_core v0.32.3 Downloaded crossbeam-utils v0.8.22 Downloaded num-traits v0.2.19 Downloaded parking_lot_core v0.9.12 Downloaded proc-macro2 v1.0.107 Downloaded semver v1.0.28 Downloaded serde v1.0.229 Downloaded bitflags v2.13.1 Downloaded wasmparser-nostd v0.100.2 Downloaded syn v2.0.119 Downloaded serde_json v1.0.151 Downloaded libm v0.2.16 Downloaded zerocopy v0.8.56 Downloaded wasmi v0.32.3 Downloaded libc v0.2.189 Compiling proc-macro2 v1.0.107 Compiling quote v1.0.47 Compiling unicode-ident v1.0.24 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling version_check v0.9.5 Checking cfg-if v1.0.4 Checking once_cell v1.21.4 Compiling serde v1.0.229 Checking smallvec v1.15.2 Compiling libc v0.2.189 Compiling zmij v1.0.23 Compiling rustversion v1.0.23 Compiling crossbeam-utils v0.8.22 Compiling parking_lot_core v0.9.12 Checking parking v2.2.1 Checking pin-project-lite v0.2.17 Compiling thiserror v2.0.20 Checking event-listener v5.4.2 Checking scopeguard v1.2.0 Compiling serde_json v1.0.151 Checking lock_api v0.4.14 Checking itoa v1.0.18 Checking event-listener-strategy v0.5.4 Checking memchr v2.8.3 Compiling ahash v0.8.12 Checking smallstr v0.3.1 Checking async-lock v3.4.2 Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/core/vendor/fastrand-2.5.0) Compiling autocfg v1.5.1 Compiling libm v0.2.16 Compiling paste v1.0.15 Checking foldhash v0.2.0 Checking downcast-rs v1.2.1 Checking indexmap-nostd v0.4.0 Checking equivalent v1.0.2 Checking bitflags v2.13.1 Checking spin v0.9.9 Checking semver v1.0.28 Checking arrayvec v0.7.8 Checking multi-stash v0.2.0 Checking wasmparser-nostd v0.100.2 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 Compiling num-derive v0.4.2 Checking indexmap v2.14.1 Compiling serde_derive v1.0.229 Compiling thiserror-impl v2.0.20 Compiling async-trait v0.1.92 Checking hashbrown v0.14.5 Checking dashmap v6.2.1 Checking yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core) Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.76s 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 quote v1.0.47 Compiling unicode-ident v1.0.24 Compiling serde_core v1.0.229 Compiling cfg-if v1.0.4 Compiling parking_lot_core v0.9.12 Compiling crossbeam-utils v0.8.22 Compiling pin-project-lite v0.2.17 Compiling smallvec v1.15.2 Compiling rustversion v1.0.23 Compiling zmij v1.0.23 Compiling getrandom v0.4.3 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling scopeguard v1.2.0 Compiling thiserror v2.0.20 Compiling memchr v2.8.3 Compiling itoa v1.0.18 Compiling once_cell v1.21.4 Compiling event-listener v5.4.2 Compiling lock_api v0.4.14 Compiling hashbrown v0.14.5 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/core) Finished `release` profile [optimized] target(s) in 8.70s 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 parking_lot_core v0.9.12 Compiling cfg-if v1.0.4 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling thiserror v2.0.20 Compiling serde v1.0.229 Compiling serde_json v1.0.151 Compiling hashbrown v0.14.5 Compiling memchr v2.8.3 Compiling itoa v1.0.18 Compiling once_cell v1.21.4 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/native/vendor/yrs-0.23.5) warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core) Finished `release` profile [optimized] target(s) in 13.17s Compiling cfg-if v1.0.4 Compiling once_cell v1.21.4 Compiling smallvec v1.15.2 Compiling parking v2.2.1 Compiling pin-project-lite v0.2.17 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.56 Compiling libc v0.2.189 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.22 Compiling zmij v1.0.23 Compiling memchr v2.8.3 Compiling itoa v1.0.18 Compiling thiserror v2.0.20 Compiling arc-swap v1.9.2 Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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 downcast-rs v1.2.1 Compiling equivalent v1.0.2 Compiling indexmap-nostd v0.4.0 Compiling multi-stash v0.2.0 Compiling spin v0.9.9 Compiling arrayvec v0.7.8 Compiling bitflags v2.13.1 Compiling semver v1.0.28 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/design__images/native/vendor/yrs-0.23.5) Compiling wasmi v0.32.3 warning: unused import: `ArrayRef` --> /home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core) Finished `test` profile [unoptimized + debuginfo] target(s) in 10.70s Running unittests src/lib.rs (core/target/debug/deps/docs_core-1201d4ec6147f4e1) 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-c0907cae3129f9cb) 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-64f22f4115a157a3) 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-52a8ebf76b2be13d) 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-3677348a01914dda) 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 an_unmarked_run_after_a_marked_one_inherits_nothing ... ok test refuses_a_client_id_a_browser_cannot_read ... ok test refuses_past_its_limits ... ok test builds_paragraphs_headings_and_marks ... ok test the_abi_reports_each_refusal_as_its_own_code ... ok test writes_only_into_an_empty_document ... ok test refuses_malformed_lists_and_writes_nothing ... ok test the_snapshot_replays_to_the_same_structure ... 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-7e193e481bf9f6a9) 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-62876a2ca4861b9d) running 31 tests test empty_document_is_empty_output ... ok test a_hard_break_does_not_split_the_block_it_is_in ... ok test escapes_html_in_text ... ok test empty_block_is_preserved_like_html ... ok test an_unknown_alignment_is_dropped_from_every_renderer ... ok test escapes_json_in_text ... ok test json_clamps_heading_level_like_html ... ok test json_keeps_unknown_nodes_and_their_children ... ok test json_of_an_empty_document_is_an_empty_doc_node ... ok test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok test json_names_every_font_mark ... ok test nested_blocks_do_not_duplicate_their_text ... ok test reads_paragraphs_as_blocks ... ok test renders_a_code_block_as_the_editor_does ... 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_headings_and_lists ... ok test renders_marks ... ok test renders_the_document_as_prosemirror_json ... ok test renders_paragraphs_as_html ... ok test text_sibling_before_a_block_is_separated ... ok test unknown_nodes_keep_their_text ... ok test renders_paragraph_alignment_as_a_class ... ok test renders_block_indent_as_a_class ... ok test renders_font_and_size_marks_as_classed_spans ... ok test renders_the_point_ladder_and_the_scale_it_replaced ... ok test reports_block_indent_to_the_exporters ... 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-39794876a64f26f5) 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-afa98e9b1f36f051) 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-fc8689c55b21a942) 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-5259b0fff3512c00) 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-3f9bdae3bd938071) 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>; | ++++ 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 | Blocking waiting for file lock on build directory 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 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 | core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes) 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.23s Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-92ff538962f43085) 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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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-92ff538962f43085) 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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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 === spacing: every margin, padding and gap on the scale === go: vet, test, gofmt ok github.com/carlosframework/docs/cmd/docs 3.327s ? github.com/carlosframework/docs/cmd/docs-colophon [no test files] ? github.com/carlosframework/docs/cmd/docs-contract [no test files] ok github.com/carlosframework/docs/internal/contract 0.256s ok github.com/carlosframework/docs/internal/core 14.940s ok github.com/carlosframework/docs/internal/docs 251.791s ? github.com/carlosframework/docs/internal/docs/keymailtest [no test files] ? github.com/carlosframework/docs/internal/docs/linkstore [no test files] ok github.com/carlosframework/docs/internal/docs/principalstore 0.196s ok github.com/carlosframework/docs/internal/docx 0.231s ok github.com/carlosframework/docs/internal/export 0.227s ok github.com/carlosframework/docs/internal/fonts 0.145s ok github.com/carlosframework/docs/internal/lint 0.087s ? github.com/carlosframework/docs/internal/pdf [no test files] ok github.com/carlosframework/docs/internal/shipped 5.238s === go: race detector on warm handles and the stream 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.215755
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: 41.242053
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.164002
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.460414
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.559084
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.805975
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.730063
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.692299
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: 20.465818
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.358171
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.576843
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.736856
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.720164
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.824518
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: 0.949627
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.378856
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.454514
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.274312
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.204292
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: 1.995038
type: 'test'
...
1..20
# tests 20
# suites 0
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 326.284583
=== 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.802512
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.29344
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: 0.929737
type: 'test'
...
1..3
# tests 3
# suites 0
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 56.887311
=== 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: 21.868697
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: 3.875707
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.076224
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: 2.929483
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.786625
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.122024
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: 2.498891
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: 4.570738
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: 3.828687
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.15447
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.777289
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.507452
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: 2.796698
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.540794
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.902338
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.733476
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.449104
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.14423
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.103101
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.203168
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.456872
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.229372
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.213565
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.556914
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: 5.836539
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.149312
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.352257
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.619155
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.765924
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: 0.734862
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.263274
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: 2.167546
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.828826
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: 3.841108
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.387721
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.862527
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.674353
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.09276
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.402257
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.483765
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.133974
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.07651
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: 4.477237
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.446574
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: 3.824614
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.603125
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: 1.989901
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.472147
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.252454
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: 2.900813
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: 1.95699
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.185539
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: 2134.403916
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: 4181.501809
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.397856
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.813225
type: 'test'
...
1..56
# tests 56
# suites 0
# pass 56
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 6672.89009
=== 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.311781
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.631557
type: 'test'
...
# Subtest: a later response still carries the cursor forward
ok 3 - a later response still carries the cursor forward
---
duration_ms: 0.315307
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.234083
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.35418
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.29325
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.296989
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.807382
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.88467
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.691493
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: 1.057897
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: 0.250559
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.147988
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.186993
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.218516
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.130948
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: 9.729789
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.397815
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.158761
type: 'test'
...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 73.50475
=== 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.45887
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.214777
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.772829
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.25322
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.251462
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.165928
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.350435
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.748921
type: 'test'
...
# Subtest: the command aligns every block a selection spans
ok 9 - the command aligns every block a selection spans
---
duration_ms: 0.92997
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.971822
type: 'test'
...
# Subtest: one transaction per click, not one per block
ok 11 - one transaction per click, not one per block
---
duration_ms: 0.797801
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.412351
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.470045
type: 'test'
...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 145.619757
=== 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.33604
type: 'test'
...
# Subtest: an unmarked run is Carlito
ok 2 - an unmarked run is Carlito
---
duration_ms: 0.308064
type: 'test'
...
# Subtest: code is Liberation Mono
ok 3 - code is Liberation Mono
---
duration_ms: 0.1235
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.129984
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.285319
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.122024
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.273819
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.151816
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.695223
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.662331
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.760966
type: 'test'
...
1..11
# tests 11
# suites 0
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 64.933724
=== 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.126793
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.659102
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.875221
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: 1.920225
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.054998
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.822345
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.882724
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.261303
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: 0.978892
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.311177
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.209188
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.385583
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.401616
type: 'test'
...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4078.9749
=== 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.65746
type: 'test'
...
# Subtest: two blank lines stay two blank lines
ok 2 - two blank lines stay two blank lines
---
duration_ms: 0.330768
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.175829
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.197868
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.874141
type: 'test'
...
# Subtest: an ordinary paste is returned by identity
ok 6 - an ordinary paste is returned by identity
---
duration_ms: 0.29309
type: 'test'
...
# Subtest: paragraph attributes are carried onto the blank lines
ok 7 - paragraph attributes are carried onto the blank lines
---
duration_ms: 0.354211
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.192733
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.536994
type: 'test'
...
# Subtest: WebKit's copy marker is ignored
ok 10 - WebKit's copy marker is ignored
---
duration_ms: 0.663834
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.328588
type: 'test'
...
# Subtest: the slice keeps its open depths
ok 12 - the slice keeps its open depths
---
duration_ms: 0.140207
type: 'test'
...
1..12
# tests 12
# suites 0
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 76.428767
=== 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.030488
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.197229
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.956239
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.165094
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.187319
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.171188
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.184358
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.118313
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 61.765353
=== 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.051419
type: 'test'
...
# Subtest: every other size maps to its own mark
ok 2 - every other size maps to its own mark
---
duration_ms: 0.247207
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.172273
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.145211
type: 'test'
...
# Subtest: no marks means the default size
ok 5 - no marks means the default size
---
duration_ms: 0.319063
type: 'test'
...
# Subtest: a mark reports its own size
ok 6 - a mark reports its own size
---
duration_ms: 0.137008
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.292912
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.144923
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.542931
type: 'test'
...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 65.905001
=== 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.225442
type: 'test'
...
# Subtest: "* " and "+ " start one too
ok 2 - "* " and "+ " start one too
---
duration_ms: 1.025037
type: 'test'
...
# Subtest: "1. " starts a numbered list
ok 3 - "1. " starts a numbered list
---
duration_ms: 0.554893
type: 'test'
...
# Subtest: "> " starts a quote
ok 4 - "> " starts a quote
---
duration_ms: 0.931348
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: 0.993334
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.022252
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.446816
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.131417
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.904434
type: 'test'
...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 87.740885
=== fixtures: counting words, including where there are no spaces
TAP version 13
# Subtest: nothing is nothing
ok 1 - nothing is nothing
---
duration_ms: 1.046596
type: 'test'
...
# Subtest: ordinary English
ok 2 - ordinary English
---
duration_ms: 0.278116
type: 'test'
...
# Subtest: punctuation is not a word
ok 3 - punctuation is not a word
---
duration_ms: 0.151145
type: 'test'
...
# Subtest: a language without spaces between words still counts
ok 4 - a language without spaces between words still counts
---
duration_ms: 13.39188
type: 'test'
...
# Subtest: the document count walks every block
ok 5 - the document count walks every block
---
duration_ms: 1.4951
type: 'test'
...
# Subtest: a paragraph boundary is a word boundary
ok 6 - a paragraph boundary is a word boundary
---
duration_ms: 0.384733
type: 'test'
...
# Subtest: characters are counted with and without spaces
ok 7 - characters are counted with and without spaces
---
duration_ms: 0.328965
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.317325
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 109.358139
=== 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: 2.02507
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.181251
type: 'test'
...
# Subtest: an editor command follows what the command reports
ok 3 - an editor command follows what the command reports
---
duration_ms: 0.192046
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.291898
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.346852
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.31784
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.246149
type: 'test'
...
# Subtest: a menu command refocuses the document only where refocus says so
ok 8 - a menu command refocuses the document only where refocus says so
---
duration_ms: 0.573677
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 64.28282
=== 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.128287
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.373233
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.267212
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.131556
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: 0.939036
type: 'test'
...
# Subtest: the size steps walk the ladder one size at a time and stop at its ends
ok 6 - the size steps walk the ladder one size at a time and stop at its ends
---
duration_ms: 3.390489
type: 'test'
...
# Subtest: a control hands the caret back to the document only where refocus says so
ok 7 - a control hands the caret back to the document only where refocus says so
---
duration_ms: 1.80976
type: 'test'
...
# Subtest: a style chip is pressed for the style the selection is in
ok 8 - a style chip is pressed for the style the selection is in
---
duration_ms: 1.423446
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 165.509943
=== 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.057721
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.206873
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.312003
type: 'test'
...
# Subtest: the arrow keys walk only the drawn controls
ok 4 - the arrow keys walk only the drawn controls
---
duration_ms: 0.231579
type: 'test'
...
1..4
# tests 4
# suites 0
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 61.342691
=== the editor bundle must match a fresh build
wrote internal/docs/static/editor.fe1db7ee4d4551b0.js (364033 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 foldhash v0.2.0
Downloaded indexmap v2.14.1
Downloaded async-lock v3.4.2
Downloaded memchr v2.8.3
Downloaded ahash v0.8.12
Downloaded unicode-ident v1.0.24
Downloaded hashbrown v0.14.5
Downloaded async-trait v0.1.92
Downloaded syn v3.0.4
Downloaded arc-swap v1.9.2
Downloaded wasmparser v0.258.0
Downloaded arrayvec v0.7.8
Downloaded hashbrown v0.17.1
Downloaded scopeguard v1.2.0
Downloaded wasmi_collections v0.32.3
Downloaded event-listener v5.4.2
Downloaded serde_derive v1.0.229
Downloaded version_check v0.9.5
Downloaded smallvec v1.15.2
Downloaded multi-stash v0.2.0
Downloaded indexmap-nostd v0.4.0
Downloaded thiserror-impl v2.0.20
Downloaded downcast-rs v1.2.1
Downloaded event-listener-strategy v0.5.4
Downloaded dashmap v6.2.1
Downloaded equivalent v1.0.2
Downloaded zmij v1.0.23
Downloaded smallstr v0.3.1
Downloaded autocfg v1.5.1
Downloaded itoa v1.0.18
Downloaded parking v2.2.1
Downloaded paste v1.0.15
Downloaded spin v0.9.9
Downloaded once_cell v1.21.4
Downloaded cfg-if v1.0.4
Downloaded num-derive v0.4.2
Downloaded lock_api v0.4.14
Downloaded serde_core v1.0.229
Downloaded string-interner v0.17.0
Downloaded pin-project-lite v0.2.17
Downloaded quote v1.0.47
Downloaded rustversion v1.0.23
Downloaded thiserror v2.0.20
Downloaded wasmi_core v0.32.3
Downloaded crossbeam-utils v0.8.22
Downloaded num-traits v0.2.19
Downloaded parking_lot_core v0.9.12
Downloaded proc-macro2 v1.0.107
Downloaded semver v1.0.28
Downloaded serde v1.0.229
Downloaded bitflags v2.13.1
Downloaded wasmparser-nostd v0.100.2
Downloaded syn v2.0.119
Downloaded serde_json v1.0.151
Downloaded libm v0.2.16
Downloaded zerocopy v0.8.56
Downloaded wasmi v0.32.3
Downloaded libc v0.2.189
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling version_check v0.9.5
Checking cfg-if v1.0.4
Checking once_cell v1.21.4
Compiling serde v1.0.229
Checking smallvec v1.15.2
Compiling libc v0.2.189
Compiling zmij v1.0.23
Compiling rustversion v1.0.23
Compiling crossbeam-utils v0.8.22
Compiling parking_lot_core v0.9.12
Checking parking v2.2.1
Checking pin-project-lite v0.2.17
Compiling thiserror v2.0.20
Checking event-listener v5.4.2
Checking scopeguard v1.2.0
Compiling serde_json v1.0.151
Checking lock_api v0.4.14
Checking itoa v1.0.18
Checking event-listener-strategy v0.5.4
Checking memchr v2.8.3
Compiling ahash v0.8.12
Checking smallstr v0.3.1
Checking async-lock v3.4.2
Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/core/vendor/fastrand-2.5.0)
Compiling autocfg v1.5.1
Compiling libm v0.2.16
Compiling paste v1.0.15
Checking foldhash v0.2.0
Checking downcast-rs v1.2.1
Checking indexmap-nostd v0.4.0
Checking equivalent v1.0.2
Checking bitflags v2.13.1
Checking spin v0.9.9
Checking semver v1.0.28
Checking arrayvec v0.7.8
Checking multi-stash v0.2.0
Checking wasmparser-nostd v0.100.2
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
Compiling num-derive v0.4.2
Checking indexmap v2.14.1
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.20
Compiling async-trait v0.1.92
Checking hashbrown v0.14.5
Checking dashmap v6.2.1
Checking yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.76s
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 quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling serde_core v1.0.229
Compiling cfg-if v1.0.4
Compiling parking_lot_core v0.9.12
Compiling crossbeam-utils v0.8.22
Compiling pin-project-lite v0.2.17
Compiling smallvec v1.15.2
Compiling rustversion v1.0.23
Compiling zmij v1.0.23
Compiling getrandom v0.4.3
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling scopeguard v1.2.0
Compiling thiserror v2.0.20
Compiling memchr v2.8.3
Compiling itoa v1.0.18
Compiling once_cell v1.21.4
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling hashbrown v0.14.5
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/core)
Finished `release` profile [optimized] target(s) in 8.70s
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 parking_lot_core v0.9.12
Compiling cfg-if v1.0.4
Compiling scopeguard v1.2.0
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling thiserror v2.0.20
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling hashbrown v0.14.5
Compiling memchr v2.8.3
Compiling itoa v1.0.18
Compiling once_cell v1.21.4
Compiling arc-swap v1.9.2
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core)
Finished `release` profile [optimized] target(s) in 13.17s
Compiling cfg-if v1.0.4
Compiling once_cell v1.21.4
Compiling smallvec v1.15.2
Compiling parking v2.2.1
Compiling pin-project-lite v0.2.17
Compiling serde_core v1.0.229
Compiling zerocopy v0.8.56
Compiling libc v0.2.189
Compiling scopeguard v1.2.0
Compiling crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling memchr v2.8.3
Compiling itoa v1.0.18
Compiling thiserror v2.0.20
Compiling arc-swap v1.9.2
Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/design__images/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 downcast-rs v1.2.1
Compiling equivalent v1.0.2
Compiling indexmap-nostd v0.4.0
Compiling multi-stash v0.2.0
Compiling spin v0.9.9
Compiling arrayvec v0.7.8
Compiling bitflags v2.13.1
Compiling semver v1.0.28
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/design__images/native/vendor/yrs-0.23.5)
Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
--> /home/ci/work/repos/oficina__docs/wt/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.70s
Running unittests src/lib.rs (core/target/debug/deps/docs_core-1201d4ec6147f4e1)
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-c0907cae3129f9cb)
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-64f22f4115a157a3)
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-52a8ebf76b2be13d)
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-3677348a01914dda)
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 an_unmarked_run_after_a_marked_one_inherits_nothing ... ok
test refuses_a_client_id_a_browser_cannot_read ... ok
test refuses_past_its_limits ... ok
test builds_paragraphs_headings_and_marks ... ok
test the_abi_reports_each_refusal_as_its_own_code ... ok
test writes_only_into_an_empty_document ... ok
test refuses_malformed_lists_and_writes_nothing ... ok
test the_snapshot_replays_to_the_same_structure ... 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-7e193e481bf9f6a9)
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-62876a2ca4861b9d)
running 31 tests
test empty_document_is_empty_output ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test escapes_html_in_text ... ok
test empty_block_is_preserved_like_html ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test escapes_json_in_text ... ok
test json_clamps_heading_level_like_html ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test json_names_every_font_mark ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test reads_paragraphs_as_blocks ... ok
test renders_a_code_block_as_the_editor_does ... 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_headings_and_lists ... ok
test renders_marks ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_paragraphs_as_html ... ok
test text_sibling_before_a_block_is_separated ... ok
test unknown_nodes_keep_their_text ... ok
test renders_paragraph_alignment_as_a_class ... ok
test renders_block_indent_as_a_class ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test reports_block_indent_to_the_exporters ... 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-39794876a64f26f5)
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-afa98e9b1f36f051)
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-fc8689c55b21a942)
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-5259b0fff3512c00)
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-3f9bdae3bd938071)
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>;
| ++++
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
| Blocking
waiting for file lock on build directory
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
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
|
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481670 bytes)
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.23s
Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-92ff538962f43085)
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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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-92ff538962f43085)
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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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/design__images/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
=== spacing: every margin, padding and gap on the scale
=== go: vet, test, gofmt
ok github.com/carlosframework/docs/cmd/docs 3.327s
? github.com/carlosframework/docs/cmd/docs-colophon [no test files]
? github.com/carlosframework/docs/cmd/docs-contract [no test files]
ok github.com/carlosframework/docs/internal/contract 0.256s
ok github.com/carlosframework/docs/internal/core 14.940s
ok github.com/carlosframework/docs/internal/docs 251.791s
? github.com/carlosframework/docs/internal/docs/keymailtest [no test files]
? github.com/carlosframework/docs/internal/docs/linkstore [no test files]
ok github.com/carlosframework/docs/internal/docs/principalstore 0.196s
ok github.com/carlosframework/docs/internal/docx 0.231s
ok github.com/carlosframework/docs/internal/export 0.227s
ok github.com/carlosframework/docs/internal/fonts 0.145s
ok github.com/carlosframework/docs/internal/lint 0.087s
? github.com/carlosframework/docs/internal/pdf [no test files]
ok github.com/carlosframework/docs/internal/shipped 5.238s
=== go: race detector on warm handles and the stream
amadan: job cancelled — a newer push superseded it
Watching for changes…