oficina / docs Public

Sign-in: the smart door (smart-door step 6, Docs)

Docs adopts the smart sign-in door. In one change: rastrillo v0.29.2 to
v0.40.0, Home connect/handoff to 83c36b8, estilo to 6b55b0e.
- SigninScreen and SigninOneWay are on, drawn through estilo's
  estilo-signin-screen.
- /signin always shows the door, with Continue with Oficina ID first
  (Oficina glyph). /signin/local is email only. /signin/oficina starts
  Oficina ID. Step-up offers email only.
- MintHomeSession remembers Oficina ID with the resolved person's address,
  and only for an admitted session.
- A refused session sees the refusal and can still reach Other ways.
- Signed out: Forget me on this device, chained to id.oficina.works/forget.
- Return memory keeps your page across the door.
- rastrillo v0.30 to v0.40 catch-up: chromedp v0.21, minified assets,
  Keymail continuation at /signin?continue=.
- Colophon regenerated (Fiesta, minify, parse).

Reviewed by Claude Fable: APPROVE AFTER FIXES, then APPROVE (A1-A6, N1
fixed). Copy approved by Paul 2026-11-21. CI passed at ab69196. Discussion 139.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from feat/smart-door into main.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 2e21630402f995b49115bac385093605a57408a9 parent fdb0fd2
32 files changed, +1,718 −610
  • go.mod +17 −18
  • go.sum +34 −38
  • internal/docs/app.go +10 −3
  • internal/docs/auth.go +142 −100
  • internal/docs/auth_allowlist_test.go +24 −1
  • internal/docs/auth_keymail_test.go +28 −3
  • internal/docs/auth_navigation.go +79 −83
  • internal/docs/auth_navigation_test.go +46 −77
  • internal/docs/auth_test.go +19 −16
  • internal/docs/carry_browser_test.go +2 −3
  • internal/docs/chrome.go +8 −2
  • internal/docs/chrome_test.go +8 −3
  • internal/docs/colophon.json +53 −8
  • internal/docs/colophon_browser_test.go +5 −5
  • internal/docs/fonts_browser_test.go +98 −66
  • internal/docs/handlers.go +13 −3
  • internal/docs/home_connect.go +88 −45
  • internal/docs/home_connect_linked_test.go +13 −1
  • internal/docs/home_render.go +14 −3
  • internal/docs/home_router_integration_test.go +17 −6
  • internal/docs/render.go +23 −25
  • internal/docs/signin_browser_test.go +198 −0
  • internal/docs/signin_confirm_test.go +4 −4
  • internal/docs/signin_door_test.go +20 −11
  • internal/docs/signin_loop_test.go +33 −11
  • internal/docs/signin_return.go +17 −21
  • internal/docs/signin_smart_door_test.go +649 −0
  • internal/docs/team_router_test.go +1 −1
  • internal/docs/theme_assets_test.go +22 −2
  • internal/docs/views/layout.html +1 −1
  • internal/docs/views/signin.html +12 −28
  • internal/docs/zoom_browser_test.go +20 −22

CI passed — run details

CI 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.499159
  type: 'test'
  ...
# Subtest: a network failure or a 5xx is retried, not dropped
ok 2 - a network failure or a 5xx is retried, not dropped
  ---
  duration_ms: 40.434621
  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.266258
  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.563676
  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.727623
  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.873374
  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.879691
  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.771873
  type: 'test'
  ...
# Subtest: a save is sent keepalive, and given up if it is never answered
ok 9 - a save is sent keepalive, and given up if it is never answered
  ---
  duration_ms: 22.578175
  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.553604
  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.65007
  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.828718
  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.784041
  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.884963
  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.984436
  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.665565
  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.472966
  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.571059
  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.500385
  type: 'test'
  ...
# Subtest: a refused save that was not gzipped is not sent again
ok 20 - a refused save that was not gzipped is not sent again
  ---
  duration_ms: 2.037384
  type: 'test'
  ...
1..20
# tests 20
# suites 0
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 333.1917
=== 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.868571
  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.308019
  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.963788
  type: 'test'
  ...
1..3
# tests 3
# suites 0
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 60.359897
=== fixtures: what a resync carries, and the replay of a waiting paste
TAP version 13
# Subtest: a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
ok 1 - a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
  ---
  duration_ms: 22.382391
  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.999301
  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.120529
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (c) two refused x, the paste after the second
ok 4 - a paste that waited for its font is kept: (c) two refused x, the paste after the second
  ---
  duration_ms: 3.011393
  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.875168
  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.119896
  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.558164
  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.722964
  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.921928
  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.379053
  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.91241
  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.558184
  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.942329
  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.509012
  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.944562
  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.820472
  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.457406
  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.13251
  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.090472
  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.220919
  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.381219
  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.126244
  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.164955
  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.510839
  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.833738
  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.148944
  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.363842
  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.614104
  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.766906
  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.735022
  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.267183
  type: 'test'
  ...
# Subtest: a mark made over an insertion in the same change covers all of it
ok 32 - a mark made over an insertion in the same change covers all of it
  ---
  duration_ms: 0.341021
  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: 3.570628
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
ok 34 - an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
  ---
  duration_ms: 4.015846
  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.428094
  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.881025
  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.574925
  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.088282
  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.515626
  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.624311
  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.410267
  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.200883
  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.821824
  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.634927
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
ok 45 - an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
  ---
  duration_ms: 4.068925
  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.784409
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
ok 47 - an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
  ---
  duration_ms: 2.134699
  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.588913
  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.312664
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
ok 50 - an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
  ---
  duration_ms: 3.00902
  type: 'test'
  ...
# Subtest: an undo of a change saved before the refusal is still carried
ok 51 - an undo of a change saved before the refusal is still carried
  ---
  duration_ms: 2.028242
  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.195588
  type: 'test'
  ...
# Subtest: carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
ok 53 - carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
  ---
  duration_ms: 2238.968887
  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: 4361.077767
  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.452864
  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.981671
  type: 'test'
  ...
1..56
# tests 56
# suites 0
# pass 56
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 6964.871721
=== 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.360903
  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.693565
  type: 'test'
  ...
# Subtest: a later response still carries the cursor forward
ok 3 - a later response still carries the cursor forward
  ---
  duration_ms: 0.28512
  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.260754
  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.353545
  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.258952
  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.335535
  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.831029
  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.872513
  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.686453
  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.09909
  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.264911
  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.155939
  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.199492
  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.205522
  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.166655
  type: 'test'
  ...
# Subtest: an update that waits holds the next one behind it
ok 17 - an update that waits holds the next one behind it
  ---
  duration_ms: 10.139268
  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.428544
  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.16712
  type: 'test'
  ...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 76.749438
=== 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: 1.78199
  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: 1.011647
  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.825968
  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.274147
  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.265937
  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.288482
  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.351392
  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.79192
  type: 'test'
  ...
# Subtest: the command aligns every block a selection spans
ok 9 - the command aligns every block a selection spans
  ---
  duration_ms: 0.950054
  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.944785
  type: 'test'
  ...
# Subtest: one transaction per click, not one per block
ok 11 - one transaction per click, not one per block
  ---
  duration_ms: 0.806138
  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.422063
  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.538366
  type: 'test'
  ...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 155.996337
=== 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.40735
  type: 'test'
  ...
# Subtest: an unmarked run is Carlito
ok 2 - an unmarked run is Carlito
  ---
  duration_ms: 0.32751
  type: 'test'
  ...
# Subtest: code is Liberation Mono
ok 3 - code is Liberation Mono
  ---
  duration_ms: 0.126307
  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.150069
  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.27586
  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.122333
  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.263855
  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.123551
  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.670834
  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.664513
  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.912376
  type: 'test'
  ...
1..11
# tests 11
# suites 0
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 69.748231
=== 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.174222
  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: 7.021001
  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.91508
  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.977724
  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.128145
  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.841672
  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.946204
  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.273248
  type: 'test'
  ...
# Subtest: faceURLs reads every Docs face off the stylesheet, by family, weight and style
ok 9 - faceURLs reads every Docs face off the stylesheet, by family, weight and style
  ---
  duration_ms: 1.080909
  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.343506
  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.249399
  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.363787
  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.43999
  type: 'test'
  ...
1..13
# tests 13
# suites 0
# pass 13
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4082.140586
=== 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.706295
  type: 'test'
  ...
# Subtest: two blank lines stay two blank lines
ok 2 - two blank lines stay two blank lines
  ---
  duration_ms: 0.352429
  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.18851
  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.207293
  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.897177
  type: 'test'
  ...
# Subtest: an ordinary paste is returned by identity
ok 6 - an ordinary paste is returned by identity
  ---
  duration_ms: 0.345081
  type: 'test'
  ...
# Subtest: paragraph attributes are carried onto the blank lines
ok 7 - paragraph attributes are carried onto the blank lines
  ---
  duration_ms: 0.345925
  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.19974
  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.56895
  type: 'test'
  ...
# Subtest: WebKit's copy marker is ignored
ok 10 - WebKit's copy marker is ignored
  ---
  duration_ms: 0.668595
  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.342633
  type: 'test'
  ...
# Subtest: the slice keeps its open depths
ok 12 - the slice keeps its open depths
  ---
  duration_ms: 0.133913
  type: 'test'
  ...
1..12
# tests 12
# suites 0
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 80.735632
=== 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.050034
  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.197749
  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.963472
  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.163854
  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.181351
  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.143824
  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.1748
  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.109532
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 63.01617
=== 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.115136
  type: 'test'
  ...
# Subtest: every other size maps to its own mark
ok 2 - every other size maps to its own mark
  ---
  duration_ms: 0.243627
  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.170609
  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.130821
  type: 'test'
  ...
# Subtest: no marks means the default size
ok 5 - no marks means the default size
  ---
  duration_ms: 0.346118
  type: 'test'
  ...
# Subtest: a mark reports its own size
ok 6 - a mark reports its own size
  ---
  duration_ms: 0.144646
  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.269786
  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.184529
  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.590613
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 67.859095
=== 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.312923
  type: 'test'
  ...
# Subtest: "* " and "+ " start one too
ok 2 - "* " and "+ " start one too
  ---
  duration_ms: 1.089273
  type: 'test'
  ...
# Subtest: "1. " starts a numbered list
ok 3 - "1. " starts a numbered list
  ---
  duration_ms: 0.585463
  type: 'test'
  ...
# Subtest: "> " starts a quote
ok 4 - "> " starts a quote
  ---
  duration_ms: 0.942334
  type: 'test'
  ...
# Subtest: "\# " makes a heading, and "\#\#\# " makes a level-3 one
ok 5 - "\# " makes a heading, and "\#\#\# " makes a level-3 one
  ---
  duration_ms: 1.00055
  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.020359
  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.442119
  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.145719
  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.871015
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 89.312476
=== fixtures: counting words, including where there are no spaces
TAP version 13
# Subtest: nothing is nothing
ok 1 - nothing is nothing
  ---
  duration_ms: 1.062718
  type: 'test'
  ...
# Subtest: ordinary English
ok 2 - ordinary English
  ---
  duration_ms: 0.300527
  type: 'test'
  ...
# Subtest: punctuation is not a word
ok 3 - punctuation is not a word
  ---
  duration_ms: 0.15548
  type: 'test'
  ...
# Subtest: a language without spaces between words still counts
ok 4 - a language without spaces between words still counts
  ---
  duration_ms: 15.79587
  type: 'test'
  ...
# Subtest: the document count walks every block
ok 5 - the document count walks every block
  ---
  duration_ms: 1.543448
  type: 'test'
  ...
# Subtest: a paragraph boundary is a word boundary
ok 6 - a paragraph boundary is a word boundary
  ---
  duration_ms: 0.393148
  type: 'test'
  ...
# Subtest: characters are counted with and without spaces
ok 7 - characters are counted with and without spaces
  ---
  duration_ms: 0.332871
  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.327033
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 114.2485
=== fixtures: which menu items the editor enables
TAP version 13
# Subtest: an extraCommands item is enabled by sync
ok 1 - an extraCommands item is enabled by sync
  ---
  duration_ms: 1.895997
  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.297191
  type: 'test'
  ...
# Subtest: an editor command follows what the command reports
ok 3 - an editor command follows what the command reports
  ---
  duration_ms: 0.202018
  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.408693
  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.246833
  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.358671
  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.201963
  type: 'test'
  ...
1..7
# tests 7
# suites 0
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 63.131216
=== 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.097919
  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.36474
  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: 4.79263
  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.225712
  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.962696
  type: 'test'
  ...
1..5
# tests 5
# suites 0
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 161.924247
=== 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.088715
  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.237539
  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.291392
  type: 'test'
  ...
# Subtest: the arrow keys walk only the drawn controls
ok 4 - the arrow keys walk only the drawn controls
  ---
  duration_ms: 0.221092
  type: 'test'
  ...
1..4
# tests 4
# suites 0
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 60.368495
=== the editor bundle must match a fresh build
wrote internal/docs/static/editor.764c2a5845d72784.js (359900 bytes)
wrote internal/docs/static/jumpto.58ca95c441b1bd49.js (3234 bytes)
wrote internal/docs/static/share.b7f152cdd9e793ac.js (603 bytes)
wrote internal/docs/static/fontsgate.7161919aa93533b1.js (14291 bytes)
wrote internal/docs/static/fontshold.1a1f5ca5b87eb00d.js (440 bytes)
=== rust: fmt
=== the embedded wasm must be built from these sources
wasm-stamp: internal/core/testdata/docs_core.wasm was built from these inputs
=== wasm: clippy, then the artifact the host embeds
    Updating crates.io index
 Downloading crates ...
  Downloaded ahash v0.8.12
  Downloaded arrayvec v0.7.8
  Downloaded autocfg v1.5.1
  Downloaded arc-swap v1.9.2
  Downloaded async-trait v0.1.92
  Downloaded async-lock v3.4.2
  Downloaded pin-project-lite v0.2.17
  Downloaded thiserror v2.0.20
  Downloaded itoa v1.0.18
  Downloaded rustversion v1.0.23
  Downloaded indexmap-nostd v0.4.0
  Downloaded equivalent v1.0.2
  Downloaded smallvec v1.15.2
  Downloaded serde v1.0.229
  Downloaded hashbrown v0.17.1
  Downloaded lock_api v0.4.14
  Downloaded paste v1.0.15
  Downloaded scopeguard v1.2.0
  Downloaded semver v1.0.28
  Downloaded string-interner v0.17.0
  Downloaded multi-stash v0.2.0
  Downloaded unicode-ident v1.0.24
  Downloaded dashmap v6.2.1
  Downloaded downcast-rs v1.2.1
  Downloaded parking v2.2.1
  Downloaded foldhash v0.2.0
  Downloaded num-derive v0.4.2
  Downloaded event-listener-strategy v0.5.4
  Downloaded quote v1.0.47
  Downloaded smallstr v0.3.1
  Downloaded spin v0.9.9
  Downloaded version_check v0.9.5
  Downloaded parking_lot_core v0.9.12
  Downloaded cfg-if v1.0.4
  Downloaded crossbeam-utils v0.8.22
  Downloaded thiserror-impl v2.0.20
  Downloaded wasmi_collections v0.32.3
  Downloaded wasmi_core v0.32.3
  Downloaded once_cell v1.21.4
  Downloaded zerocopy v0.8.56
  Downloaded event-listener v5.4.2
  Downloaded serde_core v1.0.229
  Downloaded zmij v1.0.23
  Downloaded num-traits v0.2.19
  Downloaded serde_derive v1.0.229
  Downloaded bitflags v2.13.1
  Downloaded memchr v2.8.3
  Downloaded proc-macro2 v1.0.107
  Downloaded wasmparser-nostd v0.100.2
  Downloaded indexmap v2.14.1
  Downloaded libm v0.2.16
  Downloaded serde_json v1.0.151
  Downloaded hashbrown v0.14.5
  Downloaded wasmparser v0.258.0
  Downloaded syn v3.0.4
  Downloaded wasmi v0.32.3
  Downloaded syn v2.0.119
  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
   Compiling serde v1.0.229
    Checking once_cell v1.21.4
   Compiling libc v0.2.189
    Checking smallvec v1.15.2
    Checking pin-project-lite v0.2.17
   Compiling zmij v1.0.23
    Checking parking v2.2.1
   Compiling rustversion v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling parking_lot_core v0.9.12
   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 async-lock v3.4.2
    Checking smallstr v0.3.1
   Compiling autocfg v1.5.1
    Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
   Compiling paste v1.0.15
   Compiling libm v0.2.16
    Checking foldhash v0.2.0
    Checking downcast-rs v1.2.1
    Checking indexmap-nostd v0.4.0
    Checking equivalent v1.0.2
    Checking arrayvec v0.7.8
    Checking multi-stash v0.2.0
    Checking spin v0.9.9
    Checking bitflags v2.13.1
    Checking semver v1.0.28
    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/main/native/vendor/yrs-0.23.5)
    Checking string-interner v0.17.0
    Checking wasmparser v0.258.0
    Checking wasmi_collections v0.32.3
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

    Checking wasmi v0.32.3
warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo clippy --fix --lib -p yrs -- -D warnings -D clippy::disallowed_methods` to apply 35 suggestions)
    Checking docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
 Downloading crates ...
  Downloaded getrandom v0.4.3
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling serde_core v1.0.229
   Compiling cfg-if v1.0.4
   Compiling pin-project-lite v0.2.17
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling parking_lot_core v0.9.12
   Compiling rustversion v1.0.23
   Compiling smallvec v1.15.2
   Compiling getrandom v0.4.3
   Compiling serde v1.0.229
   Compiling thiserror v2.0.20
   Compiling serde_json v1.0.151
   Compiling scopeguard v1.2.0
   Compiling itoa v1.0.18
   Compiling once_cell v1.21.4
   Compiling memchr v2.8.3
   Compiling event-listener v5.4.2
   Compiling lock_api v0.4.14
   Compiling hashbrown v0.14.5
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
   Compiling smallstr v0.3.1
   Compiling event-listener-strategy v0.5.4
   Compiling async-lock v3.4.2
   Compiling arc-swap v1.9.2
   Compiling dashmap v6.2.1
   Compiling syn v3.0.4
   Compiling thiserror-impl v2.0.20
   Compiling serde_derive v1.0.229
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
    Finished `release` profile [optimized] target(s) in 9.20s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481418 bytes)
=== rust: build, test
   Compiling libc v0.2.189
   Compiling smallvec v1.15.2
   Compiling parking v2.2.1
   Compiling pin-project-lite v0.2.17
   Compiling scopeguard v1.2.0
   Compiling cfg-if v1.0.4
   Compiling serde_core v1.0.229
   Compiling crossbeam-utils v0.8.22
   Compiling zmij v1.0.23
   Compiling parking_lot_core v0.9.12
   Compiling serde v1.0.229
   Compiling thiserror v2.0.20
   Compiling serde_json v1.0.151
   Compiling once_cell v1.21.4
   Compiling memchr v2.8.3
   Compiling hashbrown v0.14.5
   Compiling itoa v1.0.18
   Compiling arc-swap v1.9.2
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
   Compiling lock_api v0.4.14
   Compiling event-listener v5.4.2
   Compiling smallstr v0.3.1
   Compiling event-listener-strategy v0.5.4
   Compiling async-lock v3.4.2
   Compiling dashmap v6.2.1
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
    Finished `release` profile [optimized] target(s) in 13.91s
   Compiling cfg-if v1.0.4
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.2
   Compiling parking v2.2.1
   Compiling pin-project-lite v0.2.17
   Compiling serde_core v1.0.229
   Compiling zerocopy v0.8.56
   Compiling libc v0.2.189
   Compiling scopeguard v1.2.0
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling 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/main/core/vendor/fastrand-2.5.0)
   Compiling foldhash v0.2.0
   Compiling lock_api v0.4.14
   Compiling num-traits v0.2.19
   Compiling libm v0.2.16
   Compiling event-listener v5.4.2
   Compiling smallstr v0.3.1
   Compiling equivalent v1.0.2
   Compiling downcast-rs v1.2.1
   Compiling indexmap-nostd v0.4.0
   Compiling multi-stash v0.2.0
   Compiling semver v1.0.28
   Compiling spin v0.9.9
   Compiling arrayvec v0.7.8
   Compiling bitflags v2.13.1
   Compiling event-listener-strategy v0.5.4
   Compiling wasmparser-nostd v0.100.2
   Compiling async-lock v3.4.2
   Compiling parking_lot_core v0.9.12
   Compiling wasmi_core v0.32.3
   Compiling serde v1.0.229
   Compiling serde_json v1.0.151
   Compiling hashbrown v0.17.1
   Compiling indexmap v2.14.1
   Compiling wasmparser v0.258.0
   Compiling ahash v0.8.12
   Compiling hashbrown v0.14.5
   Compiling dashmap v6.2.1
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
   Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/core)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 11.11s
     Running unittests src/lib.rs (core/target/debug/deps/docs_core-97822c04772ad1f7)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-0e216d1fab072ba4)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-0fc3d3217845bff4)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_update.rs (core/target/debug/deps/emit_update-730947f15ca35a13)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/build.rs (core/target/debug/deps/build-fb6076b78dd6191d)

running 11 tests
test a_heading_level_is_a_number ... ok
test adjacent_runs_with_the_same_marks_merge ... ok
test refuses_a_client_id_a_browser_cannot_read ... ok
test refuses_past_its_limits ... ok
test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok
test one_text_per_block_and_none_when_empty ... 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 the_snapshot_replays_to_the_same_structure ... ok
test refuses_malformed_lists_and_writes_nothing ... ok

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/edit.rs (core/target/debug/deps/edit-3ae34b202043745b)

running 5 tests
test missing_dependency_refuses_without_losing_pending_update ... ok
test unsupported_blocks_are_preserved_and_never_deleted ... ok
test splices_are_normal_updates_and_preserve_untouched_items ... ok
test invalid_later_edit_never_mutates_valid_prefix ... ok
test client_and_input_bounds_are_enforced ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/fragment.rs (core/target/debug/deps/fragment-fa0c864a2c14104d)

running 31 tests
test empty_document_is_empty_output ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test empty_block_is_preserved_like_html ... ok
test escapes_html_in_text ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test escapes_json_in_text ... ok
test json_clamps_heading_level_like_html ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test renders_a_code_block_as_the_editor_does ... ok
test reads_paragraphs_as_blocks ... ok
test json_names_every_font_mark ... ok
test json_reports_paragraph_alignment ... ok
test json_is_deterministic ... ok
test json_marks_are_in_a_fixed_order ... ok
test renders_a_hard_break_in_every_renderer ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_marks ... ok
test renders_paragraphs_as_html ... ok
test text_sibling_before_a_block_is_separated ... ok
test unknown_nodes_keep_their_text ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_paragraph_alignment_as_a_class ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_headings_and_lists ... ok
test renders_block_indent_as_a_class ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_every_family_in_the_manifest ... ok

test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/initial.rs (core/target/debug/deps/initial-10c44c58c64afc80)

running 3 tests
test initial_rejects_client_ids_outside_yjs_range ... ok
test initial_content_is_real_structured_literal_text ... ok
test initial_rejection_never_leaves_partial_content ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-2bbe34b2adedc94a)

running 1 test
test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-774748a98e788976)

running 1 test
test no_host_imports ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/snapshot.rs (core/target/debug/deps/snapshot-3e955456a9c0a169)

running 5 tests
test garbage_does_not_verify ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test a_snapshot_of_a_different_document_does_not_verify ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-207dd6b23ace774e)

running 2 tests
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on shared package cache
    Blocking waiting for file lock on build directory
warning: unused import: `ArrayRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `release` profile [optimized] target(s) in 0.05s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481418 bytes)
warning: unused import: `ArrayRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `release` profile [optimized] target(s) in 0.05s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (481418 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.44s

     Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-63a6a403c236f6a0)

running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_hello ... ok
test applies_unicode ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests docs_core

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

=== the embedded wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== wire compatibility, both directions
--- regenerating fixtures from JS yjs
hello: 27 bytes
unicode: 33 bytes
formatted: 70 bytes
concurrent: 36 bytes
--- fixtures must be unchanged (they are the contract, not an output)
--- Rust reads what JS wrote
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
     Running tests/wire_compat.rs (target/debug/deps/wire_compat-63a6a403c236f6a0)

running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_hello ... ok
test applies_formatted ... ok
test applies_unicode ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

verify-rust: ok (81 bytes)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

initial content: real Yjs/ProseMirror parity passed
semantic edits: production schema, rich-content identity and offline convergence passed
wire-gate: ok
=== go: vet, test, gofmt
go: downloading github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3
go: downloading golang.org/x/text v0.41.0
go: downloading amadan.net/oficina/estilo.git v0.0.0-20261121111406-6b55b0e3ece6
go: downloading amadan.net/rastrillo/rastrillo v0.40.0
go: downloading amadan.net/oficina/home/connect v0.0.0-20261120214853-83c36b8cface
go: downloading amadan.net/oficina/home/handoff v0.0.0-20261120214853-83c36b8cface
go: downloading github.com/modelcontextprotocol/go-sdk v1.8.0
go: downloading golang.org/x/sys v0.47.0
go: downloading golang.org/x/sync v0.22.0
go: downloading amadan.net/rastrillo/fiesta v1.5.0
go: downloading github.com/tdewolff/minify/v2 v2.24.19
go: downloading github.com/tdewolff/parse/v2 v2.8.16
go: downloading github.com/chromedp/cdproto v0.158.6
go: downloading github.com/chromedp/chromedp v0.21.0
ok  	github.com/carlosframework/docs/cmd/docs	13.015s
?   	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.280s
ok  	github.com/carlosframework/docs/internal/core	15.452s
ok  	github.com/carlosframework/docs/internal/docs	164.055s
?   	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.190s
ok  	github.com/carlosframework/docs/internal/docx	0.223s
ok  	github.com/carlosframework/docs/internal/export	0.249s
ok  	github.com/carlosframework/docs/internal/fonts	0.166s
ok  	github.com/carlosframework/docs/internal/lint	0.086s
?   	github.com/carlosframework/docs/internal/pdf	[no test files]
ok  	github.com/carlosframework/docs/internal/shipped	6.129s
=== go: build ./... (the app, not just the packages tests import)
gate: ok
=== native ===
sync-fonts: 62 faces match internal/fonts (20.9 MB).
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling cfg-if v1.0.4
   Compiling serde_core v1.0.229
   Compiling getrandom v0.4.3
   Compiling pin-project-lite v0.2.17
   Compiling smallvec v1.15.2
   Compiling rustversion v1.0.23
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling parking_lot_core v0.9.12
   Compiling serde_json v1.0.151
   Compiling scopeguard v1.2.0
   Compiling thiserror v2.0.20
   Compiling serde v1.0.229
   Compiling itoa v1.0.18
   Compiling event-listener v5.4.2
   Compiling lock_api v0.4.14
   Compiling memchr v2.8.3
   Compiling once_cell v1.21.4
   Compiling hashbrown v0.14.5
   Compiling smallstr v0.3.1
   Compiling event-listener-strategy v0.5.4
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
   Compiling async-lock v3.4.2
   Compiling arc-swap v1.9.2
   Compiling dashmap v6.2.1
   Compiling syn v3.0.5
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/native/crdt)
    Finished `release` profile [optimized] target(s) in 9.47s
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling serde_core v1.0.229
   Compiling libc v0.2.189
   Compiling smallvec v1.15.2
   Compiling pin-project-lite v0.2.17
   Compiling parking_lot_core v0.9.12
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling rustversion v1.0.23
   Compiling parking v2.2.1
   Compiling serde v1.0.229
   Compiling scopeguard v1.2.0
   Compiling serde_json v1.0.151
   Compiling thiserror v2.0.20
   Compiling cfg-if v1.0.4
   Compiling lock_api v0.4.14
   Compiling memchr v2.8.3
   Compiling event-listener v5.4.2
   Compiling hashbrown v0.14.5
   Compiling once_cell v1.21.4
   Compiling itoa v1.0.18
   Compiling smallstr v0.3.1
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/main/core/vendor/fastrand-2.5.0)
   Compiling event-listener-strategy v0.5.4
   Compiling async-lock v3.4.2
   Compiling arc-swap v1.9.2
   Compiling syn v3.0.5
   Compiling dashmap v6.2.1
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/native/crdt)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 12.34s
     Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-bec4e314578f2807)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/rule_wire_probe.rs (native/crdt/target/debug/deps/rule_wire_probe-9d388391f9443910)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/wire_fixture.rs (native/crdt/target/debug/deps/wire_fixture-ad504e0c39ed9837)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-0410d7efbb493957)

running 4 tests
test deletion_received_before_any_source_update_is_preserved ... ok
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test unknown_client_deletion_survives_snapshot_before_source_arrives ... ok
test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/replica.rs (native/crdt/target/debug/deps/replica-28def2687ee49e84)

running 20 tests
test changing_block_preserves_existing_inline_formatting ... ok
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test concatenated_log_applies_every_update ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test input_rules_transform_and_backspace_restore_typed_prefix ... ok

test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-59ad568d8534927e)

running 1 test
test every_rule_delta_converges_with_remote_apply ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/snapshot.rs (native/crdt/target/debug/deps/snapshot-84fadcfbc1d1385a)

running 1 test
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-278169d716499c65)

running 5 tests
test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... ok
test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test quote_wrap_groups_selected_paragraphs_in_one_container ... ok
test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests docs_native_crdt

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Compiling zerocopy v0.8.56
   Compiling serde_core v1.0.229
   Compiling version_check v0.9.5
   Compiling proc-macro2 v1.0.107
   Compiling once_cell v1.21.4
   Compiling serde v1.0.229
   Compiling cfg-if v1.0.4
   Compiling autocfg v1.5.1
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling paste v1.0.15
   Compiling libm v0.2.16
   Compiling zmij v1.0.23
   Compiling indexmap-nostd v0.4.0
   Compiling downcast-rs v1.2.1
   Compiling spin v0.9.9
   Compiling smallvec v1.15.2
   Compiling serde_json v1.0.151
   Compiling arrayvec v0.7.8
   Compiling multi-stash v0.2.0
   Compiling itoa v1.0.18
   Compiling wasmparser-nostd v0.100.2
   Compiling memchr v2.8.3
   Compiling ahash v0.8.12
   Compiling num-traits v0.2.19
   Compiling syn v2.0.119
   Compiling wasmi_core v0.32.3
   Compiling num-derive v0.4.2
   Compiling hashbrown v0.14.5
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling wasmi v0.32.3
   Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/main/native/host)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 10.47s
     Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e60fab76ea871d54)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-970356a1ca5b85e3)

running 5 tests
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok
test interpreter_executes_native_crdt_without_host_imports ... ok
test selection_anchor_call_does_not_poison_source_interpreter ... ok
test failed_replica_cannot_be_reused ... ok
test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s

   Doc-tests docs_native_host

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s


added 18 packages in 588ms
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:644:29
    |
644 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:730:25
    |
730 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
514 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:522:12
    |
522 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/block_iter.rs:528:8
    |
527 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
528 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/main/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies.
Native checks passed (core-only=1).

landed from feat/smart-door

diff --git a/go.mod b/go.mod
index 45ac1f1..c62c81a 100644
--- a/go.mod
+++ b/go.mod
@@ -4,58 +4,57 @@ go 1.26.5
require (
amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000
- amadan.net/oficina/estilo.git v0.0.0-20261111234914-39792ae278b0
- amadan.net/oficina/home/connect v0.0.0-20261114110939-e03a01a1881c
+ amadan.net/oficina/estilo.git v0.0.0-20261121111406-6b55b0e3ece6
+ amadan.net/oficina/home/connect v0.0.0-20261120214853-83c36b8cface
amadan.net/oficina/home/dashboard v0.0.0-20261024235511-baa2503c7064
- amadan.net/oficina/home/handoff v0.0.0-20261114110939-e03a01a1881c
+ amadan.net/oficina/home/handoff v0.0.0-20261120214853-83c36b8cface
amadan.net/oficina/home/roster v0.0.0-20261030153823-602f5136f9af
amadan.net/oficina/home/teammode v0.0.0-20261030153823-602f5136f9af
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4
amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3
- amadan.net/rastrillo/rastrillo v0.29.2
+ amadan.net/rastrillo/rastrillo v0.40.0
github.com/carlosframework/rastrillo v0.23.0
- github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327
- github.com/chromedp/chromedp v0.14.2
+ github.com/chromedp/cdproto v0.158.6
+ github.com/chromedp/chromedp v0.21.0
github.com/go-chi/chi/v5 v5.3.2
- github.com/go-json-experiment/json v0.0.0-20250725192818-e39067aee2d2
+ github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3
github.com/go-text/typesetting v0.3.6-0.20261020210405-a4cf8f401e16
github.com/google/uuid v1.6.0
- github.com/keymaildev/signin v0.1.1
- github.com/modelcontextprotocol/go-sdk v1.7.0
+ github.com/modelcontextprotocol/go-sdk v1.8.0
github.com/tetratelabs/wazero v1.12.0
golang.org/x/image v0.23.0
golang.org/x/oauth2 v0.35.0
- golang.org/x/text v0.39.0
+ golang.org/x/text v0.41.0
gorm.io/gorm v1.31.2
)
require (
+ amadan.net/rastrillo/fiesta v1.5.0 // indirect
amadan.net/rastrillo/rastrillo/money v0.1.0 // indirect
github.com/BurntSushi/toml v1.6.0 // indirect
- github.com/chromedp/sysutil v1.1.0 // indirect
github.com/danieljoos/wincred v1.2.3 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
- github.com/gobwas/httphead v0.1.0 // indirect
- github.com/gobwas/pool v0.2.1 // indirect
- github.com/gobwas/ws v1.4.0 // indirect
github.com/godbus/dbus/v5 v5.2.2 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/google/jsonschema-go v0.4.3 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
+ github.com/keymaildev/signin v0.1.1 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 // indirect
github.com/segmentio/asm v1.1.3 // indirect
github.com/segmentio/encoding v0.5.4 // indirect
+ github.com/tdewolff/minify/v2 v2.24.19 // indirect
+ github.com/tdewolff/parse/v2 v2.8.16 // indirect
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
github.com/zalando/go-keyring v0.2.8 // indirect
- golang.org/x/mod v0.37.0 // indirect
- golang.org/x/sync v0.21.0 // indirect
- golang.org/x/sys v0.46.0 // indirect
+ golang.org/x/mod v0.38.0 // indirect
+ golang.org/x/sync v0.22.0 // indirect
+ golang.org/x/sys v0.47.0 // indirect
golang.org/x/time v0.15.0 // indirect
- golang.org/x/tools v0.47.0 // indirect
+ golang.org/x/tools v0.48.0 // indirect
gorm.io/plugin/dbresolver v1.6.2 // indirect
modernc.org/libc v1.74.1 // indirect
modernc.org/mathutil v1.7.1 // indirect
diff --git a/go.sum b/go.sum
index 9c618ce..4db1a64 100644
--- a/go.sum
+++ b/go.sum
@@ -1,35 +1,35 @@
amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000 h1:L07nc+dmLI7c1PBkSkbnrjOK5f8p6OBbA/yTxznxCAw=
amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000/go.mod h1:Ph9PIa3VE1IEaUzZiQH6D+IQ6HThWWGfVr0ecMMgrFA=
-amadan.net/oficina/estilo.git v0.0.0-20261111234914-39792ae278b0 h1:6xlOgfIuccF6xuxErZRz5Vzm+V1Y5eE/vW2ppwzHzrY=
-amadan.net/oficina/estilo.git v0.0.0-20261111234914-39792ae278b0/go.mod h1:2UFIFrbTrhew8EFM0C94WmTo2OASM2pHEgT4jzeE/s8=
-amadan.net/oficina/home/connect v0.0.0-20261114110939-e03a01a1881c h1:BffZtW5vfqVCTcVlbNbFhpTTrcBE1eKCo8IZZL0RXEs=
-amadan.net/oficina/home/connect v0.0.0-20261114110939-e03a01a1881c/go.mod h1:xbo+sWUk6NL0sbjWw/2BNlI/4ex899zprJRUp+cr/Xo=
+amadan.net/oficina/estilo.git v0.0.0-20261121111406-6b55b0e3ece6 h1:OIHKdEwXIrUHsnKNT+UArTX5fzzN5P0x7ODyMivsEwA=
+amadan.net/oficina/estilo.git v0.0.0-20261121111406-6b55b0e3ece6/go.mod h1:2UFIFrbTrhew8EFM0C94WmTo2OASM2pHEgT4jzeE/s8=
+amadan.net/oficina/home/connect v0.0.0-20261120214853-83c36b8cface h1:/kxWYNA2mo1q89E1PmVvwpiGT3lHWl4omP7uKkNNxas=
+amadan.net/oficina/home/connect v0.0.0-20261120214853-83c36b8cface/go.mod h1:B45bHBZF5AtFJqy4d1qSDNDOqYcNkSz1qD20TLF1DI8=
amadan.net/oficina/home/dashboard v0.0.0-20261024235511-baa2503c7064 h1:2YbDksZDxpY9khlhXmTeiM89yze7w2XfYSumtrzH4tc=
amadan.net/oficina/home/dashboard v0.0.0-20261024235511-baa2503c7064/go.mod h1:+7xsX+QyVFrKy5gDAGh+FZ5+75z4CibWTL0wl9DWAw0=
-amadan.net/oficina/home/handoff v0.0.0-20261114110939-e03a01a1881c h1:KxjjyIlEu3hY1G6l26IrI2PRcogOscpTeydRgNzimbA=
-amadan.net/oficina/home/handoff v0.0.0-20261114110939-e03a01a1881c/go.mod h1:YISpzFJ+iMgrM0rUL032OSzsAQbP4/nozvXLCCOcn1k=
+amadan.net/oficina/home/handoff v0.0.0-20261120214853-83c36b8cface h1:Ip5hiAVdfBV0bcdTEJeuJpk3MspOujMwscgGLW6zY4k=
+amadan.net/oficina/home/handoff v0.0.0-20261120214853-83c36b8cface/go.mod h1:Mn5Rsm7Vcd6VZArBKMawza2yO+Fjo8KB1Ii6UcjcJHQ=
amadan.net/oficina/home/roster v0.0.0-20261030153823-602f5136f9af h1:YtDEq1YUm87/v6XtP6+V32g9U3KDvKos1SdXsnOxA6A=
amadan.net/oficina/home/roster v0.0.0-20261030153823-602f5136f9af/go.mod h1:gqshuXyDtFZUCYbhuZyV3Epc51pUcsLbpqAqiA5UiXg=
amadan.net/oficina/home/teammode v0.0.0-20261030153823-602f5136f9af h1:QsC+WKvYxiKipS3+J4D9YWRmKQ+cJJTevlH6kP8UVhA=
amadan.net/oficina/home/teammode v0.0.0-20261030153823-602f5136f9af/go.mod h1:dXBZeB2ic33SIZiGUCzafmviUT8TYWgzSYZvo2rM6zA=
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4 h1:BP+KHZTSgL7HDCz9IL/gxKXmbmXQpclUlJIyQEY/N2E=
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4/go.mod h1:Xgw0N+DBiDzkhQHm/nIhgumfaiMElDg/KIFD1OxTm5w=
+amadan.net/rastrillo/fiesta v1.5.0 h1:wKfTsL5zRMofJBAqOxNlCY7aCtgHCtfwvTPBMA+ZA20=
+amadan.net/rastrillo/fiesta v1.5.0/go.mod h1:LpO391W1dIRUxOIKklHm+bGyWXtlFyBRRPQCysb9LjY=
amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3 h1:5EFx7BLJj/+G/rt8bTmeyMWVfF5s5Sns7ajTvX4w/I8=
amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3/go.mod h1:ZaaxeE278dJltdrLwmwpxUjQ5wuKzqDAVSNRet+WupY=
-amadan.net/rastrillo/rastrillo v0.29.2 h1:oYKj+Ae8SsOc9ej9+VqLrwsoGb+4PqCDlOCcTbB/A3c=
-amadan.net/rastrillo/rastrillo v0.29.2/go.mod h1:jSSeydqEvlm/fU3hhWoXFnyEaDgroR8LPRZSo9ZhhIM=
+amadan.net/rastrillo/rastrillo v0.40.0 h1:VjZi+pFEpK43t9o8pCa2+h9duhbNGrwTgfV99nzk2fI=
+amadan.net/rastrillo/rastrillo v0.40.0/go.mod h1:0bufVMz8D4aWvxvJjehW70T8Jsvytrp1YEwoIzFTKm8=
amadan.net/rastrillo/rastrillo/money v0.1.0 h1:MxU4oqNrW8abxRTkgZBv24OYNpFnvonajNqeLIzmmaM=
amadan.net/rastrillo/rastrillo/money v0.1.0/go.mod h1:cmgkjBEIQh1pFSYvQk0UU6oPYS8kSDypdT9+t4Flx0U=
github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk=
github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/carlosframework/rastrillo v0.23.0 h1:tKAAlwPt4Pg/rkqk7o6jvV12bbZ0r34oEVpuOlKfX7w=
github.com/carlosframework/rastrillo v0.23.0/go.mod h1:pZlrE5F5OhspvZFzef0DrfjHAjA8FXycb9J5/8vc8Tw=
-github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327 h1:UQ4AU+BGti3Sy/aLU8KVseYKNALcX9UXY6DfpwQ6J8E=
-github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327/go.mod h1:NItd7aLkcfOA/dcMXvl8p1u+lQqioRMq/SqDp71Pb/k=
-github.com/chromedp/chromedp v0.14.2 h1:r3b/WtwM50RsBZHMUm9fsNhhzRStTHrKdr2zmwbZSzM=
-github.com/chromedp/chromedp v0.14.2/go.mod h1:rHzAv60xDE7VNy/MYtTUrYreSc0ujt2O1/C3bzctYBo=
-github.com/chromedp/sysutil v1.1.0 h1:PUFNv5EcprjqXZD9nJb9b/c9ibAbxiYo4exNWZyipwM=
-github.com/chromedp/sysutil v1.1.0/go.mod h1:WiThHUdltqCNKGc4gaU50XgYjwjYIhKWoHGPTUfWTJ8=
+github.com/chromedp/cdproto v0.158.6 h1:jaKiXWuhcxbvKbSe8U6Dp5U4Hcj2w6lETYgZqBD5n34=
+github.com/chromedp/cdproto v0.158.6/go.mod h1:h68JaIuFr9o3yiayxEYhBdvaxgYO3shDrPSYhNlyfu0=
+github.com/chromedp/chromedp v0.21.0 h1:nVHgS2LHyhZJ1l3BWRbG2eFIFYiJMnvkJbELbd8WBoQ=
+github.com/chromedp/chromedp v0.21.0/go.mod h1:6z1Y5FdKUxRzxx2qcC5h1xjaBJrSWrZp1mjgITfNZig=
github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ=
github.com/danieljoos/wincred v1.2.3/go.mod h1:6qqX0WNrS4RzPZ1tnroDzq9kY3fu1KwE7MRLQK4X0bs=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -40,20 +40,14 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/go-chi/chi/v5 v5.3.2 h1:5YQkICvTCSZ25hoRsyJazN0scjzKGiu4VAUc7H1o1nY=
github.com/go-chi/chi/v5 v5.3.2/go.mod h1:R+tYY2hNuVUUjxoPtqUdgBqevM9s9njzkTLutVsOCto=
-github.com/go-json-experiment/json v0.0.0-20250725192818-e39067aee2d2 h1:iizUGZ9pEquQS5jTGkh4AqeeHCMbfbjeb0zMt0aEFzs=
-github.com/go-json-experiment/json v0.0.0-20250725192818-e39067aee2d2/go.mod h1:TiCD2a1pcmjd7YnhGH0f/zKNcCD06B029pHhzV23c2M=
+github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3 h1:UADEEmDKgfXbtnGJZ97beY5XLo9ZechG1nlU4KnRrkE=
+github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3/go.mod h1:tphK2c80bpPhMOI4v6bIc2xWywPfbqi1Z06+RcrMkDg=
github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc=
github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/go-text/typesetting v0.3.6-0.20261020210405-a4cf8f401e16 h1:Y+spgzS5aYmWDN24nN4UYamN2vFBJ/HzUJRsGcFS2KY=
github.com/go-text/typesetting v0.3.6-0.20261020210405-a4cf8f401e16/go.mod h1:4xCar1jOQWppRqQHqtLTUghn73m8dsbk9tUFioaHdHU=
github.com/go-text/typesetting-utils v0.0.0-20260922124329-7d4869a3934e h1:ARqqlg1JI1oiFHTGKXqh08omHnZuPrMcwtrEGELOW/E=
github.com/go-text/typesetting-utils v0.0.0-20260922124329-7d4869a3934e/go.mod h1:3/62I4La/HBRX9TcTpBj4eipLiwzf+vhI+7whTc9V7o=
-github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=
-github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
-github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=
-github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
-github.com/gobwas/ws v1.4.0 h1:CTaoG1tojrh4ucGPcoJFiAQUAsEWekEWvLy7GsVNqGs=
-github.com/gobwas/ws v1.4.0/go.mod h1:G3gNqMNtPppf5XUz7O4shetPpcZ1VJ7zt18dlUeakrc=
github.com/godbus/dbus/v5 v5.2.2 h1:TUR3TgtSVDmjiXOgAAyaZbYmIeP3DPkld3jgKGV8mXQ=
github.com/godbus/dbus/v5 v5.2.2/go.mod h1:3AAv2+hPq5rdnr5txxxRwiGjPXamgoIHgz9FPBfOp3c=
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
@@ -76,18 +70,14 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
github.com/keymaildev/signin v0.1.1 h1:gO+1IAM99sqUkBtCezkgGxab+/DOrqwDxd5H32N1s9Q=
github.com/keymaildev/signin v0.1.1/go.mod h1:Eb/sCmEel1jlcdkgPOrNeMn5jvxzoFvJrdjDUxOBHls=
-github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80 h1:6Yzfa6GP0rIo/kULo2bwGEkFvCePZ3qHDDTC3/J9Swo=
-github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
-github.com/modelcontextprotocol/go-sdk v1.7.0 h1:yqjY2dsbKAC0LSuWZVBMrHgiG8ukXv6NRo0JiALay44=
-github.com/modelcontextprotocol/go-sdk v1.7.0/go.mod h1:dL7u98E/zjJTGzEq+j30jQ8K2k1mb6LeAH4inEcSGts=
+github.com/modelcontextprotocol/go-sdk v1.8.0 h1:KIvahhYqwtbeniWVPs3TcXEA7b8jEtwfBpOTAI+Urx4=
+github.com/modelcontextprotocol/go-sdk v1.8.0/go.mod h1:dL7u98E/zjJTGzEq+j30jQ8K2k1mb6LeAH4inEcSGts=
github.com/ncruces/go-strftime v1.0.0 h1:HMFp8mLCTPp341M/ZnA4qaf7ZlsbTc+miZjCLOFAw7w=
github.com/ncruces/go-strftime v1.0.0/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
-github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde h1:x0TT0RDC7UhAVbbWWBzr41ElhJx5tXPWkIHA2HWPRuw=
-github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
@@ -104,6 +94,12 @@ github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
+github.com/tdewolff/minify/v2 v2.24.19 h1:j2exx54gvrCFN9UiFm0Z5vbNWBFcuY5Ql1VmaM2Dkeo=
+github.com/tdewolff/minify/v2 v2.24.19/go.mod h1:HVgQO08FJeDxQx+lcFOVDi1IySi/77WlN/dDckCkZoA=
+github.com/tdewolff/parse/v2 v2.8.16 h1:bLk5svUOQRkW/Y2SJ+DeENSIkZBcTIkq+Atyv5D8feI=
+github.com/tdewolff/parse/v2 v2.8.16/go.mod h1:XdsoSFThlVIRIajAuqz1evNY7bagZS8LBOPA3aVopwQ=
+github.com/tdewolff/test v1.0.12 h1:7F21DqIajswxuche0geHdrUZRCWE4oko4b7bcmkkrxk=
+github.com/tdewolff/test v1.0.12/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
github.com/tetratelabs/wazero v1.12.0 h1:DuWcpNu/FzgEXgGBDp8J1Spc+CWOvvtvVyjKlaZopYU=
github.com/tetratelabs/wazero v1.12.0/go.mod h1:LvKtzl2RqO4gyF27BiXU+nKAjcV8f38U+kP/q2vgxh0=
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=
@@ -112,21 +108,21 @@ github.com/zalando/go-keyring v0.2.8 h1:6sD/Ucpl7jNq10rM2pgqTs0sZ9V3qMrqfIIy5YPc
github.com/zalando/go-keyring v0.2.8/go.mod h1:tsMo+VpRq5NGyKfxoBVjCuMrG47yj8cmakZDO5QGii0=
golang.org/x/image v0.23.0 h1:HseQ7c2OpPKTPVzNjG5fwJsOTCiiwS4QdsYi5XU6H68=
golang.org/x/image v0.23.0/go.mod h1:wJJBTdLfCCf3tiHa1fNxpZmUI4mmoZvwMCPP0ddoNKY=
-golang.org/x/mod v0.37.0 h1:vF1DjpVEshcIqoEaauuHebaLk1O1forxjxBaVn884JQ=
-golang.org/x/mod v0.37.0/go.mod h1:m8S8VeM9r4dzDwjrKO0a1sZP3YjeMamRRlD+fmR2Q/0=
+golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk=
+golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40=
golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ=
golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
-golang.org/x/sync v0.21.0 h1:HLII4xRRTtCRkxYp4HNFF0Js/Og6q2i++KXbg0gHCwM=
-golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
+golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
+golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw=
-golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
-golang.org/x/text v0.39.0 h1:UbZz4pLOvn600D6Oh6GGEI6VAmndrEBLv8/6BEXzyus=
-golang.org/x/text v0.39.0/go.mod h1:3UwRclnC2g0TU9x8PZiyfOajCd1zaUNHF9cvqcQZ+ZM=
+golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs=
+golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
+golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
+golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
-golang.org/x/tools v0.47.0 h1:7Kn5x/d1svx/PzryTsqeoZN4TZwqeH5pGWjefhLi/1Q=
-golang.org/x/tools v0.47.0/go.mod h1:dFHnyTvFWY212G+h7ZY4Vsp/K3U4/7W9TyVaAul8uCA=
+golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE=
+golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gorm.io/driver/mysql v1.5.7 h1:MndhOPYOfEp2rHKgkZIhJ16eVUIRf2HmzgoPmh7FCWo=
diff --git a/internal/docs/app.go b/internal/docs/app.go
index 3594fda..7f544a7 100644
--- a/internal/docs/app.go
+++ b/internal/docs/app.go
@@ -645,10 +645,12 @@ func New(cfg Config) (*App, error) {
return nil, err
}
}
+ h.auth = authPlugin
if home == nil {
- h.remembered = standalone.returnPath
+ h.rememberReturn, h.returnPath = standalone.rememberReturn, standalone.returnPath
} else {
- h.remembered = home.returns.returnPath
+ h.rememberReturn, h.returnPath = home.returns.rememberReturn, home.returns.returnPath
+ h.homeIssuer = home.issuer
}
r := chi.NewRouter()
// Every route that is not a route is the 404 page for a browser, and a
@@ -671,7 +673,7 @@ func New(cfg Config) (*App, error) {
// static assets that page (and the shell around it) needs to
// render at all.
if home == nil {
- r.Get("/signin", h.standaloneSignin(standalone))
+ r.Get("/signin", h.standaloneSignin)
r.Get(localLinkCompletePath, standalone.completeStandalone)
r.Get("/signed-out", h.signedOut)
} else {
@@ -682,6 +684,11 @@ func New(cfg Config) (*App, error) {
// the menu was open cannot turn the click into a sign-in loop.
r.Post("/appearance", chrome.HandleAppearance)
r.Post("/signin", h.beginSignin(authPlugin.Begin))
+ // "Use a different email" on the door and "Forget me on this device"
+ // on the signed-out page: a same-origin POST, inside the app-wide CSRF
+ // check like any form. With Home, the signed-out page's chains on to
+ // Oficina ID's own Forget (auth.go's forget).
+ r.Post(signinForgetPath, h.forget(authPlugin.Forget))
// An emailed link opens GET /auth/verify, which only draws the
// confirm door (h.confirmSignin); its Sign in button POSTs the token
// back, and the POST spends it. Without the POST nobody signs in by
diff --git a/internal/docs/auth.go b/internal/docs/auth.go
index 682cfb7..73ef051 100644
--- a/internal/docs/auth.go
+++ b/internal/docs/auth.go
@@ -18,6 +18,7 @@ import (
"amadan.net/oficina/estilo.git/sky"
"amadan.net/oficina/home/connect"
rauth "amadan.net/rastrillo/rastrillo/auth"
+ "amadan.net/rastrillo/rastrillo/lastsignin"
"amadan.net/rastrillo/rastrillo/mail"
"amadan.net/rastrillo/rastrillo/sessions"
@@ -421,6 +422,14 @@ func newAuthPlugin(cfg Config, writer *sql.DB, instanceKey string, mailer mail.S
// the page they came from (signin_return.go), since Verify itself can
// only land on one fixed path.
return rauth.New(rauth.Config{
+ // The smart door (Home spec 2026-11-19-smart-door.md): rastrillo's
+ // screen, one way in per page. Every outcome, chooser link and
+ // Forget lands on /signin, which with Home configured is connect's
+ // SigninDoor (home/connect MIGRATING.md, step 6).
+ SigninScreen: true,
+ SigninOneWay: true,
+ SigninPath: connect.SigninPath,
+ ForgetPath: signinForgetPath,
SignedInPath: localLinkCompletePath,
DB: writer,
Origin: cfg.Origin,
@@ -439,121 +448,154 @@ func newAuthPlugin(cfg Config, writer *sql.DB, instanceKey string, mailer mail.S
})
}
-// signinPage is GET /signin's view data. rauth.Auth's own handlers
-// (Begin, Callback, Verify) never render a page themselves — SKILL.md
-// §5/magic-links.md: "the sign-in page stays yours" — they report
-// outcomes by redirecting back here with a query this handler reads.
-//
-// Exactly one of Form, Sent, Confirm and ContinueURL is set: the form
-// (estilo's estilo-signin), the check-your-email state that replaces it
-// (estilo-signin-sent), the emailed link's confirm step
-// (auth_navigation.go), or the Keymail continuation (auth_navigation.go).
+// signinForgetPath is where rastrillo auth's Forget is mounted (app.go):
+// "Use a different email" on the door, and "Forget me on this device" on
+// the signed-out page. It is auth's own default, named here because the
+// signed-out page and connect's RoutesConfig.ForgetPath must agree with it.
+const signinForgetPath = "/signin/forget"
+
+// oficinaChain is the hidden field the signed-out page's Forget form posts
+// (chain=oficina) when Home is configured: after forgetting this browser
+// here, Docs sends it on to Oficina ID's own Forget (forget, below). The
+// door's "Use a different email" posts to the same Forget without it, and
+// stays on the door.
+const oficinaChain = "oficina"
+
+// oficinaIDName is the suite's sign-in service, the federated door's name.
+const oficinaIDName = "Oficina ID"
+
+// signinPage is the view data of the sign-in door (views/signin.html):
+// rastrillo's sign-in screen (its ui "signin" partial, fed by
+// auth.SigninState) drawn inside estilo's door by estilo-signin-screen.
+// Every state is that one template: the door, the chooser ("Other ways to
+// sign in"), Sent, the Keymail continuation and the confirm step an
+// emailed link opens.
type signinPage struct {
- Frame Frame
- Form *chrome.SignIn
- Sent *chrome.SignInNotice
- Confirm *signinConfirm
- ContinueURL string
- SubmitLabel string
- // Door heads the continuation and confirm cards (Icon, App, Sky), so
- // the moment between the form and Keymail, and the page an emailed
- // link opens, look like the same door.
- Door chrome.SignInNotice
+ Frame Frame
+ Screen chrome.SignInScreen
}
-// signinAgainPath is where "Use a different address" goes: the local
-// form, which with Home configured is /signin/local (plain /signin starts
-// a Home exchange).
-func (h *handlers) signinAgainPath() string {
- if h.homeEnabled {
- return "/signin/local"
+// signin is the sign-in door (the smart-door spec in Home,
+// docs/superpowers/specs/2026-11-19-smart-door.md): GET /signin, and with
+// Home configured GET /signin/local too (connect's SigninDoor and
+// SigninLocal hand both here), the landing spot for every outcome
+// rastrillo's handlers redirect back with, Config.RenderConfirm's confirm
+// step, and Config.Refused's refusal.
+//
+// rastrillo decides what the door shows from the query and this browser's
+// cookies (SigninState: the way in it used last, Sent, problems, the
+// chooser), with SigninOneWay drawing one way in per page. Docs adds what
+// only it knows: Oficina ID where connect says the door may offer it
+// (OficinaHref is "" on /signin/local, on a step-up and anywhere else),
+// and the refusal, which only someone who has just verified the address
+// reaches (refusedHere), in the screen's app-problem slot with the email
+// field.
+func (h *handlers) signin(w http.ResponseWriter, r *http.Request) {
+ st := h.auth.SigninState(r)
+ if st.Unavailable {
+ // Under a base path or on a direct host the hub signs people in,
+ // estilo-signin-screen draws nothing, and every route rastrillo's
+ // door names answers 404 there. So does the door.
+ h.notFound(w, r)
+ return
+ }
+ if href := connect.OficinaHref(r); href != "" {
+ st.Federated = &rauth.FederatedDoor{
+ Provider: lastsignin.ProviderOficina,
+ Href: href,
+ // A name, like the door's own "Docs": the same in every
+ // language, and rastrillo draws it as "Continue with {name}".
+ Label: oficinaIDName,
+ Icon: chrome.OficinaGlyph,
+ }
+ }
+ if refusedHere(r) {
+ // Keymail or a link verified the address and the allowlist does
+ // not hold it, in this very response (Config.Refused,
+ // auth_navigation.go's signinRefused). Never from the query.
+ st.AppProblem = &rauth.AppProblem{Text: rastrillo.T(r, "docs.signin.error.refused"), Ask: true}
+ }
+ h.rememberSigninReturn(w, r, &st)
+ h.auth.PrepareSigninResponse(w, st)
+ data := signinPage{Screen: chrome.SignInScreen{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host), State: st}}
+ title, err := h.render.signinTitle(data.Screen)
+ if err != nil {
+ h.logger.Error("docs: render signin title", "err", err)
+ h.fail(w, r, http.StatusInternalServerError, failStatus)
+ return
+ }
+ data.Frame = h.frame(r, frameOptions{title: title, signinPage: true})
+ if err := h.render.page(w, r, "signin", data); err != nil {
+ h.logger.Error("docs: render signin", "err", err)
+ h.fail(w, r, http.StatusInternalServerError, failStatus)
}
- return "/signin"
}
-// signinAgainHref is "Use a different address": the form again, carrying
-// the page this sign-in was started from (spec §9.2: "keeping the
-// return"). A bare /signin is a fresh start, which remembers the list, so
-// the deep link would be lost (review finding, Astra, #65).
-func (h *handlers) signinAgainHref(r *http.Request) string {
- href := h.signinAgainPath()
- if h.remembered != nil {
- if path := h.remembered(r); path != "/" {
- href += "?return_to=" + url.QueryEscape(path)
+// rememberSigninReturn keeps the page a sign-in began from in Docs' own
+// sealed return memory (home_return.go), read at /auth/local/complete,
+// when the door is opened afresh: a plain GET of /signin or /signin/local
+// that is not one of the email flow's outcomes. A plain /signin remembers
+// the list, so a page remembered by an earlier, abandoned attempt never
+// wins over the one being made now. A plain /signin/local does not: connect
+// sends people there (failed, unknown, "Connect my existing account")
+// without return_to, mid-way through a sign-in that already remembered its
+// page, so the door carries that page on its forms instead (st.ReturnTo),
+// and the post remembers it again (beginSignin). The chooser's links carry
+// return_to, so moving between ways keeps it. The confirm step and a
+// refusal are drawn on /auth/*, and remember nothing.
+func (h *handlers) rememberSigninReturn(w http.ResponseWriter, r *http.Request, st *rauth.SigninState) {
+ if h.rememberReturn == nil || r.Method != http.MethodGet || signinOutcome(r) ||
+ (r.URL.Path != connect.SigninPath && r.URL.Path != connect.SigninLocalPath) {
+ return
+ }
+ path, ok := requestedReturn(r)
+ switch {
+ case ok:
+ h.rememberReturn(w, path)
+ case r.URL.Path == connect.SigninPath:
+ h.rememberReturn(w, "/")
+ case h.returnPath != nil && st.ReturnTo == "":
+ if kept := h.returnPath(r); kept != "/" {
+ st.ReturnTo = kept
}
}
- return href
}
-// signin serves GET /signin — the form itself, and the landing spot
-// for every outcome rauth.Auth's handlers redirect back to
-// (?sent=1, ?err=rate|address|expired|keymail|1, ?force=1). rate,
-// address and expired each get their own copy below; keymail and 1
-// (a raw Begin failure logged server-side, and Verify's own "unknown,
-// used and expired alike" — its own doc comment says rauth.Auth
-// refuses to be more specific than that, so there is nothing this
-// page could add by drawing a finer distinction of its own) share the
-// switch's default branch, docs.signin.error.unknown — never
-// docs.error.generic (fix round 1 on Task 3): every outcome on this
-// one page means the same operational thing, "sign-in did not
-// complete, ask for a new link," and docs.error.generic is authored
-// for a render failure with nowhere styled to land, not for this
-// page's own ordinary, recoverable outcomes.
-//
-// An address error goes in the field's own error slot (the form sets
-// novalidate, so the browser's bubble never shows); every other error is
-// a negative callout above the form (spec §9.2).
-func (h *handlers) signin(w http.ResponseWriter, r *http.Request) {
- q := r.URL.Query()
- icon := brand.Path("docs")
- data := signinPage{}
- var page string
- if q.Get("sent") == "1" {
- sent := chrome.SignInNotice{Icon: icon, App: "Docs", Sky: sky.For(r.Host)}.Sent(h.signinAgainHref(r))
- data.Sent, page = &sent, sent.Page()
- } else {
- form := &chrome.SignIn{
- Icon: icon,
- App: "Docs",
- Sky: sky.For(r.Host),
- Action: "/signin",
- }
- page = form.Page()
- if q.Get("force") != "" {
- form.Hidden = []chrome.Hidden{{Name: "force", Value: "1"}}
- }
- switch q.Get("err") {
- case "":
- // nothing to report
- case "rate":
- form.Error = rastrillo.T(r, "docs.signin.error.rate")
- case "address":
- form.AddressError = rastrillo.T(r, "docs.signin.error.address")
- case "expired":
- form.Error = rastrillo.T(r, "docs.signin.error.expired")
- default:
- form.Error = rastrillo.T(r, "docs.signin.error.unknown")
+// forget is POST /signin/forget, rastrillo auth's Forget: "Use a
+// different email" on the door, and "Forget me on this device" on the
+// signed-out page. Each host remembers for itself, so with Home configured
+// the signed-out page's form (chain=oficina) goes on to Oficina ID's own
+// Forget once this one has answered, with Docs' signed-out page as the way
+// back: {issuer}/forget?return=<origin>/signed-out. id.oficina.works asks
+// "Forget me on Oficina ID too?" and returns only to a registered
+// consumer's exact /signed-out. Anything but Forget's own redirect (a
+// cross-origin refusal, a wrong method) is passed on as it is.
+func (h *handlers) forget(forget http.HandlerFunc) http.HandlerFunc {
+ return func(w http.ResponseWriter, r *http.Request) {
+ if h.homeIssuer == "" {
+ forget(w, r)
+ return
}
- if refusedHere(r) {
- // Keymail or a link verified the address and the allowlist
- // does not hold it, in this very response (Config.Refused,
- // auth_navigation.go's refused).
- // Never from the query. The form is the way on.
- form.Error = rastrillo.T(r, "docs.signin.error.refused")
+ result := &signinResponse{header: make(http.Header)}
+ forget(result, r)
+ if result.status == http.StatusSeeOther && r.PostFormValue("chain") == oficinaChain {
+ result.header.Set("Location", oficinaForgetURL(h.homeIssuer, h.origin))
}
- data.Form = form
- }
- data.Frame = h.frame(r, frameOptions{titleParts: []string{page}, signinPage: true})
- if err := h.render.page(w, r, "signin", data); err != nil {
- h.logger.Error("docs: render signin", "err", err)
- h.fail(w, r, http.StatusInternalServerError, failStatus)
+ result.replay(w)
}
}
-// signedOut is GET /signed-out, where Sign out lands: "You’re signed out",
-// and a Sign in button (spec §9.2). With Home configured it is the same
-// page (connect's SignedOut, drawn by home_connect.go's render), which is
-// why it takes the path to sign in at.
+// oficinaForgetURL is Oficina ID's Forget, returning to this origin's
+// signed-out page (Home's internal/home/door.go, forgetChainReturn).
+func oficinaForgetURL(issuer, origin string) string {
+ back := strings.TrimSuffix(origin, "/") + "/signed-out"
+ return strings.TrimSuffix(issuer, "/") + "/forget?" + url.Values{"return": {back}}.Encode()
+}
+
+// signedOut is GET /signed-out without Home, where Sign out lands: "You’re
+// signed out", a Sign in button and "Forget me on this device" (spec
+// §9.2; the smart-door spec's "Signed out"). With Home configured the page
+// is connect's SignedOut, drawn by the same renderer (home_render.go).
func (h *handlers) signedOut(w http.ResponseWriter, r *http.Request) {
h.render.homeLink(w, r, "signedout", "", http.StatusOK)
}
diff --git a/internal/docs/auth_allowlist_test.go b/internal/docs/auth_allowlist_test.go
index d29f6b3..d4dd2a9 100644
--- a/internal/docs/auth_allowlist_test.go
+++ b/internal/docs/auth_allowlist_test.go
@@ -7,6 +7,8 @@ import (
"net/http/httptest"
"net/url"
"path/filepath"
+ "regexp"
+ "sort"
"strings"
"testing"
)
@@ -134,9 +136,15 @@ func TestSigninResponseIdenticalForNonPermittedAddress(t *testing.T) {
if got, want := nonPermitted.Code, permitted.Code; got != want {
t.Errorf("status differs: non-permitted=%d permitted=%d", got, want)
}
- if got, want := nonPermitted.Header().Get("Location"), permitted.Header().Get("Location"); got != want {
+ // The sign-in screen (SigninScreen) names each attempt with a fresh
+ // random id, so the two Locations differ there and only there; and both
+ // answers set the same cookies, the attempt's among them.
+ if got, want := attemptMasked(nonPermitted.Header().Get("Location")), attemptMasked(permitted.Header().Get("Location")); got != want || !strings.Contains(want, "attempt=*") {
t.Errorf("Location differs: non-permitted=%q permitted=%q", got, want)
}
+ if got, want := cookieNames(nonPermitted), cookieNames(permitted); got != want {
+ t.Errorf("cookies differ: non-permitted=%q permitted=%q", got, want)
+ }
if got, want := nonPermitted.Header().Get("Content-Type"), permitted.Header().Get("Content-Type"); got != want {
t.Errorf("Content-Type differs: non-permitted=%q permitted=%q", got, want)
}
@@ -273,3 +281,18 @@ func TestNewRefusesMissingAllowlistOutsideDevelopment(t *testing.T) {
t.Fatal("New must refuse to start outside development with no allowlist configured")
}
}
+
+// attemptMasked is a sign-in Location with its random attempt id masked.
+func attemptMasked(location string) string {
+ return regexp.MustCompile(`attempt=[^&]+`).ReplaceAllString(location, "attempt=*")
+}
+
+// cookieNames is the sorted names of the cookies a response sets.
+func cookieNames(rec *httptest.ResponseRecorder) string {
+ var names []string
+ for _, c := range rec.Result().Cookies() {
+ names = append(names, c.Name)
+ }
+ sort.Strings(names)
+ return strings.Join(names, ",")
+}
diff --git a/internal/docs/auth_keymail_test.go b/internal/docs/auth_keymail_test.go
index ee9883c..8b53a73 100644
--- a/internal/docs/auth_keymail_test.go
+++ b/internal/docs/auth_keymail_test.go
@@ -169,7 +169,7 @@ func keymailOAuthChild(t *testing.T) {
t.Fatalf("actual classifier lookup count=%d, status=%d", lookups, rec.Code)
}
if !tc.detected {
- if rec.Code != 303 || rec.Header().Get("Location") != "/signin?sent=1" {
+ if rec.Code != 303 || !regexp.MustCompile(`^/signin\?sent=1&attempt=[A-Za-z0-9_-]+$`).MatchString(rec.Header().Get("Location")) {
t.Fatalf("mail start: %d %s", rec.Code, rec.Header().Get("Location"))
}
app.signinMail.wait()
@@ -185,8 +185,20 @@ func keymailOAuthChild(t *testing.T) {
}
return
}
- if rec.Code != 200 || rec.Header().Get("Location") != "" {
- t.Fatalf("OAuth continuation: %d", rec.Code)
+ // The sign-in screen keeps a Keymail start on the door, so
+ // form-action stays 'self': Begin answers with the door's
+ // continuation (?continue=), whose page leaves for Keymail by
+ // a meta refresh and a link, and discloses no referrer.
+ continuation := rec.Header().Get("Location")
+ if rec.Code != 303 || !strings.HasPrefix(continuation, "/signin?continue=") {
+ t.Fatalf("OAuth start: %d %q, want the door's continuation", rec.Code, continuation)
+ }
+ rec = request("GET", continuation, "")
+ if rec.Code != 200 || rec.Header().Get("Location") != "" || rec.Header().Get("Referrer-Policy") != "no-referrer" || rec.Header().Get("Cache-Control") != "no-store" {
+ t.Fatalf("OAuth continuation: %d %q %q", rec.Code, rec.Header().Get("Referrer-Policy"), rec.Header().Get("Cache-Control"))
+ }
+ if !strings.Contains(rec.Body.String(), `http-equiv="refresh"`) || !strings.Contains(rec.Body.String(), "estilo-door") {
+ t.Fatal("the continuation is not the door, leaving for Keymail")
}
var target *url.URL
for _, m := range regexp.MustCompile(`href="([^"]+)"`).FindAllStringSubmatch(rec.Body.String(), -1) {
@@ -260,6 +272,19 @@ func keymailOAuthChild(t *testing.T) {
if got != want {
t.Fatalf("token exchanges=%d want%d", got, want)
}
+ // A callback with another attempt's state is answered Expired and
+ // leaves this browser's attempt alone (rastrillo's sign-in screen:
+ // a late callback from another tab must not throw away a newer
+ // attempt), so this attempt's own callback still completes it, once.
+ if tc.badState {
+ request("GET", "/auth/callback?"+url.Values{"state": {q.Get("state")}, "code": {"one-code"}}.Encode(), "")
+ mu.Lock()
+ got = exchanges
+ mu.Unlock()
+ if want = 1; got != want {
+ t.Fatalf("the attempt's own callback after a stray one: token exchanges=%d want%d", got, want)
+ }
+ }
// Pending state is cleared after callback: replay cannot reach exchange.
request("GET", "/auth/callback?"+url.Values{"state": {q.Get("state")}, "code": {"one-code"}}.Encode(), "")
mu.Lock()
diff --git a/internal/docs/auth_navigation.go b/internal/docs/auth_navigation.go
index d8af473..30275d0 100644
--- a/internal/docs/auth_navigation.go
+++ b/internal/docs/auth_navigation.go
@@ -1,81 +1,79 @@
package docs
import (
- "amadan.net/oficina/estilo.git/brand"
- "amadan.net/oficina/estilo.git/chrome"
- "amadan.net/oficina/estilo.git/sky"
"bytes"
"context"
"net/http"
"net/url"
- "strings"
- "amadan.net/rastrillo/rastrillo"
rauth "amadan.net/rastrillo/rastrillo/auth"
+ "amadan.net/rastrillo/rastrillo/sessions"
)
-// End the POST with a document before navigating to an identity provider.
-// Safari applies form-action to a redirect chain, including intermediate GETs.
-// The continuation keeps the original CSP and works without JavaScript.
+// beginSignin is POST /signin, rastrillo's Begin, with the destination kept
+// Docs' way.
+//
+// The door's forms post return_to (the screen's ReturnTo), and rastrillo
+// would carry it across the mail or Keymail round trip and land the new
+// session there itself. Docs lands every local sign-in on
+// /auth/local/complete instead (localLinkCompletePath): connect resumes a
+// pending account link from there, which is why its README requires the
+// local plugin's successful return to be that path, and only then does
+// Docs send the person to the page they came from, from its own sealed
+// return memory. So the posted return_to is remembered there and taken off
+// the form before Begin reads it, and put back on Begin's redirect to the
+// door (a problem, Sent, the Keymail continuation), so the next form there
+// posts it again and the chooser's links keep it.
+//
+// With SigninScreen on, Begin never answers with a redirect off this
+// origin: a Keymail address continues on the door (?continue=), whose
+// meta refresh leaves for Keymail, so form-action stays 'self'.
func (h *handlers) beginSignin(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
- result := &signinResponse{header: make(http.Header)}
- next(result, r)
- destination := result.header.Get("Location")
- external := destination != "" && !strings.HasPrefix(destination, "/")
- if result.status == http.StatusSeeOther && external {
- if !keymailDestination(destination, h.origin) {
- h.fail(w, r, http.StatusBadGateway, failStatus)
- return
- }
- for _, cookie := range result.header.Values("Set-Cookie") {
- w.Header().Add("Set-Cookie", cookie)
- }
- w.Header().Set("Cache-Control", "no-store")
- w.Header().Set("Referrer-Policy", "no-referrer")
- data := signinPage{
- Frame: h.frame(r, frameOptions{titleParts: []string{chrome.SignIn{}.Page()}, signinPage: true}),
- SubmitLabel: rastrillo.T(r, "docs.signin.keymail"),
- ContinueURL: destination,
- Door: chrome.SignInNotice{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host)},
- }
- if err := h.render.page(w, r, "signin", data); err != nil {
- h.logger.Error("docs: render Keymail continuation", "err", err)
- h.fail(w, r, http.StatusInternalServerError, failStatus)
- }
- return
+ // Off the form whether or not the body parsed: Begin must never
+ // read a destination of its own.
+ to := ""
+ if r.ParseForm() == nil {
+ to = sessions.SafeReturnTo(r.PostForm.Get("return_to"), "")
+ }
+ if r.PostForm != nil {
+ r.PostForm.Del("return_to")
}
- for name, values := range result.header {
- for _, value := range values {
- w.Header().Add(name, value)
+ if r.Form != nil {
+ r.Form.Del("return_to")
+ }
+ // A post without one is a sign-in for the list (rastrillo's own
+ // rule), so a page another tab remembered does not win.
+ if h.rememberReturn != nil {
+ landing := to
+ if landing == "" {
+ landing = "/"
}
+ h.rememberReturn(w, landing)
}
- if result.status == 0 {
- result.status = http.StatusOK
+ result := &signinResponse{header: make(http.Header)}
+ next(result, r)
+ if to != "" && result.status == http.StatusSeeOther {
+ result.header.Set("Location", withReturnTo(result.header.Get("Location"), to))
}
- w.WriteHeader(result.status)
- _, _ = w.Write(result.body.Bytes())
+ result.replay(w)
}
}
-// The destination comes only from the identity plugin's server-generated
-// redirect, never from return_to or another submitted URL.
-func keymailDestination(destination, origin string) bool {
- u, err := url.Parse(destination)
- if err != nil || u.Scheme != "https" || u.Host == "" || u.User != nil || u.Fragment != "" || u.Path != "/oauth/authorize" || u.RawPath != "" {
- return false
- }
- q, err := url.ParseQuery(u.RawQuery)
- if err != nil {
- return false
+// withReturnTo puts return_to on a redirect to the door, and leaves any
+// other Location as it is.
+func withReturnTo(location, to string) string {
+ u, err := url.Parse(location)
+ if err != nil || u.Scheme != "" || u.Host != "" || u.Path != "/signin" {
+ return location
}
- for _, key := range []string{"client_id", "redirect_uri", "scope", "code_challenge_method", "state", "code_challenge"} {
- if len(q[key]) != 1 || q.Get(key) == "" {
- return false
- }
+ q := u.Query()
+ if q.Has("return_to") {
+ return location
}
- origin = strings.TrimSuffix(origin, "/")
- return q.Get("client_id") == origin && q.Get("redirect_uri") == origin+"/auth/callback" && q.Get("scope") == "identify" && q.Get("code_challenge_method") == "S256"
+ q.Set("return_to", to)
+ u.RawQuery = q.Encode()
+ return u.String()
}
type signinResponse struct {
@@ -122,8 +120,8 @@ type signinDoor struct {
// signinRefused is Config.Refused: Keymail or an emailed link verified
// an address the allowlist does not hold. It answers with the door, in a
// 403, with the refusal marked on the request context (refusedHere), so
-// the form is the way on. rastrillo has already set any cookies the
-// attempt clears.
+// the door draws it in the screen's app-problem slot with the email
+// field. rastrillo has already set any cookies the attempt clears.
//
// Rendered, not redirected to ?err=refused: a query parameter is
// something anybody can type, and the sentence means "you proved this
@@ -135,37 +133,35 @@ func (h *handlers) signinRefused(w http.ResponseWriter, r *http.Request) {
r.WithContext(context.WithValue(r.Context(), refusedKey{}, true)))
}
-// signinConfirm is the emailed link's confirm step: the door with one
-// Sign in button that POSTs the token back to /auth/verify, where
-// rastrillo spends it. The GET spends nothing, so a mail scanner that
-// fetches every link cannot sign anybody in.
-type signinConfirm struct {
- Heading, Submit string
- Action, Token string
-}
-
-// confirmSignin is Config.RenderConfirm. rastrillo has already set
-// no-store, Referrer-Policy strict-origin (the page's URL is a live
+// confirmSignin is Config.RenderConfirm, the page an emailed link opens
+// (GET /auth/verify): the door, whose SigninState answers StepConfirm on
+// this request alone, with one Sign in button that POSTs the token back,
+// where rastrillo spends it. The GET spends nothing, so a mail scanner
+// that fetches every link cannot sign anybody in. rastrillo has already
+// set no-store, Referrer-Policy strict-origin (the page's URL is a live
// credential) and the framing refusals; nothing here may loosen them.
-// The words are estilo's door copy: the heading and the button are the
-// form's own "Sign in", so the step reads as the door, not a new page.
-func (h *handlers) confirmSignin(w http.ResponseWriter, r *http.Request, d rauth.ConfirmPageData) {
- door := chrome.SignIn{}
- data := signinPage{
- Frame: h.frame(r, frameOptions{titleParts: []string{door.Page()}, signinPage: true}),
- Confirm: &signinConfirm{Heading: door.Heading(), Submit: door.Submit(), Action: d.Action, Token: d.Token},
- Door: chrome.SignInNotice{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host)},
- }
- if err := h.render.page(w, r, "signin", data); err != nil {
- h.logger.Error("docs: render sign-in confirm", "err", err)
- h.fail(w, r, http.StatusInternalServerError, failStatus)
- }
+func (h *handlers) confirmSignin(w http.ResponseWriter, r *http.Request, _ rauth.ConfirmPageData) {
+ h.signin(w, r)
}
// refusedKey marks a request signinRefused is answering with the door.
type refusedKey struct{}
-// refusedHere reports whether r is a refusal signinRefused is rendering.
+// withRefusal marks r as a refusal the door draws: a session the signed-in
+// routes no longer admit (admittedOnly, standaloneSignin).
+//
+// Only on the plain door: the chooser (?ways=) and a way's own page (?way=)
+// are how a refused person reaches another way in, another Oficina ID
+// account included, and a refusal there would draw the field again and
+// leave "Other ways to sign in" going nowhere (Fable on #139, N1).
+func withRefusal(r *http.Request) *http.Request {
+ if q := r.URL.Query(); q.Has("ways") || q.Has("way") {
+ return r
+ }
+ return r.WithContext(context.WithValue(r.Context(), refusedKey{}, true))
+}
+
+// refusedHere reports whether r is a refusal the door is rendering.
func refusedHere(r *http.Request) bool {
v, _ := r.Context().Value(refusedKey{}).(bool)
return v
diff --git a/internal/docs/auth_navigation_test.go b/internal/docs/auth_navigation_test.go
index 9288162..83ce3aa 100644
--- a/internal/docs/auth_navigation_test.go
+++ b/internal/docs/auth_navigation_test.go
@@ -1,92 +1,61 @@
package docs
import (
- "encoding/json"
- "html"
"net/http"
"net/http/httptest"
"net/url"
- "os"
- "path/filepath"
"strings"
"testing"
-
- "github.com/keymaildev/signin"
)
-func TestKeymailContinuation(t *testing.T) {
+// The door's forms post return_to, and beginSignin keeps it Docs' way: in
+// the sealed return memory read at /auth/local/complete, off the form Begin
+// reads (so rastrillo lands the session on localLinkCompletePath, where
+// connect resumes a pending link), and back on Begin's redirect to the door.
+func TestBeginSigninKeepsTheReturnDocsWay(t *testing.T) {
app := newAllowlistedTestApp(t, "alice@example.test")
- app.handlers.origin = "https://docs.example.test"
- destination := (&signin.Keymail{Base: "https://keymail.example.test", Origin: app.handlers.origin}).AuthorizeURL("state", "challenge", true)
- handler := app.handlers.beginSignin(func(w http.ResponseWriter, r *http.Request) {
- http.SetCookie(w, &http.Cookie{Name: "__Host-pending", Value: "opaque", Path: "/", Secure: true, HttpOnly: true, SameSite: http.SameSiteLaxMode})
- http.Redirect(w, r, destination, http.StatusSeeOther)
- })
- rec := httptest.NewRecorder()
- policy := homeFormPolicy("https://home.example.test")
- rec.Header().Set("Content-Security-Policy", policy)
- handler(rec, httptest.NewRequest("POST", "/signin", nil))
- if rec.Code != 200 || rec.Header().Get("Location") != "" {
- t.Fatalf("status=%d location=%q", rec.Code, rec.Header().Get("Location"))
- }
- if rec.Header().Get("Content-Security-Policy") != policy {
- t.Fatal("CSP changed")
- }
- if rec.Header().Get("Cache-Control") != "no-store" || rec.Header().Get("Referrer-Policy") != "no-referrer" {
- t.Fatal("continuation must not cache or disclose the referring URL")
- }
- cookies := rec.Result().Cookies()
- if len(cookies) != 1 || cookies[0].Name != "__Host-pending" || cookies[0].Value != "opaque" || !cookies[0].Secure || !cookies[0].HttpOnly || cookies[0].SameSite != http.SameSiteLaxMode {
- t.Fatalf("lost pending cookie: %v", cookies)
- }
- body := html.UnescapeString(rec.Body.String())
- for _, part := range []string{`http-equiv="refresh"`, `content="0;url=` + destination + `"`, `href="` + destination + `"`} {
- if !strings.Contains(body, part) {
- t.Fatalf("missing continuation component %q", part)
- }
- }
- if strings.Contains(body, `action="/signin"`) {
- t.Fatal("continuation rendered another sign-in form")
- }
- // It is the door's card on the sky, not a bare page.
- for _, part := range []string{"estilo-door", "estilo-sky-layer", "<span>Docs</span>"} {
- if !strings.Contains(body, part) {
- t.Fatalf("continuation is not the door: lacks %q", part)
- }
- }
- if dir := os.Getenv("DOCS_OAUTH_BROWSER_FIXTURE"); dir != "" {
- if err := os.MkdirAll(dir, 0700); err != nil {
- t.Fatal(err)
- }
- data, err := json.Marshal(map[string]any{"body": rec.Body.String(), "headers": rec.Header(), "destination": destination})
- if err != nil {
- t.Fatal(err)
- }
- if err := os.WriteFile(filepath.Join(dir, "continuation.json"), data, 0600); err != nil {
- t.Fatal(err)
- }
- }
-}
-
-func TestKeymailDestinationRefusals(t *testing.T) {
- origin := "https://docs.example.test"
- valid := (&signin.Keymail{Base: "https://keymail.example.test", Origin: origin}).AuthorizeURL("state", "challenge", false)
- for _, target := range []string{
- "javascript:alert(1)", "//keymail.example.test/oauth/authorize", strings.Replace(valid, "https:", "http:", 1),
- strings.Replace(valid, "keymail.example.test", "user@keymail.example.test", 1), valid + "#fragment", valid + "&state=duplicate",
- strings.Replace(valid, "/oauth/authorize", "/other", 1), strings.ReplaceAll(valid, url.QueryEscape(origin), url.QueryEscape("https://foreign.example.test")),
- strings.Replace(valid, "S256", "plain", 1),
+ for _, tc := range []struct {
+ name, posted, location, want string
+ remembered bool
+ }{
+ {name: "sent", posted: "/d/abc", location: "/signin?sent=1&attempt=x", want: "/signin?attempt=x&return_to=%2Fd%2Fabc&sent=1", remembered: true},
+ {name: "problem", posted: "/d/abc?x=1", location: "/signin?err=rate", want: "/signin?err=rate&return_to=%2Fd%2Fabc%3Fx%3D1", remembered: true},
+ {name: "continuation", posted: "/d/abc", location: "/signin?continue=id", want: "/signin?continue=id&return_to=%2Fd%2Fabc", remembered: true},
+ {name: "already carried", posted: "/d/abc", location: "/signin?err=rate&return_to=%2Fother", want: "/signin?err=rate&return_to=%2Fother", remembered: true},
+ {name: "elsewhere", posted: "/d/abc", location: "/auth/local/complete", want: "/auth/local/complete", remembered: true},
+ // A post without a (safe) destination is a sign-in for the list:
+ // it remembers "/", so another tab's page does not win.
+ {name: "off-site", posted: "//evil.example/x", location: "/signin?sent=1", want: "/signin?sent=1", remembered: true},
+ {name: "none", posted: "", location: "/signin?sent=1", want: "/signin?sent=1", remembered: true},
} {
- if keymailDestination(target, origin) {
- t.Fatalf("accepted %q", target)
- }
- }
- app := newAllowlistedTestApp(t, "alice@example.test")
- app.handlers.origin = origin
- rec := httptest.NewRecorder()
- app.handlers.beginSignin(func(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "https://foreign.example.test", 303) })(rec, httptest.NewRequest("POST", "/signin", nil))
- if rec.Code != 502 || rec.Header().Get("Location") != "" {
- t.Fatalf("invalid redirect status=%d location=%q", rec.Code, rec.Header().Get("Location"))
+ t.Run(tc.name, func(t *testing.T) {
+ seen := "unset"
+ next := func(w http.ResponseWriter, r *http.Request) {
+ seen = r.PostFormValue("return_to") + r.FormValue("return_to")
+ http.Redirect(w, r, tc.location, http.StatusSeeOther)
+ }
+ form := url.Values{"address": {"alice@example.test"}}
+ if tc.posted != "" {
+ form.Set("return_to", tc.posted)
+ }
+ req := httptest.NewRequest("POST", "/signin", strings.NewReader(form.Encode()))
+ req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
+ rec := httptest.NewRecorder()
+ app.handlers.beginSignin(next)(rec, req)
+ if seen != "" {
+ t.Fatalf("Begin read return_to %q; it must land on /auth/local/complete", seen)
+ }
+ if rec.Code != http.StatusSeeOther || rec.Header().Get("Location") != tc.want {
+ t.Fatalf("redirect %d %q, want %q", rec.Code, rec.Header().Get("Location"), tc.want)
+ }
+ remembered := false
+ for _, c := range rec.Result().Cookies() {
+ remembered = remembered || c.Name == homeReturnCookie && c.MaxAge > 0
+ }
+ if remembered != tc.remembered {
+ t.Fatalf("return remembered = %v, want %v", remembered, tc.remembered)
+ }
+ })
}
}
diff --git a/internal/docs/auth_test.go b/internal/docs/auth_test.go
index e2d404a..c4b5acb 100644
--- a/internal/docs/auth_test.go
+++ b/internal/docs/auth_test.go
@@ -1,6 +1,7 @@
package docs_test
import (
+ "html"
"net/http"
"net/http/httptest"
"strings"
@@ -115,10 +116,10 @@ func TestSignInPageRendersSignedOut(t *testing.T) {
t.Fatalf("GET /signin: status %d, want 200", rec.Code)
}
body := rec.Body.String()
- if !strings.Contains(body, `<label rst-field-label for="estilo-signin-address">Email address</label>`) {
+ if !strings.Contains(body, `<label rst-field-label for="rst-signin-email">Email</label>`) {
t.Error("email input has no persistent associated translated label")
}
- if !strings.Contains(body, `type="email" id="estilo-signin-address" name="address" required autofocus autocomplete="email"`) {
+ if !strings.Contains(body, `type="email" id="rst-signin-email" name="address" required autofocus autocomplete="email"`) {
t.Error("label target must remain the required, focused email input with email autocomplete")
}
@@ -238,17 +239,12 @@ func TestSecondClickOfTheSameMagicLinkOffersRecovery(t *testing.T) {
signinReq := httptest.NewRequest(http.MethodGet, loc, nil)
signinRec := httptest.NewRecorder()
app.Handler().ServeHTTP(signinRec, signinReq)
- // NewForTest's app.Handler() never wires rastrillo.Options.BaseCatalog/
- // Locales — only cmd/docs/main.go does, for real serving — so
- // rastrillo.T falls back to returning its key verbatim here
- // (render.go's own doc comment on Locales: "documented, harmless").
- // That makes the raw catalog key the correct, precise thing to
- // assert on in this handler-level test: it pins exactly which
- // branch of signin's switch ran, without depending on the English
- // copy's exact wording.
- body := signinRec.Body.String()
- if !strings.Contains(body, "docs.signin.error.expired") {
- t.Errorf("signin page after a second click did not resolve docs.signin.error.expired; body: %s", body)
+ // The words are rastrillo's sign-in screen's (the smart door), from its
+ // own English catalog: the expired problem, with the email field to
+ // send a new link.
+ body := html.UnescapeString(signinRec.Body.String())
+ if !strings.Contains(body, "That link has expired or was already used. Send a new one.") || !strings.Contains(body, `name="address"`) {
+ t.Errorf("signin page after a second click does not say the link expired, with the field; body: %s", body)
}
if strings.Contains(body, "docs.error.generic") {
t.Errorf("signin page after a second click fell back to the app-wide docs.error.generic instead of the sign-in-specific expired copy")
@@ -279,9 +275,16 @@ func TestSigninUnrecognizedErrorUsesSigninSpecificFallback(t *testing.T) {
req := httptest.NewRequest(http.MethodGet, "/signin?err="+errParam, nil)
rec := httptest.NewRecorder()
app.Handler().ServeHTTP(rec, req)
- body := rec.Body.String()
- if !strings.Contains(body, "docs.signin.error.unknown") {
- t.Errorf("err=%q: signin page did not resolve docs.signin.error.unknown; body: %s", errParam, body)
+ // rastrillo's screen answers keymail with its own problem, and any
+ // other err (a raw Begin failure, or one nobody has written yet)
+ // with its generic sign-in problem, never Docs' app-wide string.
+ body := html.UnescapeString(rec.Body.String())
+ want := "Something went wrong. Try again."
+ if errParam == "keymail" {
+ want = "Keymail couldn't confirm it's you."
+ }
+ if !strings.Contains(body, want) || !strings.Contains(body, `name="address"`) {
+ t.Errorf("err=%q: signin page does not say %q with the field; body: %s", errParam, want, body)
}
if strings.Contains(body, "docs.error.generic") {
t.Errorf("err=%q: signin page fell back to the app-wide docs.error.generic instead of the sign-in-specific fallback", errParam)
diff --git a/internal/docs/carry_browser_test.go b/internal/docs/carry_browser_test.go
index 81a6260..22ab542 100644
--- a/internal/docs/carry_browser_test.go
+++ b/internal/docs/carry_browser_test.go
@@ -10,7 +10,6 @@ import (
"testing"
"time"
- "github.com/chromedp/cdproto/input"
"github.com/chromedp/chromedp"
)
@@ -228,9 +227,9 @@ func TestAnUndoWhileARefusalIsPendingStaysUndone(t *testing.T) {
fr.rig.Run(chromedp.Sleep(700 * time.Millisecond))
fr.eval(t, docCaretJS(0, -1), &ok)
fr.rig.Run(chromedp.Sleep(40*time.Millisecond), chromedp.KeyEvent("a"), chromedp.Sleep(120*time.Millisecond))
- fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta)), chromedp.Sleep(200*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta)), chromedp.Sleep(200*time.Millisecond))
if c.redo {
- fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta|input.ModifierShift)), chromedp.Sleep(200*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta|chromedp.ModifierShift)), chromedp.Sleep(200*time.Millisecond))
}
if c.then != "" {
fr.eval(t, docCaretJS(0, -1), &ok)
diff --git a/internal/docs/chrome.go b/internal/docs/chrome.go
index 60696e9..aeeeae2 100644
--- a/internal/docs/chrome.go
+++ b/internal/docs/chrome.go
@@ -28,7 +28,11 @@ import (
type Frame struct {
Chrome chrome.Bar
TitleParts []string
- Theme string
+ // Title, when set, is the whole <title>, which then does not add the
+ // app's name: the sign-in door's title is rastrillo's, and it already
+ // names Docs ("Sign in to Docs").
+ Title string
+ Theme string
}
// frameOptions describes one page's chrome. The zero value is a plain
@@ -36,6 +40,8 @@ type Frame struct {
type frameOptions struct {
// titleParts precede "Docs" in <title>, most specific first.
titleParts []string
+ // title replaces the whole <title> (Frame.Title).
+ title string
// context is the open object's title; edit replaces it with the
// editable title when the person may rename.
context string
@@ -92,7 +98,7 @@ func (h *handlers) frame(r *http.Request, o frameOptions) Frame {
default:
bar.SignIn = &chrome.Link{Href: "/signin?return_to=" + url.QueryEscape(returnTarget(r)), Label: rastrillo.T(r, "docs.chrome.signin")}
}
- return Frame{Chrome: bar, TitleParts: o.titleParts, Theme: chrome.ThemeAttr(chrome.Appearance(r))}
+ return Frame{Chrome: bar, TitleParts: o.titleParts, Title: o.title, Theme: chrome.ThemeAttr(chrome.Appearance(r))}
}
// returnTarget is where a person should come back to: this page, if it
diff --git a/internal/docs/chrome_test.go b/internal/docs/chrome_test.go
index 24da549..21ba79a 100644
--- a/internal/docs/chrome_test.go
+++ b/internal/docs/chrome_test.go
@@ -41,7 +41,10 @@ func titleOf(body string) string {
}
// Every page's <title> is "{part} · {part} · Docs", built by the layout
-// alone (spec §10): the root is just the app's name.
+// alone (spec §10): the root is just the app's name. The sign-in door is
+// the one exception: its title is rastrillo's for the state it shows
+// (estilo-signin-screen-title), which already names Docs, so that the tab
+// and the heading always say the same thing.
func TestPageTitlesFollowTheSuitePattern(t *testing.T) {
app, _ := docs.NewForTest(t)
alice := signInCookies(t, app, "alice@example.com")
@@ -56,8 +59,10 @@ func TestPageTitlesFollowTheSuitePattern(t *testing.T) {
{"search", "/?q=min", alice, "“min” · docs.app.name"},
{"document", "/d/" + sqid, alice, "Minutes · docs.app.name"},
{"share", "/d/" + sqid + "/share", alice, "docs.share.title · Minutes · docs.app.name"},
- {"sign in", "/signin", nil, "Sign in · docs.app.name"},
- {"sent", "/signin?sent=1", nil, "Check your email · docs.app.name"},
+ {"sign in", "/signin", nil, "Sign in to Docs"},
+ {"other ways", "/signin?ways=1", nil, "Other ways to sign in to Docs"},
+ {"problem", "/signin?err=rate", nil, "Problem signing in to Docs"},
+ {"sent", "/signin?sent=1", nil, "Check your email to sign in to Docs"},
{"signed out", "/signed-out", nil, "Signed out · docs.app.name"},
}
for _, c := range cases {
diff --git a/internal/docs/colophon.json b/internal/docs/colophon.json
index cce7bf3..de4a487 100644
--- a/internal/docs/colophon.json
+++ b/internal/docs/colophon.json
@@ -1,5 +1,16 @@
{
"packages": [
+ {
+ "ecosystem": "go",
+ "name": "amadan.net/rastrillo/fiesta",
+ "version": "v1.5.0",
+ "notices": [
+ {
+ "Name": "LICENSE",
+ "Text": "Mozilla Public License Version 2.0\n==================================\n\n1. Definitions\n--------------\n\n1.1. \"Contributor\"\n means each individual or legal entity that creates, contributes to\n the creation of, or owns Covered Software.\n\n1.2. \"Contributor Version\"\n means the combination of the Contributions of others (if any) used\n by a Contributor and that particular Contributor's Contribution.\n\n1.3. \"Contribution\"\n means Covered Software of a particular Contributor.\n\n1.4. \"Covered Software\"\n means Source Code Form to which the initial Contributor has attached\n the notice in Exhibit A, the Executable Form of such Source Code\n Form, and Modifications of such Source Code Form, in each case\n including portions thereof.\n\n1.5. \"Incompatible With Secondary Licenses\"\n means\n\n (a) that the initial Contributor has attached the notice described\n in Exhibit B to the Covered Software; or\n\n (b) that the Covered Software was made available under the terms of\n version 1.1 or earlier of the License, but not also under the\n terms of a Secondary License.\n\n1.6. \"Executable Form\"\n means any form of the work other than Source Code Form.\n\n1.7. \"Larger Work\"\n means a work that combines Covered Software with other material, in\n a separate file or files, that is not Covered Software.\n\n1.8. \"License\"\n means this document.\n\n1.9. \"Licensable\"\n means having the right to grant, to the maximum extent possible,\n whether at the time of the initial grant or subsequently, any and\n all of the rights conveyed by this License.\n\n1.10. \"Modifications\"\n means any of the following:\n\n (a) any file in Source Code Form that results from an addition to,\n deletion from, or modification of the contents of Covered\n Software; or\n\n (b) any new file in Source Code Form that contains any Covered\n Software.\n\n1.11. \"Patent Claims\" of a Contributor\n means any patent claim(s), including without limitation, method,\n process, and apparatus claims, in any patent Licensable by such\n Contributor that would be infringed, but for the grant of the\n License, by the making, using, selling, offering for sale, having\n made, import, or transfer of either its Contributions or its\n Contributor Version.\n\n1.12. \"Secondary License\"\n means either the GNU General Public License, Version 2.0, the GNU\n Lesser General Public License, Version 2.1, the GNU Affero General\n Public License, Version 3.0, or any later versions of those\n licenses.\n\n1.13. \"Source Code Form\"\n means the form of the work preferred for making modifications.\n\n1.14. \"You\" (or \"Your\")\n means an individual or a legal entity exercising rights under this\n License. For legal entities, \"You\" includes any entity that\n controls, is controlled by, or is under common control with You. For\n purposes of this definition, \"control\" means (a) the power, direct\n or indirect, to cause the direction or management of such entity,\n whether by contract or otherwise, or (b) ownership of more than\n fifty percent (50%) of the outstanding shares or beneficial\n ownership of such entity.\n\n2. License Grants and Conditions\n--------------------------------\n\n2.1. Grants\n\nEach Contributor hereby grants You a world-wide, royalty-free,\nnon-exclusive license:\n\n(a) under intellectual property rights (other than patent or trademark)\n Licensable by such Contributor to use, reproduce, make available,\n modify, display, perform, distribute, and otherwise exploit its\n Contributions, either on an unmodified basis, with Modifications, or\n as part of a Larger Work; and\n\n(b) under Patent Claims of such Contributor to make, use, sell, offer\n for sale, have made, import, and otherwise transfer either its\n Contributions or its Contributor Version.\n\n2.2. Effective Date\n\nThe licenses granted in Section 2.1 with respect to any Contribution\nbecome effective for each Contribution on the date the Contributor first\ndistributes such Contribution.\n\n2.3. Limitations on Grant Scope\n\nThe licenses granted in this Section 2 are the only rights granted under\nthis License. No additional rights or licenses will be implied from the\ndistribution or licensing of Covered Software under this License.\nNotwithstanding Section 2.1(b) above, no patent license is granted by a\nContributor:\n\n(a) for any code that a Contributor has removed from Covered Software;\n or\n\n(b) for infringements caused by: (i) Your and any other third party's\n modifications of Covered Software, or (ii) the combination of its\n Contributions with other software (except as part of its Contributor\n Version); or\n\n(c) under Patent Claims infringed by Covered Software in the absence of\n its Contributions.\n\nThis License does not grant any rights in the trademarks, service marks,\nor logos of any Contributor (except as may be necessary to comply with\nthe notice requirements in Section 3.4).\n\n2.4. Subsequent Licenses\n\nNo Contributor makes additional grants as a result of Your choice to\ndistribute the Covered Software under a subsequent version of this\nLicense (see Section 10.2) or under the terms of a Secondary License (if\npermitted under the terms of Section 3.3).\n\n2.5. Representation\n\nEach Contributor represents that the Contributor believes its\nContributions are its original creation(s) or it has sufficient rights\nto grant the rights to its Contributions conveyed by this License.\n\n2.6. Fair Use\n\nThis License is not intended to limit any rights You have under\napplicable copyright doctrines of fair use, fair dealing, or other\nequivalents.\n\n2.7. Conditions\n\nSections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted\nin Section 2.1.\n\n3. Responsibilities\n-------------------\n\n3.1. Distribution of Source Form\n\nAll distribution of Covered Software in Source Code Form, including any\nModifications that You create or to which You contribute, must be under\nthe terms of this License. You must inform recipients that the Source\nCode Form of the Covered Software is governed by the terms of this\nLicense, and how they can obtain a copy of this License. You may not\nattempt to alter or restrict the recipients' rights in the Source Code\nForm.\n\n3.2. Distribution of Executable Form\n\nIf You distribute Covered Software in Executable Form then:\n\n(a) such Covered Software must also be made available in Source Code\n Form, as described in Section 3.1, and You must inform recipients of\n the Executable Form how they can obtain a copy of such Source Code\n Form by reasonable means in a timely manner, at a charge no more\n than the cost of distribution to the recipient; and\n\n(b) You may distribute such Executable Form under the terms of this\n License, or sublicense it under different terms, provided that the\n license for the Executable Form does not attempt to limit or alter\n the recipients' rights in the Source Code Form under this License.\n\n3.3. Distribution of a Larger Work\n\nYou may create and distribute a Larger Work under terms of Your choice,\nprovided that You also comply with the requirements of this License for\nthe Covered Software. If the Larger Work is a combination of Covered\nSoftware with a work governed by one or more Secondary Licenses, and the\nCovered Software is not Incompatible With Secondary Licenses, this\nLicense permits You to additionally distribute such Covered Software\nunder the terms of such Secondary License(s), so that the recipient of\nthe Larger Work may, at their option, further distribute the Covered\nSoftware under the terms of either this License or such Secondary\nLicense(s).\n\n3.4. Notices\n\nYou may not remove or alter the substance of any license notices\n(including copyright notices, patent notices, disclaimers of warranty,\nor limitations of liability) contained within the Source Code Form of\nthe Covered Software, except that You may alter any license notices to\nthe extent required to remedy known factual inaccuracies.\n\n3.5. Application of Additional Terms\n\nYou may choose to offer, and to charge a fee for, warranty, support,\nindemnity or liability obligations to one or more recipients of Covered\nSoftware. However, You may do so only on Your own behalf, and not on\nbehalf of any Contributor. You must make it absolutely clear that any\nsuch warranty, support, indemnity, or liability obligation is offered by\nYou alone, and You hereby agree to indemnify every Contributor for any\nliability incurred by such Contributor as a result of warranty, support,\nindemnity or liability terms You offer. You may include additional\ndisclaimers of warranty and limitations of liability specific to any\njurisdiction.\n\n4. Inability to Comply Due to Statute or Regulation\n---------------------------------------------------\n\nIf it is impossible for You to comply with any of the terms of this\nLicense with respect to some or all of the Covered Software due to\nstatute, judicial order, or regulation then You must: (a) comply with\nthe terms of this License to the maximum extent possible; and (b)\ndescribe the limitations and the code they affect. Such description must\nbe placed in a text file included with all distributions of the Covered\nSoftware under this License. Except to the extent prohibited by statute\nor regulation, such description must be sufficiently detailed for a\nrecipient of ordinary skill to be able to understand it.\n\n5. Termination\n--------------\n\n5.1. The rights granted under this License will terminate automatically\nif You fail to comply with any of its terms. However, if You become\ncompliant, then the rights granted under this License from a particular\nContributor are reinstated (a) provisionally, unless and until such\nContributor explicitly and finally terminates Your grants, and (b) on an\nongoing basis, if such Contributor fails to notify You of the\nnon-compliance by some reasonable means prior to 60 days after You have\ncome back into compliance. Moreover, Your grants from a particular\nContributor are reinstated on an ongoing basis if such Contributor\nnotifies You of the non-compliance by some reasonable means, this is the\nfirst time You have received notice of non-compliance with this License\nfrom such Contributor, and You become compliant prior to 30 days after\nYour receipt of the notice.\n\n5.2. If You initiate litigation against any entity by asserting a patent\ninfringement claim (excluding declaratory judgment actions,\ncounter-claims, and cross-claims) alleging that a Contributor Version\ndirectly or indirectly infringes any patent, then the rights granted to\nYou by any and all Contributors for the Covered Software under Section\n2.1 of this License shall terminate.\n\n5.3. In the event of termination under Sections 5.1 or 5.2 above, all\nend user license agreements (excluding distributors and resellers) which\nhave been validly granted by You or Your distributors under this License\nprior to termination shall survive termination.\n\n************************************************************************\n* *\n* 6. Disclaimer of Warranty *\n* ------------------------- *\n* *\n* Covered Software is provided under this License on an \"as is\" *\n* basis, without warranty of any kind, either expressed, implied, or *\n* statutory, including, without limitation, warranties that the *\n* Covered Software is free of defects, merchantable, fit for a *\n* particular purpose or non-infringing. The entire risk as to the *\n* quality and performance of the Covered Software is with You. *\n* Should any Covered Software prove defective in any respect, You *\n* (not any Contributor) assume the cost of any necessary servicing, *\n* repair, or correction. This disclaimer of warranty constitutes an *\n* essential part of this License. No use of any Covered Software is *\n* authorized under this License except under this disclaimer. *\n* *\n************************************************************************\n\n************************************************************************\n* *\n* 7. Limitation of Liability *\n* -------------------------- *\n* *\n* Under no circumstances and under no legal theory, whether tort *\n* (including negligence), contract, or otherwise, shall any *\n* Contributor, or anyone who distributes Covered Software as *\n* permitted above, be liable to You for any direct, indirect, *\n* special, incidental, or consequential damages of any character *\n* including, without limitation, damages for lost profits, loss of *\n* goodwill, work stoppage, computer failure or malfunction, or any *\n* and all other commercial damages or losses, even if such party *\n* shall have been informed of the possibility of such damages. This *\n* limitation of liability shall not apply to liability for death or *\n* personal injury resulting from such party's negligence to the *\n* extent applicable law prohibits such limitation. Some *\n* jurisdictions do not allow the exclusion or limitation of *\n* incidental or consequential damages, so this exclusion and *\n* limitation may not apply to You. *\n* *\n************************************************************************\n\n8. Litigation\n-------------\n\nAny litigation relating to this License may be brought only in the\ncourts of a jurisdiction where the defendant maintains its principal\nplace of business and such litigation shall be governed by laws of that\njurisdiction, without reference to its conflict-of-law provisions.\nNothing in this Section shall prevent a party's ability to bring\ncross-claims or counter-claims.\n\n9. Miscellaneous\n----------------\n\nThis License represents the complete agreement concerning the subject\nmatter hereof. If any provision of this License is held to be\nunenforceable, such provision shall be reformed only to the extent\nnecessary to make it enforceable. Any law or regulation which provides\nthat the language of a contract shall be construed against the drafter\nshall not be used to construe this License against a Contributor.\n\n10. Versions of the License\n---------------------------\n\n10.1. New Versions\n\nMozilla Foundation is the license steward. Except as provided in Section\n10.3, no one other than the license steward has the right to modify or\npublish new versions of this License. Each version will be given a\ndistinguishing version number.\n\n10.2. Effect of New Versions\n\nYou may distribute the Covered Software under the terms of the version\nof the License under which You originally received the Covered Software,\nor under the terms of any subsequent version published by the license\nsteward.\n\n10.3. Modified Versions\n\nIf you create software not governed by this License, and you want to\ncreate a new license for such software, you may create and use a\nmodified version of this License if you rename the license and remove\nany references to the name of the license steward (except to note that\nsuch modified license differs from this License).\n\n10.4. Distributing Source Code Form that is Incompatible With Secondary\nLicenses\n\nIf You choose to distribute Source Code Form that is Incompatible With\nSecondary Licenses under the terms of this version of the License, the\nnotice described in Exhibit B of this License must be attached.\n\nExhibit A - Source Code Form License Notice\n-------------------------------------------\n\n This Source Code Form is subject to the terms of the Mozilla Public\n License, v. 2.0. If a copy of the MPL was not distributed with this\n file, You can obtain one at https://mozilla.org/MPL/2.0/.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to look\nfor such a notice.\n\nYou may add additional accurate notices of copyright ownership.\n\nExhibit B - \"Incompatible With Secondary Licenses\" Notice\n---------------------------------------------------------\n\n This Source Code Form is \"Incompatible With Secondary Licenses\", as\n defined by the Mozilla Public License, v. 2.0.\n"
+ }
+ ]
+ },
{
"ecosystem": "go",
"name": "amadan.net/rastrillo/native/server",
@@ -14,7 +25,7 @@
{
"ecosystem": "go",
"name": "amadan.net/rastrillo/rastrillo",
- "version": "v0.29.2",
+ "version": "v0.40.0",
"notices": [
{
"Name": "LICENSE",
@@ -24,9 +35,21 @@
"Name": "gormlite/LICENSE",
"Text": "The MIT License (MIT)\n\nCopyright (c) 2013-NOW Jinzhu <wosmvp@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
},
+ {
+ "Name": "internal/htmlctx/LICENSE-go",
+ "Text": "Copyright 2009 The Go Authors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n * Neither the name of Google LLC nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
+ },
+ {
+ "Name": "internal/tmplescape/LICENSE-go",
+ "Text": "Copyright 2009 The Go Authors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n * Neither the name of Google LLC nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
+ },
{
"Name": "locales/LICENSE-UNICODE",
"Text": "UNICODE LICENSE V3\n\nCOPYRIGHT AND PERMISSION NOTICE\n\nCopyright © 2015-2024 Unicode, Inc.\n\nNOTICE TO USER: Carefully read the following legal agreement. BY\nDOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR\nSOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE\nTERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT\nDOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of data files and any associated documentation (the \"Data Files\") or\nsoftware and any associated documentation (the \"Software\") to deal in the\nData Files or Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, and/or sell\ncopies of the Data Files or Software, and to permit persons to whom the\nData Files or Software are furnished to do so, provided that either (a)\nthis copyright and permission notice appear with all copies of the Data\nFiles or Software, or (b) this copyright and permission notice appear in\nassociated Documentation.\n\nTHE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\nKIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\nTHIRD PARTY RIGHTS.\n\nIN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE\nBE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,\nOR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\nWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,\nARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA\nFILES OR SOFTWARE.\n\nExcept as contained in this notice, the name of a copyright holder shall\nnot be used in advertising or otherwise to promote the sale, use or other\ndealings in these Data Files or Software without prior written\nauthorization of the copyright holder.\n\nSPDX-License-Identifier: Unicode-3.0\n"
+ },
+ {
+ "Name": "tmpl/tmplrt/LICENSE-go",
+ "Text": "Copyright 2009 The Go Authors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n * Neither the name of Google LLC nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
}
]
},
@@ -81,7 +104,7 @@
{
"ecosystem": "go",
"name": "github.com/go-json-experiment/json",
- "version": "v0.0.0-20250725192818-e39067aee2d2",
+ "version": "v0.0.0-20260820222146-c27c302e5fc3",
"notices": [
{
"Name": "LICENSE",
@@ -157,7 +180,7 @@
{
"ecosystem": "go",
"name": "github.com/modelcontextprotocol/go-sdk",
- "version": "v1.7.0",
+ "version": "v1.8.0",
"notices": [
{
"Name": "LICENSE",
@@ -209,6 +232,28 @@
}
]
},
+ {
+ "ecosystem": "go",
+ "name": "github.com/tdewolff/minify/v2",
+ "version": "v2.24.19",
+ "notices": [
+ {
+ "Name": "LICENSE",
+ "Text": "Copyright (c) 2025 Taco de Wolff\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation\n files (the \"Software\"), to deal in the Software without\n restriction, including without limitation the rights to use,\n copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the\n Software is furnished to do so, subject to the following\n conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE."
+ }
+ ]
+ },
+ {
+ "ecosystem": "go",
+ "name": "github.com/tdewolff/parse/v2",
+ "version": "v2.8.16",
+ "notices": [
+ {
+ "Name": "LICENSE.md",
+ "Text": "Copyright (c) 2015 Taco de Wolff\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation\n files (the \"Software\"), to deal in the Software without\n restriction, including without limitation the rights to use,\n copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the\n Software is furnished to do so, subject to the following\n conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE."
+ }
+ ]
+ },
{
"ecosystem": "go",
"name": "github.com/tetratelabs/wazero",
@@ -260,7 +305,7 @@
{
"ecosystem": "go",
"name": "golang.org/x/sync",
- "version": "v0.21.0",
+ "version": "v0.22.0",
"notices": [
{
"Name": "LICENSE",
@@ -271,7 +316,7 @@
{
"ecosystem": "go",
"name": "golang.org/x/sys",
- "version": "v0.46.0",
+ "version": "v0.47.0",
"notices": [
{
"Name": "LICENSE",
@@ -282,7 +327,7 @@
{
"ecosystem": "go",
"name": "golang.org/x/text",
- "version": "v0.39.0",
+ "version": "v0.41.0",
"notices": [
{
"Name": "LICENSE",
@@ -1497,14 +1542,14 @@
{
"ecosystem": "go",
"name": "github.com/chromedp/cdproto",
- "version": "v0.0.0-20250724212937-08a3db8b4327",
+ "version": "v0.158.6",
"tool": true,
"notices": []
},
{
"ecosystem": "go",
"name": "github.com/chromedp/chromedp",
- "version": "v0.14.2",
+ "version": "v0.21.0",
"tool": true,
"notices": []
},
diff --git a/internal/docs/colophon_browser_test.go b/internal/docs/colophon_browser_test.go
index c349e89..8096437 100644
--- a/internal/docs/colophon_browser_test.go
+++ b/internal/docs/colophon_browser_test.go
@@ -43,11 +43,11 @@ func TestColophonPagesReflowAndNeedNoScriptOrFont(t *testing.T) {
}
return served
})
- run := func(what string, actions ...chromedp.Action) {
+ run := func(what string, actions ...chromedp.Action[chromedp.Void]) {
t.Helper()
ctx, cancel := context.WithTimeout(rig.Context(), 30*time.Second)
defer cancel()
- if err := chromedp.Run(ctx, actions...); err != nil {
+ if err := chromedp.Do(ctx, actions...); err != nil {
t.Fatalf("%s: %v", what, err)
}
}
@@ -93,12 +93,12 @@ func TestColophonPagesReflowAndNeedNoScriptOrFont(t *testing.T) {
})()`
c := docs.Colophon()
for _, scripts := range []bool{true, false} {
- run("scripts", emulation.SetScriptExecutionDisabled(!scripts))
+ run("scripts", command(emulation.SetScriptExecutionDisabled, emulation.SetScriptExecutionDisabledParams{Value: !scripts}))
for _, width := range []int64{320, 1200} {
- run("width", emulation.SetDeviceMetricsOverride(width, 900, 1, false))
+ run("width", command(emulation.SetDeviceMetricsOverride, emulation.SetDeviceMetricsOverrideParams{Width: width, Height: 900, DeviceScaleFactor: 1}))
for _, path := range []string{"/help/colophon", "/help/colophon/carlito", "/help/colophon/prosemirror", "/help/fonts"} {
var m measure
- run(path, chromedp.Navigate(rig.Origin+path), chromedp.WaitReady("[estilo-colophon]", chromedp.ByQuery), chromedp.Sleep(150*time.Millisecond), chromedp.Evaluate(script, &m))
+ run(path, chromedp.Navigate(rig.Origin+path), chromedp.WaitReady(chromedp.CSS("[estilo-colophon]")), chromedp.Sleep(150*time.Millisecond), evalInto(&m, script))
where := fmt.Sprintf("%s at %dpx, scripts %v", path, width, scripts)
if !m.HasMain || m.Headings != 1 {
t.Fatalf("%s: the page did not render (%+v)", where, m)
diff --git a/internal/docs/fonts_browser_test.go b/internal/docs/fonts_browser_test.go
index 040a63a..4f34801 100644
--- a/internal/docs/fonts_browser_test.go
+++ b/internal/docs/fonts_browser_test.go
@@ -34,11 +34,11 @@ import (
"amadan.net/rastrillo/rastrillo"
"amadan.net/rastrillo/rastrillo/harness"
+ "github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/emulation"
"github.com/chromedp/cdproto/input"
"github.com/chromedp/cdproto/network"
"github.com/chromedp/cdproto/page"
- cdpruntime "github.com/chromedp/cdproto/runtime"
"github.com/chromedp/chromedp"
"github.com/chromedp/chromedp/kb"
@@ -112,21 +112,17 @@ func newFontRig(t *testing.T) *fontRig {
})
})
fr.cookies = signInCookies(t, fr.app, "fonts@example.com")
- var set []chromedp.Action
+ var set []chromedp.Action[chromedp.Void]
for _, c := range fr.cookies {
- set = append(set, network.SetCookie(c.Name, c.Value).WithURL(fr.rig.Origin+"/").
- WithHTTPOnly(c.HttpOnly).WithSecure(c.Secure).WithSameSite(network.CookieSameSiteLax))
+ set = append(set, setCookie(fr.rig.Origin, c))
}
// Wide enough for the whole sheet, so the line-break check measures
// the 6.5in column the PDF sets.
- set = append(set, emulation.SetDeviceMetricsOverride(1280, 1000, 1, false),
+ set = append(set, command(emulation.SetDeviceMetricsOverride, emulation.SetDeviceMetricsOverrideParams{Width: 1280, Height: 1000, DeviceScaleFactor: 1}),
// No HTTP cache between checks: each one is a first visit, which
// is when the fonts have to come over the network.
- network.SetCacheDisabled(true),
- chromedp.ActionFunc(func(ctx context.Context) error {
- _, err := page.AddScriptToEvaluateOnNewDocument(probeJS).Do(ctx)
- return err
- }))
+ command(network.SetCacheDisabled, network.SetCacheDisabledParams{CacheDisabled: true}),
+ command(page.AddScriptToEvaluateOnNewDocument, page.AddScriptToEvaluateOnNewDocumentParams{Source: probeJS}))
fr.rig.Run(set...)
return fr
}
@@ -220,7 +216,7 @@ type probe struct {
func (fr *fontRig) probe(t *testing.T) probe {
t.Helper()
var raw string
- fr.rig.Run(chromedp.Evaluate(`JSON.stringify(window.__fontProbe)`, &raw))
+ fr.rig.Run(evalInto(&raw, `JSON.stringify(window.__fontProbe)`))
var p probe
if err := json.Unmarshal([]byte(raw), &p); err != nil {
t.Fatalf("probe: %v (%s)", err, raw)
@@ -234,33 +230,70 @@ func (fr *fontRig) probe(t *testing.T) probe {
func (fr *fontRig) open(t *testing.T, sqid string) {
t.Helper()
fr.rig.Run(fr.navigate("/d/"+sqid),
- chromedp.WaitVisible(`html[data-docs-fonts="shown"] [docs-text]`, chromedp.ByQuery))
+ chromedp.WaitVisible(chromedp.CSS(`html[data-docs-fonts="shown"] [docs-text]`)))
}
// navigate goes to path without waiting for the load event, which waits
// for every font the page has started fetching: a check of what happens
// while a font is slow must be able to act while it is.
-func (fr *fontRig) navigate(path string) chromedp.Action {
- return chromedp.ActionFunc(func(ctx context.Context) error {
- _, _, _, _, err := page.Navigate(fr.rig.Origin + path).Do(ctx)
- return err
- })
+func (fr *fontRig) navigate(path string) chromedp.Action[chromedp.Void] {
+ return command(page.Navigate, page.NavigateParams{URL: fr.rig.Origin + path})
}
// editable waits until the editor accepts input, which is once every
// face of every family in use has settled.
func (fr *fontRig) editable(t *testing.T) {
t.Helper()
- fr.rig.Run(chromedp.WaitVisible(`[docs-text][contenteditable="true"]`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text][contenteditable="true"]`)))
}
func (fr *fontRig) eval(t *testing.T, js string, out any, await ...bool) {
t.Helper()
+ var opts []chromedp.EvaluateOption
if len(await) > 0 && await[0] {
- fr.rig.Run(chromedp.Evaluate(js, out, func(p *cdpruntime.EvaluateParams) *cdpruntime.EvaluateParams { return p.WithAwaitPromise(true) }))
+ opts = append(opts, chromedp.EvalAwaitPromise)
+ }
+ var raw json.RawMessage
+ fr.rig.Run(evalInto(&raw, js, opts...))
+ if len(raw) == 0 || string(raw) == "null" {
return
}
- fr.rig.Run(chromedp.Evaluate(js, out))
+ if err := json.Unmarshal(raw, out); err != nil {
+ t.Fatalf("eval: decoding %s: %v", raw, err)
+ }
+}
+
+// evalInto is a step that evaluates js and decodes the result into out.
+// A script that returns null or undefined leaves out as it was, as
+// chromedp v0.14's Evaluate did; v0.21's fails on null for a type that
+// cannot be nil, so the result is read through a pointer.
+func evalInto[T any](out *T, js string, opts ...chromedp.EvaluateOption) chromedp.Action[chromedp.Void] {
+ return chromedp.Func(func(ctx context.Context, t *chromedp.Target) error {
+ v, err := chromedp.Evaluate[*T](js, opts...)(ctx, t)
+ if err != nil {
+ return err
+ }
+ if v != nil {
+ *out = *v
+ }
+ return nil
+ })
+}
+
+// command is a step that sends one protocol command and drops its result.
+func command[P, R any](c cdp.Command[P, R], params P) chromedp.Action[chromedp.Void] {
+ return chromedp.Func(func(ctx context.Context, t *chromedp.Target) error {
+ _, err := cdp.Call(ctx, t, c, params)
+ return err
+ })
+}
+
+// setCookie is a step that sets a sign-in cookie for the rig's origin.
+func setCookie(origin string, c *http.Cookie) chromedp.Action[chromedp.Void] {
+ return command(network.SetCookie, network.SetCookieParams{
+ Name: c.Name, Value: c.Value, URL: origin + "/",
+ HTTPOnly: &c.HttpOnly, Secure: &c.Secure, SameSite: network.CookieSameSiteLax,
+ })
}
// Text is not painted before its fonts are ready. Every font file is
@@ -352,9 +385,9 @@ func TestFontEachPickerEntryRendersInItsOwnFace(t *testing.T) {
sqid := fr.document(t, "Picker", "")
fr.open(t, sqid)
fr.rig.Run(
- chromedp.WaitEnabled(`#docs-select-font-combo`, chromedp.ByQuery),
- chromedp.Click(`#docs-select-font-combo`, chromedp.ByQuery),
- chromedp.WaitVisible(`#docs-select-font-listbox [rst-combo-option]`, chromedp.ByQuery),
+ chromedp.WaitEnabled(chromedp.CSS(`#docs-select-font-combo`)),
+ chromedp.Click(chromedp.CSS(`#docs-select-font-combo`)),
+ chromedp.WaitVisible(chromedp.CSS(`#docs-select-font-listbox [rst-combo-option]`)),
)
var rows []struct {
Text string `json:"text"`
@@ -422,7 +455,7 @@ func TestFontPickingAFontLoadsItBeforeApplyingIt(t *testing.T) {
if early {
t.Error("the mark was applied while Playfair Display was still loading")
}
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] .docs-font-playfair`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] .docs-font-playfair`)))
p := fr.probe(t)
for _, v := range p.Violations {
t.Error(v)
@@ -458,7 +491,7 @@ func TestFontACollaboratorsFontChangeWaitsForTheFont(t *testing.T) {
t.Fatalf("the collaborator's POST: %d %s", rec.Code, rec.Body.String())
}
posted := time.Now()
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] .docs-font-playfair`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] .docs-font-playfair`)))
if waited := time.Since(posted); waited < 1200*time.Millisecond {
t.Errorf("the change appeared %v after it was posted, sooner than its font could have loaded", waited)
}
@@ -586,7 +619,7 @@ func TestFontARemoteChangeWaitsForTheFacesItUses(t *testing.T) {
fr.open(t, sqid)
fr.rig.Run(chromedp.Sleep(300 * time.Millisecond))
fr.post(t, sqid, c.vector)
- fr.rig.Run(chromedp.WaitVisible(c.sel, chromedp.ByQuery), chromedp.Sleep(200*time.Millisecond))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(c.sel)), chromedp.Sleep(200*time.Millisecond))
fr.noViolations(t)
})
}
@@ -607,7 +640,7 @@ func TestFontAPasteAndAnInputRuleWaitForTheirFaces(t *testing.T) {
fr.eval(t, `(() => { const el = document.querySelector('[docs-text]'); el.focus();
const d = new DataTransfer(); d.setData('text/html', '<p><code>Pasted code</code></p>');
return el.dispatchEvent(new ClipboardEvent('paste', { clipboardData: d, bubbles: true, cancelable: true })) })()`, &ok)
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] code`, chromedp.ByQuery), chromedp.Sleep(200*time.Millisecond))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] code`)), chromedp.Sleep(200*time.Millisecond))
fr.noViolations(t)
})
t.Run("heading rule", func(t *testing.T) {
@@ -623,8 +656,8 @@ func TestFontAPasteAndAnInputRuleWaitForTheirFaces(t *testing.T) {
fr.eval(t, `(() => { const p = document.querySelector('[docs-text] p:last-child'); const r = document.createRange();
r.selectNodeContents(p); r.collapse(false); getSelection().removeAllRanges(); getSelection().addRange(r);
document.querySelector('[docs-text]').focus(); return true })()`, &ok)
- fr.rig.Run(chromedp.KeyEvent("\r"), chromedp.SendKeys(`[docs-text]`, "# A heading", chromedp.ByQuery),
- chromedp.WaitVisible(`[docs-text] h1`, chromedp.ByQuery), chromedp.Sleep(300*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("\r"), chromedp.SendKeys(chromedp.CSS(`[docs-text]`), "# A heading"),
+ chromedp.WaitVisible(chromedp.CSS(`[docs-text] h1`)), chromedp.Sleep(300*time.Millisecond))
fr.noViolations(t)
})
}
@@ -652,7 +685,7 @@ func TestFontABoldThatCannotLoadChangesNothing(t *testing.T) {
var ok bool
fr.eval(t, `(() => { const p = document.querySelector('[docs-text] p'); const r = document.createRange(); r.selectNodeContents(p);
getSelection().removeAllRanges(); getSelection().addRange(r); document.querySelector('[docs-text]').focus(); return true })()`, &ok)
- fr.rig.Run(chromedp.Sleep(100*time.Millisecond), chromedp.Click(`[docs-toolbar] [data-docs-command="strong"]`, chromedp.ByQuery),
+ fr.rig.Run(chromedp.Sleep(100*time.Millisecond), chromedp.Click(chromedp.CSS(`[docs-toolbar] [data-docs-command="strong"]`)),
chromedp.Sleep(8*time.Second))
fr.eval(t, face, &after)
if before != after || strings.Contains(after, "Docs Carlito") {
@@ -685,10 +718,10 @@ func TestFontTheFirstRevealIsTheFinalLayout(t *testing.T) {
t.Run(c.name, func(t *testing.T) {
fr := newFontRig(t)
sqid := fr.document(t, "Pages", "long.bin")
- fr.rig.Run(network.SetCookie("docs-view", "paged").WithURL(fr.rig.Origin + "/"))
+ fr.rig.Run(command(network.SetCookie, network.SetCookieParams{Name: "docs-view", Value: "paged", URL: fr.rig.Origin + "/"}))
fr.editorDelay.Store(int64(c.delay))
fr.rig.Run(fr.navigate("/d/"+sqid),
- chromedp.WaitVisible(`[docs-page]`, chromedp.ByQuery), chromedp.Sleep(c.delay+1500*time.Millisecond))
+ chromedp.WaitVisible(chromedp.CSS(`[docs-page]`)), chromedp.Sleep(c.delay+1500*time.Millisecond))
p := fr.noViolations(t)
var gaps, height int
fr.eval(t, `document.querySelectorAll('[docs-page-gap]').length`, &gaps)
@@ -821,9 +854,9 @@ func TestFontTheClosedPickerFollowsTheCaret(t *testing.T) {
func TestFontWithoutJavaScriptTheSystemFacesAreFinal(t *testing.T) {
fr := newFontRig(t)
sqid := fr.document(t, "No script", "faces.bin")
- fr.rig.Run(emulation.SetScriptExecutionDisabled(true))
+ fr.rig.Run(command(emulation.SetScriptExecutionDisabled, emulation.SetScriptExecutionDisabledParams{Value: true}))
fr.slow.Store(int64(1500 * time.Millisecond))
- fr.rig.Run(fr.navigate("/d/"+sqid), chromedp.WaitReady(`[docs-page]`, chromedp.ByQuery))
+ fr.rig.Run(fr.navigate("/d/"+sqid), chromedp.WaitReady(chromedp.CSS(`[docs-page]`)))
read := func() (vis, family string, loaded int) {
var out []any
fr.eval(t, `[getComputedStyle(document.querySelector('[docs-page]')).visibility,
@@ -862,7 +895,7 @@ func TestFontAPastedFontStackMapsLikeTheNativeApp(t *testing.T) {
'<span style="font-family: Calibri, Arial">Calibri</span> <span style="font-family: Wingdings">Unknown</span> ' +
'<span style="font-family: Menlo, &quot;Courier New&quot;, monospace">Menlo</span></p>');
return el.dispatchEvent(new ClipboardEvent('paste', { clipboardData: d, bubbles: true, cancelable: true })) })()`, &ok)
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] .docs-font-caladea`, chromedp.ByQuery), chromedp.Sleep(300*time.Millisecond))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] .docs-font-caladea`)), chromedp.Sleep(300*time.Millisecond))
var got map[string]string
fr.eval(t, `Object.fromEntries(['Georgia', 'Calibri', 'Unknown', 'Menlo'].map((w) => {
const walker = document.createTreeWalker(document.querySelector('[docs-text]'), NodeFilter.SHOW_TEXT);
@@ -893,7 +926,7 @@ func TestFontANestedPastedFontWinsOverItsParent(t *testing.T) {
d.setData('text/html', '<p style="font-family: Inter">Outer <span style="font-family: Calibri">Inner1</span> ' +
'<span style="font-family: Wingdings">Inner2</span> <span style="font-family: Cambria">Inner3</span> <span>Inner4</span></p>');
return el.dispatchEvent(new ClipboardEvent('paste', { clipboardData: d, bubbles: true, cancelable: true })) })()`, &ok)
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] .docs-font-caladea`, chromedp.ByQuery), chromedp.Sleep(300*time.Millisecond))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] .docs-font-caladea`)), chromedp.Sleep(300*time.Millisecond))
var got map[string]string
fr.eval(t, `Object.fromEntries(['Outer', 'Inner1', 'Inner2', 'Inner3', 'Inner4'].map((w) => {
const walker = document.createTreeWalker(document.querySelector('[docs-text]'), NodeFilter.SHOW_TEXT);
@@ -1050,7 +1083,7 @@ func (fr *fontRig) checkGateCoverage(t *testing.T, dir, name string, late bool)
if mounted {
fr.blocked.Store("")
fr.open(t, doc.Sqid)
- fr.rig.Run(chromedp.WaitVisible(`[docs-text].ProseMirror`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text].ProseMirror`)))
} else {
fr.blocked.Store("/static/editor.")
fr.open(t, doc.Sqid)
@@ -1168,7 +1201,7 @@ func TestFontEveryInputPathWaitsForItsFamily(t *testing.T) {
document.querySelector('[docs-text]').focus(); return true })()`
rows := []struct {
name, slow string
- steps []chromedp.Action
+ steps []chromedp.Action[chromedp.Void]
wait string
post string // a collaborator's vector instead of browser steps
}{
@@ -1210,12 +1243,12 @@ func TestFontEveryInputPathWaitsForItsFamily(t *testing.T) {
fr.eval(t, caretAtEnd, &ok)
// The toggle waits for code's face with the editor inert;
// typing goes in once it is back.
- fr.rig.Run(chromedp.Click(`[docs-toolbar] [data-docs-command="code"]`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.Click(chromedp.CSS(`[docs-toolbar] [data-docs-command="code"]`)))
fr.settled(t)
fr.rig.Run(chromedp.KeyEvent(" typed as code"))
case "type a list after toggling code":
fr.eval(t, caretAtEnd, &ok)
- fr.rig.Run(chromedp.KeyEvent("\r"), chromedp.Click(`[docs-toolbar] [data-docs-command="code"]`, chromedp.ByQuery))
+ fr.rig.Run(chromedp.KeyEvent("\r"), chromedp.Click(chromedp.CSS(`[docs-toolbar] [data-docs-command="code"]`)))
fr.settled(t)
fr.rig.Run(chromedp.KeyEvent("- a listed code item"))
}
@@ -1223,15 +1256,15 @@ func TestFontEveryInputPathWaitsForItsFamily(t *testing.T) {
fr.post(t, sqid, row.post)
}
if text, ok := strings.CutPrefix(row.wait, "text:"); ok {
- fr.rig.Run(chromedp.Poll(`document.querySelector('[docs-text]').textContent.includes(`+strconv.Quote(text)+`)`, nil))
+ fr.rig.Run(chromedp.Poll[chromedp.Void](`document.querySelector('[docs-text]').textContent.includes(` + strconv.Quote(text) + `)`))
} else {
- fr.rig.Run(chromedp.WaitVisible(row.wait, chromedp.ByQuery))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(row.wait)))
}
// Long enough for the held family to arrive and be applied.
fr.rig.Run(chromedp.Sleep(2500 * time.Millisecond))
if row.name == "paste, undo, redo" {
- fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta)), chromedp.Sleep(300*time.Millisecond),
- chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta|input.ModifierShift)), chromedp.Sleep(300*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta)), chromedp.Sleep(300*time.Millisecond),
+ chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta|chromedp.ModifierShift)), chromedp.Sleep(300*time.Millisecond))
}
p := fr.noViolations(t)
for run, faces := range p.Seen {
@@ -1296,8 +1329,8 @@ func (fr *fontRig) waitLog(t *testing.T) []waitEntry {
// settled waits until no font wait is in progress.
func (fr *fontRig) settled(t *testing.T) {
t.Helper()
- fr.rig.Run(chromedp.Poll(`(() => { const s = document.querySelector('[docs-fonts-status]'); const d = document.querySelector('[docs-text]');
- return !d.inert && d.getAttribute('contenteditable') === 'true' && !['loading', 'refused'].includes((s && s.getAttribute('data-state')) || '') })()`, nil,
+ fr.rig.Run(chromedp.Poll[chromedp.Void](`(() => { const s = document.querySelector('[docs-fonts-status]'); const d = document.querySelector('[docs-text]');
+ return !d.inert && d.getAttribute('contenteditable') === 'true' && !['loading', 'refused'].includes((s && s.getAttribute('data-state')) || '') })()`,
chromedp.WithPollingTimeout(15*time.Second)))
}
@@ -1346,8 +1379,8 @@ const docTextJS = `document.querySelector('[docs-text]').innerText.replace(/\n+/
// the wait.
func TestFontAWaitIsAShortModal(t *testing.T) {
const plain = "First paragraph.|Second paragraph."
- meta := chromedp.KeyModifiers(input.ModifierMeta)
- keys := []chromedp.Action{chromedp.KeyEvent("ab"), chromedp.KeyEvent(kb.Backspace), chromedp.KeyEvent(kb.ArrowLeft), chromedp.KeyEvent("X")}
+ meta := chromedp.KeyModifiers(chromedp.ModifierMeta)
+ keys := []chromedp.Action[chromedp.Void]{chromedp.KeyEvent("ab"), chromedp.KeyEvent(kb.Backspace), chromedp.KeyEvent(kb.ArrowLeft), chromedp.KeyEvent("X")}
rows := []struct {
name string
slow time.Duration
@@ -1372,7 +1405,7 @@ func TestFontAWaitIsAShortModal(t *testing.T) {
}
}},
{name: "an IME commit during the wait goes nowhere", during: func(t *testing.T, fr *fontRig) {
- fr.rig.Run(input.ImeSetComposition("にほん", 3, 3), chromedp.Sleep(100*time.Millisecond), input.InsertText("日本"))
+ fr.rig.Run(command(input.ImeSetComposition, input.ImeSetCompositionParams{Text: "にほん", SelectionStart: 3, SelectionEnd: 3}), chromedp.Sleep(100*time.Millisecond), command(input.InsertText, input.InsertTextParams{Text: "日本"}))
}, want: "PASTE" + plain},
{name: "the title keeps what is typed into it", during: func(t *testing.T, fr *fontRig) {
var ok bool
@@ -1510,7 +1543,7 @@ func TestFontUndoAfterABlockedPasteUndoesThePaste(t *testing.T) {
fr.eval(t, `(() => { const el = document.querySelector('[docs-text]'); const d = new DataTransfer();
d.setData('text/html', '<span style="font-family: Caveat">PASTE</span>');
el.dispatchEvent(new ClipboardEvent('paste', { clipboardData: d, bubbles: true, cancelable: true })); return true })()`, &ok)
- fr.rig.Run(chromedp.WaitVisible(`[docs-text] .docs-font-caveat`, chromedp.ByQuery), chromedp.Sleep(800*time.Millisecond))
+ fr.rig.Run(chromedp.WaitVisible(chromedp.CSS(`[docs-text] .docs-font-caveat`)), chromedp.Sleep(800*time.Millisecond))
text := func() string {
var s string
fr.eval(t, `document.querySelector('[docs-text] p').textContent`, &s)
@@ -1519,11 +1552,11 @@ func TestFontUndoAfterABlockedPasteUndoesThePaste(t *testing.T) {
if got := text(); got != "abcPASTEFirst paragraph." {
t.Fatalf("after the paste the paragraph is %q", got)
}
- fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta)), chromedp.Sleep(400*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta)), chromedp.Sleep(400*time.Millisecond))
if got := text(); got != "abcFirst paragraph." {
t.Errorf("undo left %q; it should take the paste back and only the paste", got)
}
- fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(input.ModifierMeta|input.ModifierShift)), chromedp.Sleep(400*time.Millisecond))
+ fr.rig.Run(chromedp.KeyEvent("z", chromedp.KeyModifiers(chromedp.ModifierMeta|chromedp.ModifierShift)), chromedp.Sleep(400*time.Millisecond))
if got := text(); got != "abcPASTEFirst paragraph." {
t.Errorf("redo left %q", got)
}
@@ -1546,7 +1579,7 @@ func TestFontACompositionInALoadedFamilyNeverBlocks(t *testing.T) {
const el = document.querySelector('[docs-text]'); el.focus();
const n = document.createTreeWalker(el.querySelector('p'), NodeFilter.SHOW_TEXT).nextNode(); const r = document.createRange();
r.setStart(n, 0); r.collapse(true); getSelection().removeAllRanges(); getSelection().addRange(r); return true })()`, &ok)
- fr.rig.Run(input.ImeSetComposition("にほん", 3, 3), chromedp.Sleep(200*time.Millisecond), input.InsertText("日本"), chromedp.Sleep(500*time.Millisecond))
+ fr.rig.Run(command(input.ImeSetComposition, input.ImeSetCompositionParams{Text: "にほん", SelectionStart: 3, SelectionEnd: 3}), chromedp.Sleep(200*time.Millisecond), command(input.InsertText, input.InsertTextParams{Text: "日本"}), chromedp.Sleep(500*time.Millisecond))
var text string
var lost bool
fr.eval(t, `document.querySelector('[docs-text] p').textContent`, &text)
@@ -1640,7 +1673,7 @@ func TestFontTheStatusNeverCoversText(t *testing.T) {
for _, state := range []string{"loading", "refused", "unavailable", "substitute"} {
t.Run(fmt.Sprintf("%dx%d %s", size.w, size.h, state), func(t *testing.T) {
fr := newFontRig(t)
- fr.rig.Run(emulation.SetDeviceMetricsOverride(size.w, size.h, 1, false))
+ fr.rig.Run(command(emulation.SetDeviceMetricsOverride, emulation.SetDeviceMetricsOverrideParams{Width: int64(size.w), Height: int64(size.h), DeviceScaleFactor: 1}))
vector := "long.bin"
switch state {
case "loading", "refused":
@@ -1757,17 +1790,16 @@ func TestFontPrefetchFollowsTheReveal(t *testing.T) {
sqid := fr.document(t, "Prefetch", "simple.bin")
// A real visit's cache: the prefetch puts each file there, and
// the face is then loaded from it.
- fr.rig.Run(network.SetCacheDisabled(false), chromedp.ActionFunc(func(ctx context.Context) error {
- _, err := page.AddScriptToEvaluateOnNewDocument(shownAtJS).Do(ctx)
- return err
- }))
+ fr.rig.Run(command(network.SetCacheDisabled, network.SetCacheDisabledParams{CacheDisabled: false}),
+ command(page.AddScriptToEvaluateOnNewDocument, page.AddScriptToEvaluateOnNewDocumentParams{Source: shownAtJS}))
if saveData {
- fr.rig.Run(emulation.SetDataSaverOverride().WithDataSaverEnabled(true))
+ enabled := true
+ fr.rig.Run(command(emulation.SetDataSaverOverride, emulation.SetDataSaverOverrideParams{DataSaverEnabled: &enabled}))
}
var mu sync.Mutex
priority := map[string]network.ResourcePriority{}
- chromedp.ListenTarget(fr.rig.Context(), func(ev any) {
- if e, ok := ev.(*network.EventRequestWillBeSent); ok && e.Type == network.ResourceTypeFetch && strings.HasSuffix(e.Request.URL, ".woff2") {
+ harness.Listen(fr.rig, fr.rig.Context(), network.RequestWillBeSent, func(e *network.EventRequestWillBeSent) {
+ if e.Type == network.ResourceTypeFetch && strings.HasSuffix(e.Request.URL, ".woff2") {
mu.Lock()
priority[e.Request.URL] = e.Request.InitialPriority
mu.Unlock()
@@ -1778,7 +1810,7 @@ func TestFontPrefetchFollowsTheReveal(t *testing.T) {
if saveData {
fr.rig.Run(chromedp.Sleep(4 * time.Second))
} else {
- fr.rig.Run(chromedp.Poll(`document.documentElement.getAttribute('data-docs-fonts-prefetch') === 'done'`, nil, chromedp.WithPollingTimeout(60*time.Second)))
+ fr.rig.Run(chromedp.Poll[chromedp.Void](`document.documentElement.getAttribute('data-docs-fonts-prefetch') === 'done'`, chromedp.WithPollingTimeout(60*time.Second)))
}
var raw string
fr.eval(t, fontFacesJS, &raw)
@@ -1870,8 +1902,8 @@ func TestFontAWaitDuringThePrefetch(t *testing.T) {
fr.match.Store("Caladea-")
fr.slow.Store(int64(2 * time.Second))
fetching := make(chan struct{}, 1)
- chromedp.ListenTarget(fr.rig.Context(), func(ev any) {
- if e, ok := ev.(*network.EventRequestWillBeSent); ok && e.Type == network.ResourceTypeFetch && strings.Contains(e.Request.URL, "Caladea-") {
+ harness.Listen(fr.rig, fr.rig.Context(), network.RequestWillBeSent, func(e *network.EventRequestWillBeSent) {
+ if e.Type == network.ResourceTypeFetch && strings.Contains(e.Request.URL, "Caladea-") {
select {
case fetching <- struct{}{}:
default:
@@ -1920,14 +1952,14 @@ func TestFontACompositionNeverStartsAWait(t *testing.T) {
var ok bool
fr.eval(t, waitLogJS, &ok)
fr.eval(t, selectInJS("p:last-child", -1, -1), &ok)
- fr.rig.Run(input.ImeSetComposition("にほん", 3, 3), chromedp.Sleep(150*time.Millisecond))
+ fr.rig.Run(command(input.ImeSetComposition, input.ImeSetCompositionParams{Text: "にほん", SelectionStart: 3, SelectionEnd: 3}), chromedp.Sleep(150*time.Millisecond))
// ProseMirror ignores a paste during a composition; a drop it takes.
fr.eval(t, `(() => { const el = document.querySelector('[docs-text]');
const d = new DataTransfer(); d.setData('text/html', '<p style="font-family: Caveat">DROPPED</p>');
const r = el.querySelector('p').getBoundingClientRect();
el.dispatchEvent(new DragEvent('drop', { dataTransfer: d, bubbles: true, cancelable: true, clientX: r.left + 30, clientY: r.top + 8 }));
return true })()`, &ok)
- fr.rig.Run(chromedp.Sleep(150*time.Millisecond), input.InsertText("日本"), chromedp.Sleep(500*time.Millisecond))
+ fr.rig.Run(chromedp.Sleep(150*time.Millisecond), command(input.InsertText, input.InsertTextParams{Text: "日本"}), chromedp.Sleep(500*time.Millisecond))
for _, e := range fr.waitLog(t) {
if e.Inert {
t.Errorf("at %dms a wait began during the composition", e.Ms)
diff --git a/internal/docs/handlers.go b/internal/docs/handlers.go
index a44e270..6a43ce5 100644
--- a/internal/docs/handlers.go
+++ b/internal/docs/handlers.go
@@ -22,6 +22,7 @@ import (
estilomenu "amadan.net/oficina/estilo.git/menu"
"amadan.net/oficina/estilo.git/savestatus"
"amadan.net/rastrillo/rastrillo"
+ rauth "amadan.net/rastrillo/rastrillo/auth"
"github.com/carlosframework/docs/internal/core"
"github.com/carlosframework/docs/internal/export"
@@ -114,9 +115,18 @@ type handlers struct {
// switcher's "All apps", empty when none is configured.
peek func(*http.Request) (string, bool)
directory string
- // remembered is the page a sign-in in progress will return to
- // (signin_return.go), "/" when none.
- remembered func(*http.Request) string
+ // auth is rastrillo's sign-in plugin: the door reads SigninState from
+ // it and writes PrepareSigninResponse through it (auth.go's signin).
+ auth *rauth.Auth
+ // rememberReturn keeps the page a sign-in began from for the local
+ // landing (signin_return.go, home_return.go): Home's return memory, or
+ // the standalone one.
+ rememberReturn func(http.ResponseWriter, string) bool
+ // returnPath reads that memory back, "/" when it holds nothing.
+ returnPath func(*http.Request) string
+ // homeIssuer is Home's issuer when Home is configured, "" otherwise:
+ // where the signed-out page's Forget chains to (auth.go's forget).
+ homeIssuer string
}
// listPage is GET /'s view data (spec §6.4). Title and the group
diff --git a/internal/docs/home_connect.go b/internal/docs/home_connect.go
index f8ee48a..5583b2a 100644
--- a/internal/docs/home_connect.go
+++ b/internal/docs/home_connect.go
@@ -11,10 +11,13 @@ package docs
// request; the hooks only decide who a Home subject is).
//
// What stays Docs' own, and why:
-// - GET /signin skips the form only for a session the signed-in routes
-// would admit (h.handlers.admitted), not merely one that exists, or a
-// guest whose last share was revoked loops between / and /signin
-// (Astra, #65).
+// - GET /signin and /signin/oficina skip the door only for a session the
+// signed-in routes would admit (h.handlers.admitted), not merely one
+// that exists, or a guest whose last share was revoked loops between /
+// and /signin (Astra, #65).
+// - The sign-in door is Docs' (auth.go's signin), and so is remembering a
+// Home sign-in as Oficina ID (rememberOficina): connect imports no
+// lastsignin.
// - A local sign-in lands on the page it began from (spec §9.4). connect
// lands it on LocalLandingPath, so Docs keeps its own sealed return
// memory (home_return.go) beside connect's and substitutes it there.
@@ -26,7 +29,6 @@ import (
"encoding/base64"
"errors"
"net/http"
- "net/url"
"amadan.net/oficina/home/connect"
"amadan.net/oficina/home/connect/linkstore"
@@ -36,6 +38,7 @@ import (
"amadan.net/rastrillo/rastrillo"
rauth "amadan.net/rastrillo/rastrillo/auth"
"amadan.net/rastrillo/rastrillo/csrf"
+ "amadan.net/rastrillo/rastrillo/lastsignin"
"amadan.net/rastrillo/rastrillo/sessions"
"github.com/carlosframework/docs/internal/docs/principalstore"
"github.com/go-chi/chi/v5"
@@ -69,6 +72,9 @@ type homeRoutes struct {
team *teamRuntime
// handlers is set by mount; render reads it.
handlers *handlers
+ // jar is rastrillo auth's remembered way in (auth.RememberJar), set by
+ // mount: a Home sign-in is remembered here, as Oficina ID.
+ jar *lastsignin.Jar
}
// newHome builds connect's Bridge over Docs' people and sessions. New calls
@@ -97,7 +103,11 @@ func newHome(settings *homeSettings, origin string, db *sql.DB, store *Store, te
Keys: settings.keys, DEK: settings.dek, SessionCookie: h.sessionCookie,
ReadSession: h.readSession,
MintHomeSession: func(w http.ResponseWriter, r *http.Request, s connect.Session) error {
- return sess.SignIn(w, r, sessions.Session{Subject: s.Subject, Method: s.Method, AuthTime: s.AuthTime})
+ if err := sess.SignIn(w, r, sessions.Session{Subject: s.Subject, Method: s.Method, AuthTime: s.AuthTime}); err != nil {
+ return err
+ }
+ h.rememberOficina(w, r)
+ return nil
},
// The native app's session (connect.NativeExchange): the same
// store and cookie name, minted without a cookie and handed back
@@ -132,14 +142,40 @@ func (h *homeRoutes) mount(handlers *handlers, auth *rauth.Auth) error {
LocalLandingPath: "/", Namespace: homeNamespace, Origin: h.origin, Issuer: h.issuer, SessionCookie: h.sessionCookie,
FormPolicy: homeFormPolicy(h.issuer), DEK: h.dek, ReadSession: h.readSession, SignOut: h.sessions.SignOut,
LocalSignin: handlers.signin, Protect: csrf.Protect(h.origin), Render: h.render,
+ ForgetPath: signinForgetPath,
})
if err != nil {
return errHomeConfig
}
- h.routes, h.handlers = routes, handlers
+ h.routes, h.handlers, h.jar = routes, handlers, auth.RememberJar()
return nil
}
+// rememberOficina is the smart door's memory of a Home sign-in, written in
+// MintHomeSession once the session is stored, so it is written only where
+// connect turns a Home sign-in into a session here (a finished exchange,
+// "I'm new here"), never on link, choose, unknown or failed. The record is
+// Oficina ID, with the address of the person connect resolved for this
+// very sign-in (connect.MintedPerson), or none for a Home-only person.
+// Nothing is carried over from the record it replaces: that address could
+// be somebody else's. Remembering is a convenience, and Remember fails
+// silently, so it can never fail the sign-in.
+//
+// Only for a session the signed-in routes admit, asked of the session just
+// minted (admittedAs): connect mints for any linked person, admitted or
+// not, and a record for a refused one would offer Oficina ID again, round
+// a loop of sign-in, refusal and door (Fable on #139, A2).
+func (h *homeRoutes) rememberOficina(w http.ResponseWriter, r *http.Request) {
+ if h.jar == nil || h.handlers == nil || !h.handlers.admitted(h.admittedAs(w, r)) {
+ return
+ }
+ address := ""
+ if p, ok := connect.MintedPerson(r); ok {
+ address = p.Label
+ }
+ h.jar.Remember(w, lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: address})
+}
+
// readSession is the actual cookie-backed session, never a supplied one.
func (h *homeRoutes) readSession(r *http.Request) (*connect.Session, error) {
s, ok := h.sessions.From(r)
@@ -278,10 +314,17 @@ func (h *homeRoutes) render(w http.ResponseWriter, r *http.Request, state, label
h.handlers.render.homeLinkBack(w, r, state, label, back, status)
}
+// mountPublic mounts the sign-in door's three routes (home/connect
+// MIGRATING.md, step 6): /signin is always the door, offering Continue
+// with Oficina ID; /signin/local is the door with email as the one way in,
+// where connect sends people Oficina ID cannot help; /signin/oficina
+// starts the Home exchange. connect hands both door routes to Docs' door
+// (RoutesConfig.LocalSignin, handlers.signin).
func (h *homeRoutes) mountPublic(r chi.Router) {
- r.Get("/signin", h.signin)
+ r.Get(connect.SigninPath, h.admittedOnly(h.routes.SigninDoor))
+ r.Get(connect.SigninLocalPath, h.admittedOnly(h.routes.SigninLocal))
+ r.Get(connect.SigninOficinaPath, h.admittedOnly(h.routes.SigninOficina))
r.Get("/signed-out", h.routes.SignedOut)
- r.Get("/signin/local", h.handlers.signin)
r.Get(localLinkCompletePath, h.localComplete)
r.Get(handoff.StartPath, h.bridge.Start)
r.Post(handoff.CallbackPath, h.bridge.Callback)
@@ -308,44 +351,43 @@ func (h *homeRoutes) mountAccount(r chi.Router) {
r.Post("/account/home/confirm", h.routes.ConfirmPost)
}
-// signin is GET /signin with Home configured.
-func (h *homeRoutes) signin(w http.ResponseWriter, r *http.Request) {
- q, err := url.ParseQuery(r.URL.RawQuery)
- if err != nil {
- h.render(w, r, "failed", "", http.StatusBadRequest)
- return
- }
- // These are outcomes from the existing local email flow. Keep its form
- // available even when the browser already has a Home session.
- if q.Has("sent") || q.Has("err") || q.Has("force") {
- h.handlers.signin(w, r)
- return
- }
- // Already signed in to Docs: straight back, with no form and no new
- // Home exchange (spec §9.2). Admitted, not merely holding a session: a
- // refused identity must be able to reach sign-in, or the guard and
- // this shortcut redirect to each other forever (h.handlers.admitted).
- _, signedIn := h.sessions.From(r)
- if signedIn && h.handlers.admitted(r) {
- alreadySignedIn(w, r)
- return
- }
- path, ok := requestedReturn(r)
- if !ok {
- path = "/"
+// admittedOnly runs connect's SigninDoor or SigninOficina for a browser
+// whose session the signed-in routes would admit, and as signed out for
+// any other. Both take any live session cookie as signed in and send it
+// straight to the page; a session admission refuses (a guest whose last
+// share was revoked, a removed member) would then loop between that page
+// and /signin forever (Astra, #65), so they are not shown that cookie.
+//
+// The door then says why (the refusal, in the screen's app-problem slot,
+// with the email field), and a remembered Oficina ID is forgotten: offered
+// again, it would sign the same refused person in and send them back here.
+// SigninLocal is wrapped too, for the refusals that land there.
+func (h *homeRoutes) admittedOnly(next http.HandlerFunc) http.HandlerFunc {
+ return func(w http.ResponseWriter, r *http.Request) {
+ if _, signedIn := h.sessions.From(r); signedIn && !h.handlers.admitted(r) {
+ r = withRefusal(withoutCookie(r, h.sessionCookie))
+ if rec, res := h.jar.Read(r); res == lastsignin.Valid && rec.Method == lastsignin.MethodFederated {
+ h.jar.Clear(w)
+ }
+ }
+ next(w, r)
}
- if !h.returns.rememberReturn(w, path) {
- h.render(w, r, "failed", "", http.StatusServiceUnavailable)
- return
+}
+
+// admittedAs is r as the session MintHomeSession just set on w would send
+// it: the request's own cookies, with that session's in place of any other.
+func (h *homeRoutes) admittedAs(w http.ResponseWriter, r *http.Request) *http.Request {
+ var minted *http.Cookie
+ for _, c := range (&http.Response{Header: w.Header()}).Cookies() {
+ if c.Name == h.sessionCookie && c.MaxAge >= 0 && c.Value != "" {
+ minted = c
+ }
}
- // connect remembers the page for the link flow and starts the Home
- // exchange. Its own shortcut skips to the page for any live session,
- // which for a session admission refuses is the loop above, so it is
- // not shown that one.
- if signedIn {
- r = withoutCookie(r, h.sessionCookie)
+ probe := withoutCookie(r, h.sessionCookie)
+ if minted != nil {
+ probe.AddCookie(&http.Cookie{Name: minted.Name, Value: minted.Value})
}
- h.routes.Signin(w, r)
+ return probe
}
// localComplete is where a local sign-in lands. connect resumes a link from
@@ -437,7 +479,8 @@ func homeCookie(r *http.Request, name string) (value string, present, valid bool
}
// withoutCookie is r, as seen by a handler that must not see the named
-// cookie. Only Docs' /signin uses it, on connect's Signin.
+// cookie. Only admittedOnly uses it, on connect's SigninDoor and
+// SigninOficina.
func withoutCookie(r *http.Request, name string) *http.Request {
c := r.Clone(r.Context())
c.Header.Del("Cookie")
diff --git a/internal/docs/home_connect_linked_test.go b/internal/docs/home_connect_linked_test.go
index f27f631..296b714 100644
--- a/internal/docs/home_connect_linked_test.go
+++ b/internal/docs/home_connect_linked_test.go
@@ -1,6 +1,7 @@
package docs
import (
+ "html"
"net/http/httptest"
"net/url"
"strings"
@@ -141,9 +142,20 @@ func TestHomeLocalSignInReturnsToTheDeepLink(t *testing.T) {
deep := routerRedirect(t, owner.do("POST", "/documents", "title=Minutes"), "") + "?view=1"
b := f.browser()
signin := routerRedirect(t, b.do("GET", deep, ""), "/signin?return_to="+url.QueryEscape(deep))
- routerRedirect(t, b.do("GET", signin, ""), "/auth/start?return_to="+url.QueryEscape(deep))
+ // /signin is the door now (Home spec 2026-11-19-smart-door.md), and
+ // Continue with Oficina ID carries the deep link to /signin/oficina.
+ door := b.do("GET", signin, "")
+ oficina := "/signin/oficina?return_to=" + url.QueryEscape(deep)
+ if door.Code != 200 || !strings.Contains(door.Body.String(), `href="`+html.EscapeString(oficina)+`"`) {
+ t.Fatalf("the door does not offer Oficina ID with the deep link (%d)", door.Code)
+ }
+ if b.cookies[homeReturnCookie] == nil {
+ t.Fatal("the door did not remember the deep link for the local landing")
+ }
+ routerRedirect(t, b.do("GET", oficina, ""), "/auth/start?return_to="+url.QueryEscape(deep))
if b.cookies[homeReturnCookie] == nil || b.cookies[connectReturnCookie] == nil {
t.Fatal("the deep link was not remembered for both landings")
}
+ b.returnTo = deep // the door's form posts the page it was opened for
b.localSignin(t, "alice@example.com", deep)
}
diff --git a/internal/docs/home_render.go b/internal/docs/home_render.go
index 228a8a4..4b961f7 100644
--- a/internal/docs/home_render.go
+++ b/internal/docs/home_render.go
@@ -46,9 +46,20 @@ func (rd *renderer) homeLinkBack(w http.ResponseWriter, r *http.Request, state,
page.Action = "/signin/local"
page.ActionLabel = rastrillo.T(r, key+"local_action")
case "signedout":
- // The signed-out page (spec §9.2), in the door's words, with Sign
- // in going back through Home when it is configured.
- notice := chrome.SignInNotice{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host)}.SignedOut("/signin")
+ // The signed-out page (spec §9.2), in the door's words: Sign in,
+ // then the quiet "Forget me on this device" (the smart-door spec's
+ // "Signed out"), a POST to rastrillo auth's Forget. With Home
+ // configured the page is connect's SignedOut, which carries that
+ // path (RoutesConfig.ForgetPath) for PageFor, and the form also
+ // asks Docs to go on to Oficina ID's own Forget once this one has
+ // answered (auth.go's forget). Standalone, it is Docs' own path.
+ p := connect.PageFor(r, "signedout", "")
+ forget, chain := p.ForgetAction, []chrome.Hidden{{Name: "chain", Value: oficinaChain}}
+ if forget == "" {
+ forget, chain = signinForgetPath, nil
+ }
+ notice := chrome.SignInNotice{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host)}.
+ SignedOut(p.Action).Forgetting(forget, "", chain...)
page.SignedOut, page.Title = &notice, notice.Page()
case "choose":
// A roster member with no account here yet (Home spec
diff --git a/internal/docs/home_router_integration_test.go b/internal/docs/home_router_integration_test.go
index 278b4c1..fa90ee9 100644
--- a/internal/docs/home_router_integration_test.go
+++ b/internal/docs/home_router_integration_test.go
@@ -28,6 +28,9 @@ type routerHomeFixture struct {
type routerBrowser struct {
f *routerHomeFixture
cookies map[string]*http.Cookie
+ // returnTo is posted with the local sign-in form, as the door's form
+ // posts the page it was opened for.
+ returnTo string
}
func newRouterHomeFixture(t *testing.T) *routerHomeFixture {
@@ -104,7 +107,11 @@ func (b *routerBrowser) localLink(t *testing.T, address string) string {
b.f.app.mailRecorder.mu.Lock()
before := b.f.app.mailRecorder.sends
b.f.app.mailRecorder.mu.Unlock()
- rec := b.do("POST", "/signin", url.Values{"address": {address}, "force": {"1"}}.Encode())
+ form := url.Values{"address": {address}, "force": {"1"}}
+ if b.returnTo != "" {
+ form.Set("return_to", b.returnTo)
+ }
+ rec := b.do("POST", "/signin", form.Encode())
if rec.Code != 303 || !strings.Contains(rec.Header().Get("Location"), "sent=1") {
t.Fatal("local mail begin failed", rec.Code)
}
@@ -263,7 +270,11 @@ func TestHomeRouterExistingAccountRoundTripPreservesOwnedAndSharedContent(t *tes
if err != nil || parsed.Path != "/signin" || parsed.Query().Get("return_to") != resource {
t.Fatal("unsigned document lost original destination")
}
- start := routerRedirect(t, b.do("GET", signin, ""), "")
+ // The door, then Continue with Oficina ID, which keeps the resource.
+ if door := b.do("GET", signin, ""); door.Code != 200 {
+ t.Fatal("the door did not render", door.Code)
+ }
+ start := routerRedirect(t, b.do("GET", "/signin/oficina?return_to="+url.QueryEscape(resource), ""), "")
nonce := b.start(t, start, "")
unknown := b.exchange(t, nonce, "opaque-alice", time.Now().Add(-time.Hour))
if unknown.Code != 403 || !strings.Contains(unknown.Body.String(), "/signin/local") {
@@ -308,8 +319,8 @@ func TestHomeRouterExistingAccountRoundTripPreservesOwnedAndSharedContent(t *tes
if oldRec.Code != 303 {
t.Fatal("actual signout did not revoke old session")
}
- signin = routerRedirect(t, b.do("GET", resource, ""), "")
- start = routerRedirect(t, b.do("GET", signin, ""), "")
+ routerRedirect(t, b.do("GET", resource, ""), "")
+ start = routerRedirect(t, b.do("GET", "/signin/oficina?return_to="+url.QueryEscape(resource), ""), "")
nonce = b.start(t, start, "")
originalAuth := time.Now().Add(-2 * time.Hour).Truncate(time.Second)
routerRedirect(t, b.exchange(t, nonce, "opaque-alice", originalAuth), resource)
@@ -441,11 +452,11 @@ func TestHomeRouterStaleLocalGestureRestartsWithoutResumingProof(t *testing.T) {
if _, err := f.app.db.Writer().Exec(`UPDATE sessions SET created_at=? WHERE token_hash=?`, time.Now().Add(-6*time.Minute).UTC().Format(time.RFC3339), sessions.HashToken(oldSession.Value)); err != nil {
t.Fatal(err)
}
- routerRedirect(t, b.do("GET", "/account/home", ""), "/signin/local")
+ routerRedirect(t, b.do("GET", "/account/home", ""), "/signin/local?reauth=1")
if b.cookies[localLinkNavigationCookie] == nil || b.cookies[homeInitCookie] != nil || b.cookies[homeProofCookie] != nil {
t.Fatal("stale local restart retained link browser proof")
}
- if rec := b.do("GET", "/signin/local", ""); rec.Code != 200 {
+ if rec := b.do("GET", "/signin/local?reauth=1", ""); rec.Code != 200 {
t.Fatal("signed-in stale visitor could not see local signin")
}
path := b.localLink(t, "alice@example.com")
diff --git a/internal/docs/render.go b/internal/docs/render.go
index 5786c5d..eda33ae 100644
--- a/internal/docs/render.go
+++ b/internal/docs/render.go
@@ -6,9 +6,11 @@ import (
"bytes"
"embed"
"fmt"
+ "html"
"html/template"
"io/fs"
"net/http"
+ "strings"
"testing/fstest"
"amadan.net/oficina/estilo.git/base"
@@ -406,31 +408,14 @@ var Catalog = rastrillo.Catalog{
"docs.import.report.line_break_split": "Line breaks became new paragraphs: {count}.",
"docs.import.report.page_break_split": "Page and column breaks became new paragraphs: {count}.",
- // docs.signin.* — GET /signin (auth.go's signin handler): the
- // form itself, and every outcome rastrillo/auth's own handlers
- // redirect back here with (?sent=1,
- // ?err=rate|address|expired|keymail|1). docs.signin.error.unknown
- // is that switch's own default: branch (fix round 1 on Task 3):
- // every one of these outcomes means the same operational thing on
- // this one page — sign-in did not complete, ask for a new link —
- // so its fallback must not borrow docs.error.generic ("Something
- // went wrong."), an app-wide string written for a render failure
- // with nowhere else to land, not for this page's own normal,
- // recoverable outcomes. See auth.go's signin handler for why no
- // finer distinction between ?err=keymail and ?err=1 is drawn
- // either (rastrillo/auth's own handlers already refuse to be an
- // oracle between "wrong" and "unknown").
- //
- // The door's own words (heading, label, help, submit, the sent state
- // and the signed-out page) are estilo's chrome.English, not keys here:
- // one copy set for the suite. What stays is this app's: the outcome
- // errors, and the Keymail continuation's button.
- "docs.signin.keymail": "Continue to Keymail",
- "docs.signin.error.rate": "Too many attempts. Wait a few minutes, then try again.",
- "docs.signin.error.address": "That doesn’t look like an email address.",
- "docs.signin.error.expired": "That link has expired or was already used. Enter your email to get a new one.",
- "docs.signin.error.unknown": "We couldn’t sign you in. Enter your email to get a new link.",
- "docs.signin.error.refused": "That address can’t sign in to Docs. Use a different address, or ask whoever runs this team to add it.",
+ // docs.signin.* — the sign-in door (auth.go's signin). The door's own
+ // words, every outcome rastrillo's handlers redirect back with
+ // (?sent=1, ?err=rate|address|expired|keymail|1) and the Keymail
+ // continuation are rastrillo's sign-in screen copy
+ // (rastrillo.ui.signin_*), and the signed-out page is estilo's
+ // chrome.English. What stays is what only Docs knows: the refusal
+ // (Config.Refused, the screen's app-problem slot).
+ "docs.signin.error.refused": "That email can’t sign in to Docs. Use a different email, or ask whoever runs this team to add it.",
// docs.signout.label is the sign-out control's text — both its
// button label and its accessible name. It lives in the shell
@@ -789,6 +774,19 @@ func (rd *renderer) pageStatus(w http.ResponseWriter, r *http.Request, name stri
return writeGuardedBody(w, r, status, buf.Bytes())
}
+// signinTitle is the sign-in door's <title>: estilo's
+// estilo-signin-screen-title, which is rastrillo's signin-title for the
+// same state, so the tab and the heading always say the same thing. The
+// template writes escaped text, and the layout escapes the title again,
+// so it is unescaped here.
+func (rd *renderer) signinTitle(screen chrome.SignInScreen) (string, error) {
+ title, err := rd.fragment("signin", "estilo-signin-screen-title", screen)
+ if err != nil {
+ return "", err
+ }
+ return strings.TrimSpace(html.UnescapeString(string(title))), nil
+}
+
// fragment renders one named template of a page's set into markup the
// page's data carries on: the editor's menu bar and undo/redo pair go into
// estilo's bar slots (chrome.Bar.Menubar and Lead), which take trusted
diff --git a/internal/docs/signin_browser_test.go b/internal/docs/signin_browser_test.go
new file mode 100644
index 0000000..470dd3e
--- /dev/null
+++ b/internal/docs/signin_browser_test.go
@@ -0,0 +1,198 @@
+//go:build browser
+
+package docs
+
+// The smart door in a real Chromium, served through rastrillo's production
+// middleware with Home configured, so the door offers Continue with Oficina
+// ID. Every state, the widest included (a long remembered address, Keymail,
+// the confirm step, the Keymail continuation, a refusal), reflows at 320px
+// (WCAG 1.4.10), every control on the card is a 24px target on its smaller
+// axis (2.5.8), and the Oficina ID button draws its glyph. The page is put
+// in the light scheme through the DevTools protocol, whatever the machine's.
+//
+// CGO_ENABLED=0 go test -tags browser -run SmartDoorInABrowser ./internal/docs/
+//
+// DOCS_SIGNIN_SHOTS=<dir> also writes a screenshot of each state there.
+
+import (
+ "context"
+ "net/http"
+ "net/http/httptest"
+ "net/url"
+ "os"
+ "path/filepath"
+ "strings"
+ "sync"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/estilo.git/brand"
+ "amadan.net/oficina/estilo.git/chrome"
+ "amadan.net/oficina/estilo.git/sky"
+ "amadan.net/rastrillo/rastrillo"
+ rauth "amadan.net/rastrillo/rastrillo/auth"
+ "amadan.net/rastrillo/rastrillo/harness"
+ "amadan.net/rastrillo/rastrillo/lastsignin"
+ "amadan.net/rastrillo/rastrillo/sessions"
+ "github.com/chromedp/cdproto/cdp"
+ "github.com/chromedp/cdproto/emulation"
+ "github.com/chromedp/chromedp"
+)
+
+// continuePreviewPath draws the Keymail continuation in preview (no meta
+// refresh, the link goes nowhere), so its layout can be measured without a
+// Keymail server.
+const continuePreviewPath = "/__test/continue"
+
+func TestSmartDoorInABrowser(t *testing.T) {
+ host := strings.TrimPrefix(bridgeOrigin, "https://")
+ var (
+ f *routerHomeFixture
+ mu sync.Mutex
+ inject []*http.Cookie
+ )
+ rig := harness.New(t, func(origin string) http.Handler {
+ f = newRouterHomeFixture(t)
+ served, done, err := rastrillo.Handler(ServeOptions(rastrillo.Options{}, f.app))
+ if err != nil {
+ t.Fatalf("rastrillo.Handler: %v", err)
+ }
+ if done != nil {
+ t.Cleanup(func() { _ = done() })
+ }
+ // connect answers only its own origin's host; the browser is on
+ // the rig's. The case's cookies are added here, since the
+ // remembered and session cookies are __Host- and Secure.
+ return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ r.Host = host
+ mu.Lock()
+ for _, c := range inject {
+ r.AddCookie(c)
+ }
+ mu.Unlock()
+ if r.URL.Path == continuePreviewPath {
+ h := f.app.handlers
+ st := rauth.SigninState{Step: rauth.StepContinue, ContinueURL: "https://keymail.example.com/oauth/authorize"}
+ data := signinPage{Screen: chrome.SignInScreen{Icon: brand.Path("docs"), App: "Docs", Sky: sky.For(r.Host), State: st, Preview: true}}
+ title, _ := h.render.signinTitle(data.Screen)
+ data.Frame = h.frame(r, frameOptions{title: title, signinPage: true})
+ _ = h.render.page(w, r, "signin", data)
+ return
+ }
+ served.ServeHTTP(w, r)
+ })
+ })
+ remembered := func(rec lastsignin.Record) []*http.Cookie {
+ w := httptest.NewRecorder()
+ f.app.handlers.auth.RememberJar().Remember(w, rec)
+ return w.Result().Cookies()
+ }
+ long := "someone.with.a.rather.long.name@a-team-with-a-long-domain.example.com"
+ refused, err := f.sessions.Mint(sessions.Session{Subject: "nobody-here@example.com", Method: "magiclink", AuthTime: time.Now()})
+ if err != nil {
+ t.Fatal(err)
+ }
+ confirm := f.browser().localLink(t, "alice@example.com")
+
+ type measure struct {
+ Light, Door bool
+ Overflow int
+ Small []string
+ GlyphW, GlyphH float64
+ Heading string
+ }
+ const script = `(() => {
+ const card = document.querySelector('[estilo-signin]');
+ const small = [];
+ for (const el of card ? card.querySelectorAll('a, button, input:not([type=hidden])') : []) {
+ const r = el.getBoundingClientRect();
+ if (Math.min(r.width, r.height) < 24) small.push(el.outerHTML.slice(0, 80) + ' ' + r.width + 'x' + r.height);
+ }
+ const glyph = card && card.querySelector('a[href^="/signin/oficina"] svg');
+ const g = glyph ? glyph.getBoundingClientRect() : {width: 0, height: 0};
+ const h = card && card.querySelector('h1');
+ return {
+ Light: matchMedia('(prefers-color-scheme: light)').matches,
+ Door: !!card,
+ Overflow: document.documentElement.scrollWidth - innerWidth,
+ Small: small,
+ GlyphW: g.width, GlyphH: g.height,
+ Heading: h ? h.textContent : '',
+ };
+ })()`
+ light := chromedp.Func(func(ctx context.Context, target *chromedp.Target) error {
+ _, err := cdp.Call(ctx, target, emulation.SetEmulatedMedia, emulation.SetEmulatedMediaParams{
+ Features: []*emulation.MediaFeature{{Name: "prefers-color-scheme", Value: "light"}},
+ })
+ return err
+ })
+ shots := os.Getenv("DOCS_SIGNIN_SHOTS")
+ for _, c := range []struct {
+ name, path, heading string
+ cookies []*http.Cookie
+ glyph bool
+ }{
+ {name: "first visit", path: "/signin", heading: "Sign in to Docs", glyph: true},
+ {name: "from a page", path: "/signin?return_to=" + url.QueryEscape("/d/abc"), heading: "Sign in to Docs", glyph: true},
+ {name: "other ways", path: "/signin?ways=1", heading: "Other ways to sign in"},
+ {name: "other ways remembered", path: "/signin?ways=1&way=oficina", heading: "Other ways to sign in",
+ cookies: remembered(lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: long})},
+ {name: "email", path: "/signin?way=email", heading: "Sign in to Docs"},
+ {name: "continue as", path: "/signin", heading: "Sign in to Docs",
+ cookies: remembered(lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: long})},
+ {name: "keymail", path: "/signin", heading: "Sign in to Docs",
+ cookies: remembered(lastsignin.Record{Method: lastsignin.MethodKeymail, Address: long})},
+ {name: "email only", path: "/signin/local", heading: "Sign in to Docs"},
+ {name: "problem", path: "/signin?err=rate", heading: "Sign in to Docs"},
+ {name: "refusal", path: "/signin", heading: "Sign in to Docs",
+ cookies: append(remembered(lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: long}),
+ &http.Cookie{Name: f.sessions.CookieName(), Value: refused})},
+ {name: "step-up", path: "/signin?reauth=1", heading: "Sign in to Docs"},
+ {name: "sent", path: "/signin?sent=1", heading: "Check your email"},
+ {name: "confirm", path: confirm, heading: "Sign in to Docs"},
+ {name: "continuation", path: continuePreviewPath, heading: "Taking you to Keymail"},
+ {name: "signed out", path: "/signed-out", heading: "You’re signed out"},
+ } {
+ mu.Lock()
+ inject = c.cookies
+ mu.Unlock()
+ for _, width := range []int64{320, 1280} {
+ ctx, cancel := context.WithTimeout(rig.Context(), 30*time.Second)
+ var m measure
+ err := chromedp.Do(ctx,
+ light,
+ chromedp.EmulateViewport(width, 900),
+ chromedp.Navigate(rig.Origin+c.path),
+ chromedp.WaitVisible(chromedp.CSS("[estilo-signin] h1")),
+ harness.Into(&m, chromedp.Evaluate[measure](script)),
+ )
+ if err == nil && shots != "" {
+ var shot []byte
+ shot, err = chromedp.Run(ctx, chromedp.CaptureScreenshot())
+ if err == nil {
+ name := strings.ReplaceAll(c.name, " ", "-") + "-" + map[int64]string{320: "phone", 1280: "desk"}[width] + ".png"
+ err = os.WriteFile(filepath.Join(shots, name), shot, 0o644)
+ }
+ }
+ cancel()
+ if err != nil {
+ t.Fatalf("%s at %dpx: %v", c.name, width, err)
+ }
+ if !m.Light {
+ t.Fatal("the page is not in the light scheme")
+ }
+ if !m.Door || m.Heading != c.heading {
+ t.Errorf("%s at %dpx: door=%v heading %q, want %q", c.name, width, m.Door, m.Heading, c.heading)
+ }
+ if m.Overflow > 0 {
+ t.Errorf("%s at %dpx scrolls sideways by %dpx", c.name, width, m.Overflow)
+ }
+ if len(m.Small) > 0 {
+ t.Errorf("%s at %dpx: targets under 24px: %q", c.name, width, m.Small)
+ }
+ if c.glyph && (m.GlyphW < 12 || m.GlyphH < 12) {
+ t.Errorf("%s at %dpx: the Oficina glyph is %vx%v", c.name, width, m.GlyphW, m.GlyphH)
+ }
+ }
+ }
+}
diff --git a/internal/docs/signin_confirm_test.go b/internal/docs/signin_confirm_test.go
index 2f09ec8..3fdbd3d 100644
--- a/internal/docs/signin_confirm_test.go
+++ b/internal/docs/signin_confirm_test.go
@@ -40,10 +40,10 @@ func readConfirmDoor(t *testing.T, rec *httptest.ResponseRecorder) confirmDoor {
}
}
// The app's chrome: the door (estilo), Docs' own mark and name, the
- // shell's bar. Not rastrillo's plain English fallback page.
- // (Tests run without the catalog loaded, so the app's own name in the
- // tab title is its key; the door's words are estilo's English.)
- for _, want := range []string{"estilo-door", "estilo-signin", "<span>Docs</span>", "estilo-bar", "<title>Sign in · ", "<h1>Sign in</h1>"} {
+ // shell's bar, and rastrillo's sign-in screen inside it (the smart
+ // door), whose title and heading say the same thing. Not rastrillo's
+ // plain English fallback page.
+ for _, want := range []string{"estilo-door", "estilo-signin-screen", "<span>Docs</span>", "estilo-bar", "<title>Sign in to Docs</title>", `<h1 id="rst-signin-heading">Sign in to Docs</h1>`} {
if !strings.Contains(body, want) {
t.Errorf("confirm page lacks %q: not Docs' sign-in door", want)
}
diff --git a/internal/docs/signin_door_test.go b/internal/docs/signin_door_test.go
index 1b87d6c..f609a7c 100644
--- a/internal/docs/signin_door_test.go
+++ b/internal/docs/signin_door_test.go
@@ -32,7 +32,7 @@ func TestSignInPageIsTheDoor(t *testing.T) {
if !regexp.MustCompile(`<img estilo-sky-layer="placeholder"[^>]*src="data:image/png;base64,`).MatchString(body) {
t.Error("sign-in page has no inline sky placeholder")
}
- layer := regexp.MustCompile(`<img estilo-sky-layer="[a-z]+"[^>]*src="(/static/estilo/sky/v1/[^"]+)"`).FindStringSubmatch(body)
+ layer := regexp.MustCompile(`<img estilo-sky-layer="[a-z]+"[^>]*src="(/static/estilo/sky/v[0-9]+/[^"]+)"`).FindStringSubmatch(body)
if layer == nil {
t.Fatal("sign-in page links no served sky layer")
}
@@ -44,10 +44,12 @@ func TestSignInPageIsTheDoor(t *testing.T) {
}
}
-// The door's words are the suite's, with this app's English catalog
-// wired the way cmd/docs/main.go wires it: the submit reads "Sign in"
-// (Paul, 2026-10-01, never "Email me a link"), the help and sent copy are
-// the door's one set, and the three tab titles are "<Page> · Docs".
+// The door's words, with this app's English catalog wired the way
+// cmd/docs/main.go wires it. The door itself is rastrillo's sign-in screen
+// (the smart door, Home spec 2026-11-19-smart-door.md), in its approved
+// copy: the email field's submit is "Continue", the tab title says what
+// the heading says, and Sent keeps "Use a different email". The signed-out
+// page is estilo's, with "Forget me on this device" under Sign in.
func TestSignInDoorCopyIsTheSuites(t *testing.T) {
app, err := NewForTest(t)
if err != nil {
@@ -79,20 +81,27 @@ func TestSignInDoorCopyIsTheSuites(t *testing.T) {
path, title string
want []string
}{
- {"/signin", "Sign in · Docs", []string{
- `>Sign in</button>`,
- "We’ll email you a link that signs you in. It works once and expires in 15 minutes.",
+ {"/signin", "Sign in to Docs", []string{
+ `<h1 id="rst-signin-heading">Sign in to Docs</h1>`,
+ `>Email</label>`,
+ `>Continue</button>`,
}},
- {"/signin?sent=1", "Check your email · Docs", []string{
- "If that address can sign in here, we’ve sent it a link. It works once and expires in 15 minutes.",
- `>Use a different address</a>`,
+ {"/signin?sent=1", "Check your email to sign in to Docs", []string{
+ "We sent a link to your inbox. The link works once and expires soon.",
+ "<span>Use a different email</span>",
}},
{"/signed-out", "Signed out · Docs", []string{
"You’re signed out",
"You’ve signed out of Docs on this device.",
`href="/signin">Sign in</a>`,
+ `action="/signin/forget"`,
+ ">Forget me on this device</button>",
}},
}
+ // The refusal, in the app-problem slot (copy review #3, Paul).
+ if got, want := Catalog["docs.signin.error.refused"], "That email can’t sign in to Docs. Use a different email, or ask whoever runs this team to add it."; got != want {
+ t.Errorf("refusal = %q, want %q", got, want)
+ }
for _, c := range cases {
body := GET(c.path)
if got := title(body); got != c.title {
diff --git a/internal/docs/signin_loop_test.go b/internal/docs/signin_loop_test.go
index cc7d4c1..8dc58a9 100644
--- a/internal/docs/signin_loop_test.go
+++ b/internal/docs/signin_loop_test.go
@@ -1,8 +1,10 @@
package docs
import (
+ "html"
"net/http"
"net/http/httptest"
+ "net/url"
"regexp"
"strings"
"testing"
@@ -91,14 +93,16 @@ func TestARevokedGuestIsNotBouncedBetweenTheListAndSignIn(t *testing.T) {
if signin.Code != http.StatusOK {
t.Fatalf("GET %s: %d to %q — the list and sign-in redirect to each other", list.Header().Get("Location"), signin.Code, signin.Header().Get("Location"))
}
- if !strings.Contains(signin.Body.String(), `<form rst-form estilo-signin-form`) {
+ if !strings.Contains(signin.Body.String(), `<form rst-signin-form method="post" action="/signin"`) {
t.Fatal("the revoked guest is not offered a way to sign in as someone else")
}
}
// Review finding (Astra, #65): "Use a different address" on the sent page
// went to a bare /signin, which a fresh start treats as "remember the
-// list", so the deep link was lost. The retry keeps the remembered page.
+// list", so the deep link was lost. The retry keeps the remembered page:
+// on the smart door it is "Use a different email", a POST to Forget that
+// carries return_to back to the door.
func TestUseADifferentAddressKeepsTheDeepLink(t *testing.T) {
app, _ := NewForTest(t)
owner := newBrowser(t, app)
@@ -108,16 +112,25 @@ func TestUseADifferentAddressKeepsTheDeepLink(t *testing.T) {
b := newBrowser(t, app)
signin := b.do("GET", deep, "").Header().Get("Location")
- b.do("GET", signin, "")
- sent := b.do("POST", "/signin", "address=typo@example.com")
+ door := b.do("GET", signin, "")
+ if !strings.Contains(door.Body.String(), `name="return_to" value="`+html.EscapeString(deep)+`"`) {
+ t.Fatalf("the door's form does not post the deep link %q", deep)
+ }
+ sent := b.do("POST", "/signin", url.Values{"address": {"typo@example.com"}, "return_to": {deep}}.Encode())
sentPage := b.do("GET", sent.Header().Get("Location"), "")
- m := regexp.MustCompile(`<p><a href="([^"]+)">Use a different address</a></p>`).FindStringSubmatch(sentPage.Body.String())
- if m == nil {
- t.Fatalf("no \"Use a different address\" link on the sent page (%d)", sentPage.Code)
+ m := regexp.MustCompile(`(?s)<form rst-signin-form method="post" action="(/signin/forget)">(.*?)</form>`).FindStringSubmatch(sentPage.Body.String())
+ if m == nil || !strings.Contains(m[2], "Use a different email") {
+ t.Fatalf("no \"Use a different email\" on the sent page (%d)", sentPage.Code)
+ }
+ if !strings.Contains(m[2], `name="return_to" value="`+html.EscapeString(deep)+`"`) {
+ t.Fatalf("\"Use a different email\" does not keep the deep link: %s", m[2])
+ }
+ again := b.do("POST", m[1], url.Values{"return_to": {deep}}.Encode())
+ if again.Code != http.StatusSeeOther {
+ t.Fatalf("POST %s: %d", m[1], again.Code)
}
- again := strings.ReplaceAll(m[1], "&amp;", "&")
- if rec := b.do("GET", again, ""); rec.Code != http.StatusOK {
- t.Fatalf("GET %s: %d", again, rec.Code)
+ if rec := b.do("GET", again.Header().Get("Location"), ""); rec.Code != http.StatusOK {
+ t.Fatalf("GET %s: %d", again.Header().Get("Location"), rec.Code)
}
// The right address this time, in the same browser.
link, err := app.TestSignIn(t, "alice@example.com")
@@ -128,7 +141,7 @@ func TestUseADifferentAddressKeepsTheDeepLink(t *testing.T) {
b.do("POST", verifyPath, verifyForm)
landed := b.do("GET", localLinkCompletePath, "")
if landed.Header().Get("Location") != deep {
- t.Fatalf("after \"Use a different address\" (%s) the sign-in landed on %q, want %q", again, landed.Header().Get("Location"), deep)
+ t.Fatalf("after \"Use a different email\" the sign-in landed on %q, want %q", landed.Header().Get("Location"), deep)
}
}
@@ -159,4 +172,13 @@ func TestARevokedGuestIsNotBouncedThroughHomeSignIn(t *testing.T) {
if next.Code == http.StatusSeeOther && next.Header().Get("Location") == "/" {
t.Fatal("Home's /signin sent a refused session straight back to / — the two redirect to each other")
}
+ // The door, saying why: the refusal in the app-problem slot, with the
+ // email field rather than carol's one-tap.
+ if body := next.Body.String(); next.Code != http.StatusOK || !strings.Contains(body, `id="rst-signin-app-problem"`) || !strings.Contains(body, "docs.signin.error.refused") || !strings.Contains(body, `id="rst-signin-email" name="address"`) || strings.Contains(body, "Continue as") {
+ t.Fatalf("a refused session is not shown the door with the refusal: %d\n%s", next.Code, body)
+ }
+ // Continue with Oficina ID has the same shortcut, and the same check.
+ if rec := carol.do("GET", "/signin/oficina", ""); rec.Code == http.StatusSeeOther && rec.Header().Get("Location") == "/" {
+ t.Fatal("/signin/oficina sent a refused session straight back to /")
+ }
}
diff --git a/internal/docs/signin_return.go b/internal/docs/signin_return.go
index c4d6427..58359a6 100644
--- a/internal/docs/signin_return.go
+++ b/internal/docs/signin_return.go
@@ -68,11 +68,14 @@ func requestedReturn(r *http.Request) (string, bool) {
return values[0], true
}
-// signinOutcome reports whether GET /signin is showing an outcome of the
-// email flow (?sent, ?err, ?force) rather than starting one.
+// signinOutcome reports whether GET /signin names a state of the door
+// rather than opening it afresh: an outcome of the email flow (?sent,
+// ?err, ?force), the Keymail continuation (?continue) or a step-up
+// (?reauth). connect's SigninDoor draws the same five for a signed-in
+// browser too (its doorStates), and so does standalone Docs.
func signinOutcome(r *http.Request) bool {
q := r.URL.Query()
- return q.Has("sent") || q.Has("err") || q.Has("force")
+ return q.Has("sent") || q.Has("err") || q.Has("force") || q.Has("continue") || q.Has("reauth")
}
// alreadySignedIn sends a signed-in GET /signin back where it came
@@ -107,28 +110,21 @@ func (h *handlers) admitted(r *http.Request) bool {
}
// standaloneSignin is GET /signin without Home: already signed in (and
-// admitted) goes back; a return_to is remembered for the landing; then
-// the form.
-func (h *handlers) standaloneSignin(n *returnMemory) http.HandlerFunc {
- return func(w http.ResponseWriter, r *http.Request) {
- if !signinOutcome(r) && h.admitted(r) {
+// admitted) goes back; otherwise the door, which remembers a return_to
+// for the landing (auth.go's rememberSigninReturn).
+//
+// A session admission refuses gets the door with the refusal, as with Home
+// (admittedOnly).
+func (h *handlers) standaloneSignin(w http.ResponseWriter, r *http.Request) {
+ if _, signedIn := h.peek(r); signedIn {
+ if !h.admitted(r) {
+ r = withRefusal(r)
+ } else if !signinOutcome(r) {
alreadySignedIn(w, r)
return
}
- // Starting a sign-in remembers where to come back to, and a plain
- // /signin remembers the list: a page remembered by an earlier,
- // abandoned attempt must not win over the one being made now. The
- // email flow's own outcomes (?sent, ?err) leave it alone. Home's
- // /signin does the same (home_connect.go).
- if !signinOutcome(r) {
- path, ok := requestedReturn(r)
- if !ok {
- path = "/"
- }
- n.rememberReturn(w, path)
- }
- h.signin(w, r)
}
+ h.signin(w, r)
}
// completeStandalone is the standalone SignedInPath: land on the
diff --git a/internal/docs/signin_smart_door_test.go b/internal/docs/signin_smart_door_test.go
new file mode 100644
index 0000000..1fe9878
--- /dev/null
+++ b/internal/docs/signin_smart_door_test.go
@@ -0,0 +1,649 @@
+package docs
+
+// The smart door (Home spec 2026-11-19-smart-door.md, step 6; home/connect
+// MIGRATING.md): every route and state the door answers, remembering
+// Oficina ID in MintHomeSession, and the signed-out page's Forget, chained
+// to Oficina ID's own.
+
+import (
+ "fmt"
+ "html"
+ "net/http"
+ "net/http/httptest"
+ "net/url"
+ "regexp"
+ "strings"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/estilo.git/chrome"
+ "amadan.net/rastrillo/rastrillo/lastsignin"
+)
+
+// remember gives the browser a remembered way in, sealed by Docs' own jar,
+// as rastrillo would have after a sign-in.
+func (b *routerBrowser) remember(t *testing.T, rec lastsignin.Record) {
+ t.Helper()
+ w := httptest.NewRecorder()
+ b.f.app.handlers.auth.RememberJar().Remember(w, rec)
+ cookies := w.Result().Cookies()
+ if len(cookies) != 1 {
+ t.Fatalf("the jar refused %+v", rec)
+ }
+ b.cookies[cookies[0].Name] = cookies[0]
+}
+
+// remembered is the browser's remembered way in, read by Docs' own jar.
+func (b *routerBrowser) remembered(t *testing.T) (lastsignin.Record, lastsignin.ReadResult) {
+ t.Helper()
+ return b.f.app.handlers.auth.RememberJar().Read(b.request("GET", "/", ""))
+}
+
+// door is the sign-in card's own content: rastrillo's section inside
+// estilo-signin-screen, unescaped.
+func door(t *testing.T, body string) string {
+ t.Helper()
+ start := strings.Index(body, "<div estilo-signin-screen>")
+ if start < 0 {
+ t.Fatalf("no estilo-signin-screen:\n%s", body)
+ }
+ end := strings.Index(body[start:], "</section>")
+ return html.UnescapeString(body[start : start+end])
+}
+
+var (
+ oficinaButton = "Continue with Oficina ID"
+ otherWays = "Other ways to sign in"
+ emailField = `name="address" required`
+)
+
+func TestSmartDoorStatesWithHome(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ glyph := string(chrome.OficinaGlyph)
+ cases := []struct {
+ name, path string
+ record *lastsignin.Record
+ want, not []string
+ title string
+ }{
+ {name: "first visit", path: "/signin",
+ want: []string{oficinaButton, `href="/signin/oficina"`, glyph, otherWays, `href="/signin?way=oficina&ways=1"`},
+ not: []string{emailField, "Continue as", "Use a different email"},
+ title: "Sign in to Docs"},
+ {name: "first visit from a page", path: "/signin?return_to=%2Fd%2Fabc",
+ want: []string{`href="/signin/oficina?return_to=%2Fd%2Fabc"`, `href="/signin?return_to=%2Fd%2Fabc&way=oficina&ways=1"`}},
+ {name: "local: email is the one way", path: "/signin/local",
+ want: []string{emailField, ">Continue</button>"},
+ not: []string{"Oficina ID", "/signin/oficina", otherWays}},
+ {name: "step-up: local ways only", path: "/signin?reauth=1",
+ want: []string{emailField, "Sign in again to continue."},
+ not: []string{"Oficina ID", "/signin/oficina"}},
+ {name: "step-up remembered Oficina ID", path: "/signin?reauth=1",
+ record: &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"},
+ want: []string{"Continue as <bdi>alice@example.com</bdi>", "Sign in again to continue."},
+ not: []string{"Oficina ID", "/signin/oficina"}},
+ {name: "chooser", path: "/signin?ways=1",
+ want: []string{"<h1 id=\"rst-signin-heading\">Other ways to sign in</h1>", `href="/signin?way=email"`, ">Email</span>", ">Back</span>"},
+ not: []string{oficinaButton, emailField},
+ title: "Other ways to sign in to Docs"},
+ {name: "email chosen", path: "/signin?way=email",
+ want: []string{emailField, otherWays},
+ not: []string{oficinaButton}},
+ {name: "Oficina ID remembered", path: "/signin",
+ record: &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"},
+ want: []string{oficinaButton, otherWays},
+ // Never captioned with an address.
+ not: []string{"alice@example.com", emailField}},
+ {name: "Oficina ID remembered: the chooser", path: "/signin?ways=1&way=oficina",
+ record: &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"},
+ want: []string{">Email <bdi>alice@example.com</bdi></span>", "Use a different email", ">Back</span>"},
+ not: []string{oficinaButton}},
+ {name: "Oficina ID remembered for a Home-only person", path: "/signin?ways=1&way=oficina",
+ record: &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina},
+ want: []string{">Email</span>"},
+ not: []string{"<bdi>"}},
+ {name: "email link remembered", path: "/signin",
+ record: &lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"},
+ want: []string{"Continue as <bdi>bob@example.com</bdi>", `name="address" value="bob@example.com"`, otherWays},
+ not: []string{oficinaButton}},
+ {name: "email link remembered: the chooser", path: "/signin?ways=1&way=email",
+ record: &lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"},
+ want: []string{glyph + "<span>Oficina ID</span>", `href="/signin?way=oficina"`, "Use a different email"},
+ not: []string{">Email</span>"}},
+ {name: "Keymail remembered", path: "/signin",
+ record: &lastsignin.Record{Method: lastsignin.MethodKeymail, Address: "bob@example.com"},
+ want: []string{"Continue to Keymail", `name="expect" value="keymail"`, "as <bdi>bob@example.com</bdi>", otherWays}},
+ {name: "problem", path: "/signin?err=rate",
+ record: &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina},
+ want: []string{"Too many tries. Try again in a few minutes.", emailField},
+ not: []string{oficinaButton},
+ title: "Problem signing in to Docs"},
+ {name: "a failed Keymail keeps force", path: "/signin?err=keymail&force=1",
+ want: []string{"Keymail couldn't confirm it's you.", `name="force" value="1"`, "Send me a link instead"}},
+ {name: "sent", path: "/signin?sent=1",
+ want: []string{"Check your email", "We sent a link to your inbox.", "Use a different email"},
+ not: []string{oficinaButton, emailField},
+ title: "Check your email to sign in to Docs"},
+ {name: "an unknown way is the remembered one", path: "/signin?way=nonsense",
+ want: []string{oficinaButton}},
+ }
+ for _, c := range cases {
+ t.Run(c.name, func(t *testing.T) {
+ b := f.browser()
+ if c.record != nil {
+ b.remember(t, *c.record)
+ }
+ rec := b.do("GET", c.path, "")
+ if rec.Code != http.StatusOK {
+ t.Fatalf("GET %s: %d %q", c.path, rec.Code, rec.Header().Get("Location"))
+ }
+ if rec.Header().Get("Cache-Control") != "no-store" {
+ t.Error("the door is cacheable")
+ }
+ card := door(t, rec.Body.String())
+ for _, want := range c.want {
+ if !strings.Contains(card, want) {
+ t.Errorf("lacks %q:\n%s", want, card)
+ }
+ }
+ for _, not := range c.not {
+ if strings.Contains(card, not) {
+ t.Errorf("has %q:\n%s", not, card)
+ }
+ }
+ if c.title != "" {
+ if got := html.UnescapeString(titleOfPage(rec.Body.String())); got != c.title {
+ t.Errorf("<title> = %q, want %q", got, c.title)
+ }
+ }
+ })
+ }
+}
+
+func titleOfPage(body string) string {
+ m := regexp.MustCompile(`<title>([^<]*)</title>`).FindStringSubmatch(body)
+ if m == nil {
+ return ""
+ }
+ return m[1]
+}
+
+// Standalone Docs has only email: no Oficina ID anywhere, and no chooser
+// with nothing on it.
+func TestSmartDoorStandaloneHasOnlyEmail(t *testing.T) {
+ app, err := NewForTest(t)
+ if err != nil {
+ t.Fatal(err)
+ }
+ for _, path := range []string{"/signin", "/signin?way=oficina"} {
+ rec := serve(app, httptest.NewRequest(http.MethodGet, path, nil))
+ card := door(t, rec.Body.String())
+ if rec.Code != http.StatusOK || !strings.Contains(card, emailField) || strings.Contains(card, "Oficina") || strings.Contains(card, otherWays) {
+ t.Errorf("GET %s: %d\n%s", path, rec.Code, card)
+ }
+ }
+ // Nothing links the chooser here; typed in, it has no Oficina ID row.
+ if card := door(t, serve(app, httptest.NewRequest(http.MethodGet, "/signin?ways=1", nil)).Body.String()); strings.Contains(card, "Oficina") || !strings.Contains(card, ">Back</span>") {
+ t.Errorf("standalone chooser:\n%s", card)
+ }
+ if rec := serve(app, httptest.NewRequest(http.MethodGet, "/signin/oficina", nil)); rec.Code != http.StatusNotFound {
+ t.Errorf("standalone /signin/oficina: %d, want 404", rec.Code)
+ }
+}
+
+// Continue with Oficina ID starts the Home exchange, keeping the page; a
+// step-up never reaches Home; a browser already signed in and admitted
+// skips both doors, unless the query names a state of the door.
+func TestSmartDoorRoutesWithHome(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ routerRedirect(t, b.do("GET", "/signin/oficina?return_to=%2Fd%2Fabc", ""), "/auth/start?return_to=%2Fd%2Fabc")
+ if b.cookies[connectReturnCookie] == nil {
+ t.Fatal("/signin/oficina did not remember the page for the Home landing")
+ }
+ routerRedirect(t, b.do("GET", "/signin/oficina?reauth=1&return_to=%2Fd%2Fabc", ""), "/signin/local?reauth=1&return_to=%2Fd%2Fabc")
+
+ alice := f.browser()
+ alice.localSignin(t, "alice@example.com")
+ routerRedirect(t, alice.do("GET", "/signin?return_to=%2Fd%2Fabc", ""), "/d/abc")
+ routerRedirect(t, alice.do("GET", "/signin/oficina", ""), "/")
+ for _, path := range []string{"/signin?reauth=1", "/signin?sent=1", "/signin?err=rate", "/signin/local"} {
+ if rec := alice.do("GET", path, ""); rec.Code != http.StatusOK {
+ t.Errorf("signed in, GET %s: %d %q, want the door", path, rec.Code, rec.Header().Get("Location"))
+ }
+ }
+}
+
+// The refusal (Config.Refused) is drawn in the screen's app-problem slot,
+// with the email field, never the remembered one-tap that would only offer
+// the refused address again.
+func TestSmartDoorRefusalIsTheAppProblem(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "carol@example.com"})
+ rec := httptest.NewRecorder()
+ req := b.request("POST", "/auth/verify", "")
+ f.app.handlers.signinRefused(rec, req)
+ card := door(t, rec.Body.String())
+ if rec.Code != http.StatusForbidden || !strings.Contains(card, `id="rst-signin-app-problem"`) || !strings.Contains(card, "docs.signin.error.refused") || !strings.Contains(card, `id="rst-signin-email" name="address"`) || strings.Contains(card, "Continue as") {
+ t.Fatalf("refusal: %d\n%s", rec.Code, card)
+ }
+}
+
+// A Home sign-in is remembered as Oficina ID, with the address of the
+// person connect resolved, written in MintHomeSession and only there.
+func TestMintHomeSessionRemembersOficinaID(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ alice := f.browser()
+ alice.localSignin(t, "alice@example.com")
+ alice.linkProof(t, "opaque-alice", "alice@example.com")
+ alice.confirmLink(t, "/")
+
+ // This browser last signed in as bob, by email. Oficina ID signs alice
+ // in: the record is hers, and nothing of bob's is carried over.
+ b := f.browser()
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"})
+ nonce := b.start(t, "/auth/start?return_to=%2F", "")
+ routerRedirect(t, b.exchange(t, nonce, "opaque-alice", time.Now().Add(-time.Hour)), "/")
+ got, res := b.remembered(t)
+ want := lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"}
+ if res != lastsignin.Valid || got != want {
+ t.Fatalf("remembered %+v (%v), want %+v", got, res, want)
+ }
+ // And the door offers it next time, with her address only in the chooser.
+ signoutChained(t, b.do("POST", "/signout", ""))
+ card := door(t, b.do("GET", "/signin", "").Body.String())
+ if !strings.Contains(card, oficinaButton) || strings.Contains(card, "alice@example.com") {
+ t.Fatalf("the door after an Oficina ID sign-in:\n%s", card)
+ }
+
+ // A local sign-in is remembered by rastrillo itself, as the email link.
+ alice.localSignin(t, "alice@example.com")
+ if got, res := alice.remembered(t); res != lastsignin.Valid || got.Method != lastsignin.MethodMagicLink || got.Address != "alice@example.com" {
+ t.Fatalf("local sign-in remembered %+v (%v)", got, res)
+ }
+
+ // An unknown subject mints nothing, so remembers nothing.
+ stranger := f.browser()
+ stranger.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"})
+ if rec := stranger.exchange(t, stranger.start(t, "/auth/start?return_to=%2F", ""), "opaque-nobody", time.Now().Add(-time.Hour)); rec.Code != http.StatusForbidden {
+ t.Fatalf("unknown subject: %d", rec.Code)
+ }
+ if got, res := stranger.remembered(t); res != lastsignin.Valid || got.Method != lastsignin.MethodMagicLink || got.Address != "bob@example.com" {
+ t.Fatalf("an unknown Home subject changed the record: %+v (%v)", got, res)
+ }
+}
+
+// A Home-only person (team mode, "I'm new here") has no address here: the
+// record is Oficina ID with none.
+func TestMintHomeSessionRemembersAHomeOnlyPersonWithoutAnAddress(t *testing.T) {
+ f := newTeamRouterFixture(t)
+ b := f.browser()
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"})
+ nonce := b.start(t, "/auth/start?return_to=%2F", "")
+ b.chooseNew(t, b.exchange(t, nonce, teamSubject('b'), time.Now().Add(-time.Hour)))
+ got, res := b.remembered(t)
+ if want := (lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina}); res != lastsignin.Valid || got != want {
+ t.Fatalf("remembered %+v (%v), want %+v", got, res, want)
+ }
+}
+
+// Signed out: "Forget me on this device", a POST to rastrillo's Forget.
+// With Home it then chains to Oficina ID's own Forget, which returns only
+// to this consumer's exact /signed-out. The door's "Use a different email"
+// posts to the same Forget and stays on the door.
+func TestSignedOutForgetChainsToOficinaID(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ page := b.do("GET", "/signed-out", "")
+ form := regexp.MustCompile(`(?s)<form estilo-signin-forget method="post" action="([^"]+)">(.*?)</form>`).FindStringSubmatch(page.Body.String())
+ if page.Code != http.StatusOK || form == nil || form[1] != signinForgetPath || !strings.Contains(form[2], `name="chain" value="oficina"`) || !strings.Contains(form[2], "Forget me on this device") {
+ t.Fatalf("signed-out page has no chained Forget: %d\n%s", page.Code, page.Body.String())
+ }
+ if !strings.Contains(page.Body.String(), `href="/signin">Sign in</a>`) {
+ t.Fatal("signed-out page lost Sign in")
+ }
+
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"})
+ jar := f.app.handlers.auth.RememberJar().CookieName()
+ rec := b.do("POST", signinForgetPath, url.Values{"chain": {"oficina"}}.Encode())
+ want := bridgeIssuer + "/forget?return=" + url.QueryEscape(bridgeOrigin+"/signed-out")
+ routerRedirect(t, rec, want)
+ if _, ok := b.cookies[jar]; ok {
+ t.Fatal("Forget kept the remembered way in")
+ }
+ if !strings.Contains(rec.Header().Get("Content-Security-Policy"), "form-action 'self' "+bridgeIssuer) {
+ t.Fatalf("form-action does not allow the chain to %s: %q", bridgeIssuer, rec.Header().Get("Content-Security-Policy"))
+ }
+
+ // The door's "Use a different email": forgets, and opens the email way.
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"})
+ routerRedirect(t, b.do("POST", signinForgetPath, url.Values{"way": {"email"}, "return_to": {"/d/abc"}}.Encode()), "/signin?return_to=%2Fd%2Fabc&way=email")
+ if _, ok := b.cookies[jar]; ok {
+ t.Fatal("Use a different email kept the remembered way in")
+ }
+
+ // A cross-site post is refused, and chains nowhere.
+ r := b.request("POST", signinForgetPath, url.Values{"chain": {"oficina"}}.Encode())
+ r.Header.Set("Origin", "https://evil.example")
+ r.Header.Set("Sec-Fetch-Site", "cross-site")
+ if refused := b.serve(r); refused.Code != http.StatusForbidden || refused.Header().Get("Location") != "" {
+ t.Fatalf("cross-site Forget: %d %q", refused.Code, refused.Header().Get("Location"))
+ }
+}
+
+// Standalone, the signed-out page's Forget is Docs' own, with no chain.
+func TestSignedOutForgetStandalone(t *testing.T) {
+ app, err := NewForTest(t)
+ if err != nil {
+ t.Fatal(err)
+ }
+ page := serve(app, httptest.NewRequest(http.MethodGet, "/signed-out", nil)).Body.String()
+ if !strings.Contains(page, `<form estilo-signin-forget method="post" action="/signin/forget">`) || strings.Contains(page, `name="chain"`) {
+ t.Fatalf("standalone signed-out page:\n%s", page)
+ }
+ req := httptest.NewRequest(http.MethodPost, DefaultOrigin+signinForgetPath, strings.NewReader("chain=oficina"))
+ req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
+ req.Header.Set("Sec-Fetch-Site", "same-origin")
+ rec := serve(app, req)
+ if rec.Code != http.StatusSeeOther || rec.Header().Get("Location") != "/signin" {
+ t.Fatalf("standalone Forget: %d %q, want 303 /signin", rec.Code, rec.Header().Get("Location"))
+ }
+}
+
+// The contract estilo's review asked for: estilo-signin-screen over
+// rastrillo's real sign-in states. HideBrand drops the partial's brand
+// column (estilo's door draws Docs' mark and name around the card), so
+// [estilo-signin-screen] > section has the door as its only element child,
+// in every state.
+func TestSmartDoorScreenHoldsOnlyTheDoor(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ oficina := &lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"}
+ email := &lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"}
+ for _, c := range []struct {
+ name, path string
+ record *lastsignin.Record
+ }{
+ {"first visit", "/signin", nil},
+ {"Oficina ID remembered", "/signin", oficina},
+ {"email remembered", "/signin", email},
+ {"the chooser", "/signin?ways=1", email},
+ {"problem", "/signin?err=expired", email},
+ {"sent", "/signin?sent=1", email},
+ {"step-up", "/signin?reauth=1", oficina},
+ {"email only", "/signin/local", nil},
+ } {
+ t.Run(c.name, func(t *testing.T) {
+ b := f.browser()
+ if c.record != nil {
+ b.remember(t, *c.record)
+ }
+ rec := b.do("GET", c.path, "")
+ if rec.Code != http.StatusOK {
+ t.Fatalf("GET %s: %d", c.path, rec.Code)
+ }
+ screenOnlyHoldsTheDoor(t, rec.Body.String())
+ })
+ }
+ // And the confirm step an emailed link opens (Config.RenderConfirm).
+ b := f.browser()
+ confirm := b.do("GET", b.localLink(t, "alice@example.com"), "")
+ if confirm.Code != http.StatusOK {
+ t.Fatalf("confirm: %d", confirm.Code)
+ }
+ screenOnlyHoldsTheDoor(t, confirm.Body.String())
+}
+
+var startTag = regexp.MustCompile(`<(/?)([a-zA-Z][a-zA-Z0-9-]*)([^>]*)>`)
+
+// voidElements have no end tag.
+var voidElements = map[string]bool{"area": true, "base": true, "br": true, "col": true, "embed": true, "hr": true, "img": true, "input": true, "link": true, "meta": true, "source": true, "track": true, "wbr": true}
+
+// screenOnlyHoldsTheDoor checks that the first section inside
+// [estilo-signin-screen] is rastrillo's [rst-signin] and that its only
+// element child is the door, [rst-signin-door].
+func screenOnlyHoldsTheDoor(t *testing.T, body string) {
+ t.Helper()
+ children, err := screenChildren(body)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(children) != 1 || !strings.HasPrefix(children[0], "<div rst-signin-door") {
+ t.Fatalf("[estilo-signin-screen] > section has %d element children %q, want only the door", len(children), children)
+ }
+}
+
+// screenChildren is the start tags of the element children of
+// [estilo-signin-screen] > section, which must be rastrillo's.
+func screenChildren(body string) ([]string, error) {
+ at := strings.Index(body, "<div estilo-signin-screen>")
+ if at < 0 {
+ return nil, fmt.Errorf("no [estilo-signin-screen]")
+ }
+ rest := body[at+len("<div estilo-signin-screen>"):]
+ tags := startTag.FindAllStringSubmatchIndex(rest, -1)
+ if len(tags) == 0 {
+ return nil, fmt.Errorf("[estilo-signin-screen] is empty")
+ }
+ first := rest[tags[0][0]:tags[0][1]]
+ if strings.TrimSpace(rest[:tags[0][0]]) != "" || !strings.HasPrefix(first, "<section rst-signin") {
+ return nil, fmt.Errorf("[estilo-signin-screen]'s first child is not rastrillo's section: %q", first)
+ }
+ depth := 0
+ var children []string
+ for _, m := range tags[1:] {
+ closing, name, tag := rest[m[2]:m[3]] == "/", strings.ToLower(rest[m[4]:m[5]]), rest[m[0]:m[1]]
+ if closing {
+ if depth == 0 {
+ if name != "section" {
+ return nil, fmt.Errorf("unbalanced markup: %q closes the section", tag)
+ }
+ return children, nil
+ }
+ depth--
+ continue
+ }
+ if depth == 0 {
+ children = append(children, tag)
+ }
+ if !voidElements[name] && !strings.HasSuffix(tag, "/>") {
+ depth++
+ }
+ }
+ return nil, fmt.Errorf("the section never closes")
+}
+
+// The check sees what HideBrand removes: a brand column beside the door,
+// as the partial draws without it, is a second child.
+func TestScreenChildrenSeesABrandColumn(t *testing.T) {
+ branded := `<div estilo-signin-screen>
+<section rst-signin aria-labelledby="rst-signin-heading">
+<div rst-signin-brand><div rst-signin-mark><img src="x" alt=""></div><p rst-signin-name>Docs</p></div>
+<div rst-signin-door="one-way"><h1>Sign in to Docs</h1><input name="address"><br></div>
+</section>
+</div>`
+ children, err := screenChildren(branded)
+ if err != nil || len(children) != 2 || !strings.HasPrefix(children[0], "<div rst-signin-brand") {
+ t.Fatalf("children %q, %v: want the brand column and the door", children, err)
+ }
+}
+
+// Fable on #139, A2: a linked person the signed-in routes no longer admit
+// signs in through Oficina ID (connect mints for any linked person). The
+// sign-in is not remembered as Oficina ID, and the door they bounce to says
+// why, with the email field, and forgets a remembered Oficina ID, so it is
+// not offered round the same loop again.
+func TestARefusedOficinaIDSignInIsNotRememberedAndTheDoorSaysWhy(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ alice := f.browser()
+ alice.localSignin(t, "alice@example.com")
+ sqid := strings.TrimPrefix(routerRedirect(t, alice.do("POST", "/documents", "title=Minutes"), ""), "/d/")
+ if rec := alice.do("POST", "/d/"+sqid+"/share", "address=carol@example.com&role=reader"); rec.Code != http.StatusSeeOther {
+ t.Fatalf("share: %d", rec.Code)
+ }
+ carol := f.browser()
+ carol.localSignin(t, "carol@example.com")
+ carol.linkProof(t, "opaque-carol", "carol@example.com")
+ carol.confirmLink(t, "/")
+ if rec := alice.do("POST", "/d/"+sqid+"/share/revoke", "address=carol@example.com"); rec.Code != http.StatusSeeOther {
+ t.Fatalf("revoke: %d", rec.Code)
+ }
+
+ b := f.browser()
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "bob@example.com"})
+ b.exchange(t, b.start(t, "/auth/start?return_to=%2F", ""), "opaque-carol", time.Now().Add(-time.Hour))
+ if got, res := b.remembered(t); res != lastsignin.Valid || got.Method != lastsignin.MethodMagicLink || got.Address != "bob@example.com" {
+ t.Fatalf("a refused Oficina ID sign-in changed the record: %+v (%v)", got, res)
+ }
+ list := b.do("GET", "/", "")
+ if list.Code != http.StatusSeeOther || !strings.HasPrefix(list.Header().Get("Location"), "/signin") {
+ t.Fatalf("the refused session reached the list: %d %q", list.Code, list.Header().Get("Location"))
+ }
+ // An Oficina ID remembered from before the refusal.
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "carol@example.com"})
+ jar := f.app.handlers.auth.RememberJar().CookieName()
+ for _, path := range []string{list.Header().Get("Location"), "/signin/local"} {
+ rec := b.do("GET", path, "")
+ card := door(t, rec.Body.String())
+ if rec.Code != http.StatusOK || !strings.Contains(card, `id="rst-signin-app-problem"`) || !strings.Contains(card, "docs.signin.error.refused") || !strings.Contains(card, `id="rst-signin-email" name="address"`) || strings.Contains(card, oficinaButton) {
+ t.Fatalf("GET %s for a refused session: %d\n%s", path, rec.Code, card)
+ }
+ if _, kept := b.cookies[jar]; kept {
+ t.Fatalf("GET %s kept the remembered Oficina ID for a refused session", path)
+ }
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina})
+ }
+ // A remembered email way is kept: it is no loop.
+ b.remember(t, lastsignin.Record{Method: lastsignin.MethodMagicLink, Address: "carol@example.com"})
+ b.do("GET", "/signin", "")
+ if _, kept := b.cookies[jar]; !kept {
+ t.Fatal("the door forgot a remembered email way for a refused session")
+ }
+}
+
+// A step-up's reauth=1 survives Begin's answer and Docs' return_to: the
+// next door is still local ways only, for the same page.
+func TestAStepUpPostKeepsReauthAndTheReturn(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ for _, address := range []string{"not an address", "bob@example.com"} {
+ rec := b.do("POST", "/signin", url.Values{"address": {address}, "reauth": {"1"}, "return_to": {"/d/abc"}}.Encode())
+ loc := routerRedirect(t, rec, "")
+ u, err := url.Parse(loc)
+ if err != nil || u.Path != "/signin" || u.Query().Get("reauth") != "1" || u.Query().Get("return_to") != "/d/abc" {
+ t.Fatalf("%q: redirected to %q, want the door with reauth=1 and return_to=/d/abc", address, loc)
+ }
+ card := door(t, b.do("GET", loc, "").Body.String())
+ if strings.Contains(card, "Oficina ID") || !strings.Contains(card, `name="return_to" value="/d/abc"`) {
+ t.Fatalf("%q: the step-up's next door:\n%s", address, card)
+ }
+ }
+}
+
+// Opening an emailed link (the confirm step) leaves the remembered way in
+// alone: it neither clears nor rewrites it.
+func TestConfirmingALinkLeavesTheRecordAlone(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ want := lastsignin.Record{Method: lastsignin.MethodFederated, Provider: lastsignin.ProviderOficina, Address: "alice@example.com"}
+ b.remember(t, want)
+ jar := f.app.handlers.auth.RememberJar().CookieName()
+ rec := b.do("GET", b.localLink(t, "bob@example.com"), "")
+ if rec.Code != http.StatusOK {
+ t.Fatalf("confirm: %d", rec.Code)
+ }
+ for _, c := range rec.Result().Cookies() {
+ if c.Name == jar {
+ t.Fatalf("the confirm step set the remembered cookie: %+v", c)
+ }
+ }
+ if got, res := b.remembered(t); res != lastsignin.Valid || got != want {
+ t.Fatalf("remembered %+v (%v), want %+v", got, res, want)
+ }
+}
+
+// A plain /signin/local (connect's failed, unknown and connect pages send
+// people there) keeps the page the sign-in began from: it remembers
+// nothing new, and its form posts the remembered page.
+func TestSigninLocalKeepsTheRememberedPage(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ b := f.browser()
+ b.do("GET", "/signin?return_to=%2Fd%2Fabc", "")
+ kept := b.cookies[homeReturnCookie]
+ if kept == nil {
+ t.Fatal("the door did not remember the page")
+ }
+ rec := b.do("GET", "/signin/local", "")
+ for _, c := range rec.Result().Cookies() {
+ if c.Name == homeReturnCookie {
+ t.Fatal("a plain /signin/local overwrote the remembered page")
+ }
+ }
+ if card := door(t, rec.Body.String()); !strings.Contains(card, `name="return_to" value="/d/abc"`) {
+ t.Fatalf("/signin/local does not carry the remembered page:\n%s", card)
+ }
+ // With its own return_to it remembers that.
+ b.do("GET", "/signin/local?return_to=%2Fd%2Fxyz", "")
+ if b.cookies[homeReturnCookie] == nil || b.cookies[homeReturnCookie].Value == kept.Value {
+ t.Fatal("/signin/local?return_to= did not remember its page")
+ }
+}
+
+// Fable on #139, N1: for a refused session, "Other ways to sign in" opens
+// the chooser, and each way its own page, with no refusal over them, so a
+// refused person can reach another way in (another Oficina ID account).
+func TestARefusedSessionCanReachOtherWays(t *testing.T) {
+ check := func(t *testing.T, get func(string) string, ways bool) {
+ t.Helper()
+ plain := get("/signin")
+ if !strings.Contains(plain, `id="rst-signin-app-problem"`) {
+ t.Fatalf("the plain door does not say why:\n%s", plain)
+ }
+ if way := get("/signin?way=email"); strings.Contains(way, `id="rst-signin-app-problem"`) {
+ t.Fatalf("a way's own page redraws the refusal:\n%s", way)
+ }
+ if !ways {
+ // Email is standalone Docs' only way: there is no chooser to reach.
+ if strings.Contains(plain, "ways=1") {
+ t.Fatalf("standalone refusal links a chooser:\n%s", plain)
+ }
+ return
+ }
+ m := regexp.MustCompile(`href="(/signin\?[^"]*ways=1[^"]*)"`).FindStringSubmatch(plain)
+ if m == nil {
+ t.Fatalf("no Other ways to sign in on the refusal:\n%s", plain)
+ }
+ chooser := get(m[1])
+ if strings.Contains(chooser, `id="rst-signin-app-problem"`) || !strings.Contains(chooser, `<h1 id="rst-signin-heading">Other ways to sign in</h1>`) {
+ t.Fatalf("GET %s for a refused session is not the chooser:\n%s", m[1], chooser)
+ }
+ if !strings.Contains(chooser, `href="/signin?way=oficina"`) {
+ t.Fatalf("the chooser does not offer Oficina ID:\n%s", chooser)
+ }
+ }
+ t.Run("Home", func(t *testing.T) {
+ f := newRouterHomeFixture(t)
+ alice := f.browser()
+ alice.localSignin(t, "alice@example.com")
+ sqid := strings.TrimPrefix(routerRedirect(t, alice.do("POST", "/documents", "title=Minutes"), ""), "/d/")
+ alice.do("POST", "/d/"+sqid+"/share", "address=carol@example.com&role=reader")
+ carol := f.browser()
+ carol.localSignin(t, "carol@example.com")
+ alice.do("POST", "/d/"+sqid+"/share/revoke", "address=carol@example.com")
+ check(t, func(path string) string { return door(t, carol.do("GET", path, "").Body.String()) }, true)
+ })
+ t.Run("standalone", func(t *testing.T) {
+ app, err := NewForTestWith(t, Config{AllowedAddresses: "alice@example.com"})
+ if err != nil {
+ t.Fatal(err)
+ }
+ alice := newBrowser(t, app)
+ alice.signIn("alice@example.com")
+ sqid := strings.TrimPrefix(alice.do("POST", "/documents", "title=Minutes").Header().Get("Location"), "/d/")
+ alice.do("POST", "/d/"+sqid+"/share", "address=guest@example.com&role=reader")
+ guest := newBrowser(t, app)
+ guest.signIn("guest@example.com")
+ alice.do("POST", "/d/"+sqid+"/share/revoke", "address=guest@example.com")
+ check(t, func(path string) string { return door(t, guest.do("GET", path, "").Body.String()) }, false)
+ })
+}
diff --git a/internal/docs/team_router_test.go b/internal/docs/team_router_test.go
index 7a47f60..ce2b5f3 100644
--- a/internal/docs/team_router_test.go
+++ b/internal/docs/team_router_test.go
@@ -349,7 +349,7 @@ func TestTeamRouterHomeOnlyFirstEntryAndConflict(t *testing.T) {
if _, e = f.app.store.team.principals.Resolve(t.Context(), bridgeIssuer, teamSubject('z')); !errors.Is(e, principalstore.ErrRefused) {
t.Fatal("nonmember allocated principal", e)
}
- if r = b.do("GET", "/account/home", ""); r.Code != 303 || r.Header().Get("Location") != "/signin/local" {
+ if r = b.do("GET", "/account/home", ""); r.Code != 303 || r.Header().Get("Location") != "/signin/local?reauth=1" {
t.Fatal("addressless account cannot begin explicit local reauthentication", r.Code, r.Header().Get("Location"))
}
}
diff --git a/internal/docs/theme_assets_test.go b/internal/docs/theme_assets_test.go
index 0afc830..ce54b63 100644
--- a/internal/docs/theme_assets_test.go
+++ b/internal/docs/theme_assets_test.go
@@ -12,8 +12,10 @@ import (
"net/http/httptest"
"strings"
"testing"
+ "testing/fstest"
"amadan.net/oficina/estilo.git/theme"
+ "amadan.net/rastrillo/rastrillo"
"amadan.net/rastrillo/rastrillo/ui"
)
@@ -37,14 +39,15 @@ func TestSharedThemeAssetFingerprintAndCache(t *testing.T) {
}{
{"theme", docsTheme}, {"tokens", ui.TokensCSS()},
} {
- sum := sha256.Sum256(item.data)
+ served := servedAs("static/"+item.name+".css", item.data)
+ sum := sha256.Sum256(served)
hashed := fmt.Sprintf("/static/%s.%x.css", item.name, sum[:8])
if !strings.Contains(page.Body.String(), `href="`+hashed+`"`) {
t.Fatalf("missing selected %s fingerprint", item.name)
}
for _, path := range []string{hashed, "/static/" + item.name + ".css", "/static/" + item.name + ".0000000000000000.css"} {
res := serve(app, httptest.NewRequest(http.MethodGet, path, nil))
- if res.Code != http.StatusOK || !bytes.Equal(res.Body.Bytes(), item.data) {
+ if res.Code != http.StatusOK || !bytes.Equal(res.Body.Bytes(), served) {
t.Fatalf("%s asset response mismatch status%d", item.name, res.Code)
}
if !strings.HasPrefix(res.Header().Get("Content-Type"), "text/css") {
@@ -71,6 +74,7 @@ func TestBusyRuleIsLinkedAndServed(t *testing.T) {
}
page := serve(app, httptest.NewRequest(http.MethodGet, "/signin", nil)).Body.String()
for name, body := range map[string][]byte{"static/estilo/busy.css": busy.CSS(), "static/rastrillo.js": busy.ShimJS(), "static/estilo/busy.js": busy.JS()} {
+ body = servedAs(name, body)
sum := sha256.Sum256(body)
hashed := "/" + strings.TrimSuffix(name, path.Ext(name)) + fmt.Sprintf(".%x", sum[:8]) + path.Ext(name)
if !strings.Contains(page, `"`+hashed+`"`) {
@@ -97,3 +101,19 @@ func TestBusyRuleIsLinkedAndServed(t *testing.T) {
})
}
}
+
+// servedAs is what rastrillo.Assets itself sends for name with body at
+// that path, asked of rastrillo rather than re-derived: since v0.31 it
+// minifies a file at one of the framework's vendored paths
+// (static/tokens.css, static/theme.css, static/rastrillo.js and the rest),
+// and serves any other as written. Docs puts estilo's theme and busy shim
+// at two of those paths, so they are minified too.
+func servedAs(name string, body []byte) []byte {
+ assets := rastrillo.NewAssets(fstest.MapFS{name: {Data: body}})
+ rec := httptest.NewRecorder()
+ assets.Handler().ServeHTTP(rec, httptest.NewRequest(http.MethodGet, assets.Path(name), nil))
+ if rec.Code != http.StatusOK {
+ panic(fmt.Sprintf("rastrillo.Assets would not serve %s: %d", name, rec.Code))
+ }
+ return rec.Body.Bytes()
+}
diff --git a/internal/docs/views/layout.html b/internal/docs/views/layout.html
index 8c288f4..beddbd7 100644
--- a/internal/docs/views/layout.html
+++ b/internal/docs/views/layout.html
@@ -16,7 +16,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>{{range .Frame.TitleParts}}{{.}} · {{end}}{{.Frame.Chrome.App.Name}}</title>
+<title>{{with .Frame.Title}}{{.}}{{else}}{{range .Frame.TitleParts}}{{.}} · {{end}}{{.Frame.Chrome.App.Name}}{{end}}</title>
{{block "pagehead" .}}{{end}}
<link rel="stylesheet" href="{{asset "static/tokens.css"}}">
<link rel="stylesheet" href="{{asset "static/estilo/busy.css"}}">
diff --git a/internal/docs/views/signin.html b/internal/docs/views/signin.html
index 678d98a..07eab76 100644
--- a/internal/docs/views/signin.html
+++ b/internal/docs/views/signin.html
@@ -1,30 +1,14 @@
-{{/* signin — GET /signin (auth.go's signin handler): estilo's sign-in
- form, the check-your-email state that replaces it, the Keymail
- continuation (auth_navigation.go), which needs its meta refresh, or
- the confirm step an emailed link opens (GET /auth/verify,
- auth_navigation.go's confirmSignin): one Sign in button that POSTs
- the token back, because a GET must spend nothing.
-
- rastrillo/auth's own handlers never render this page themselves
- (magic-links.md: "the sign-in page stays yours"). Begin, Callback and
- Verify report outcomes by redirecting back here with ?sent=1 or
- ?err=…, which auth.go resolves into the data below; the confirm step
- and a refusal call back into it (Config.RenderConfirm, Config.Refused).
+{{/* signin — the sign-in door (auth.go's signin): rastrillo's sign-in
+ screen, its ui "signin" partial fed by auth.SigninState, drawn inside
+ estilo's door (the sky, and Docs' mark and name at the card's head) by
+ estilo-signin-screen. One way in per page (SigninOneWay): the way this
+ browser used last, or Continue with Oficina ID, then "Other ways to sign
+ in". Every state is this one template: the door, the chooser, Sent, the
+ Keymail continuation (its meta refresh is in the card), and the confirm
+ step an emailed link opens (GET /auth/verify, Config.RenderConfirm),
+ whose one Sign in button POSTs the token back because a GET must spend
+ nothing.
The bar shows the brand only: no account, no Sign in (chrome.go's
- signinPage). It used to be hidden outright, because the rastrillo
- shell could not be emptied, and the front door had no name on it. */}}
-{{define "content"}}
-{{- if .ContinueURL}}
-<meta http-equiv="refresh" content="0;url={{.ContinueURL}}">
-{{template "estilo-door-open" .Door}}<p><a rst-btn="primary" href="{{.ContinueURL}}">{{.SubmitLabel}}</a></p>{{template "estilo-door-close"}}
-{{- else if .Confirm}}{{template "estilo-door-open" .Door}}
- <h1>{{.Confirm.Heading}}</h1>
- <form rst-form method="post" action="{{.Confirm.Action}}">
- <input type="hidden" name="token" value="{{.Confirm.Token}}">
- <div rst-form-foot><button rst-btn="primary" type="submit" autofocus>{{.Confirm.Submit}}</button></div>
- </form>
-{{template "estilo-door-close"}}
-{{- else if .Sent}}{{template "estilo-signin-sent" .Sent}}
-{{- else}}{{template "estilo-signin" .Form}}{{end}}
-{{end}}
+ signinPage). */}}
+{{define "content"}}{{template "estilo-signin-screen" .Screen}}{{end}}
diff --git a/internal/docs/zoom_browser_test.go b/internal/docs/zoom_browser_test.go
index 094daf6..2671ac1 100644
--- a/internal/docs/zoom_browser_test.go
+++ b/internal/docs/zoom_browser_test.go
@@ -20,8 +20,8 @@ import (
"time"
"amadan.net/rastrillo/rastrillo/harness"
+ "github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/emulation"
- "github.com/chromedp/cdproto/network"
"github.com/chromedp/chromedp"
"github.com/carlosframework/docs/internal/docs"
@@ -73,13 +73,12 @@ func TestNoZoomOnTap(t *testing.T) {
}
sqid := strings.TrimPrefix(created.Header().Get("Location"), "/d/")
- run := func(what string, actions ...chromedp.Action) {
+ run := func(what string, actions ...chromedp.Action[chromedp.Void]) {
t.Helper()
ctx, cancel := context.WithTimeout(rig.Context(), 20*time.Second)
defer cancel()
- if err := chromedp.Run(ctx, actions...); err != nil {
- var at string
- _ = chromedp.Run(rig.Context(), chromedp.Location(&at))
+ if err := chromedp.Do(ctx, actions...); err != nil {
+ at, _ := chromedp.Run(rig.Context(), chromedp.Location())
t.Fatalf("%s: %v (the browser is at %s)", what, err, at)
}
}
@@ -87,23 +86,23 @@ func TestNoZoomOnTap(t *testing.T) {
// its media queries. SetEmulatedMedia's "pointer" feature is not
// emulated by this Chromium; the coarse check below is what proves
// the emulation took.
- run("touch emulation", emulation.SetTouchEmulationEnabled(true).WithMaxTouchPoints(5))
+ run("touch emulation", command(emulation.SetTouchEmulationEnabled, emulation.SetTouchEmulationEnabledParams{Enabled: true, MaxTouchPoints: 5}))
once := false
- measure := func(path, ready string, open ...chromedp.Action) {
+ measure := func(path, ready string, open ...chromedp.Action[chromedp.Void]) {
t.Helper()
var coarse bool
var small []string
- actions := []chromedp.Action{chromedp.Navigate(rig.Origin + path)}
+ actions := []chromedp.Action[chromedp.Void]{chromedp.Navigate(rig.Origin + path)}
if !once {
actions = append(actions, chromedp.Reload())
}
actions = append(actions,
- chromedp.WaitVisible(ready, chromedp.ByQuery),
- chromedp.Evaluate(`matchMedia('(pointer: coarse)').matches`, &coarse),
+ chromedp.WaitVisible(chromedp.CSS(ready)),
+ evalInto(&coarse, `matchMedia('(pointer: coarse)').matches`),
)
actions = append(actions, open...)
- actions = append(actions, chromedp.Evaluate(smallControls(textControls), &small))
+ actions = append(actions, evalInto(&small, smallControls(textControls)))
run(path, actions...)
if !coarse {
t.Fatalf("%s: the touch-screen emulation did not apply; this would measure desktop styles", path)
@@ -116,10 +115,9 @@ func TestNoZoomOnTap(t *testing.T) {
// Signed out first: the door is the field every visit starts on.
measure("/signin", `input[name="address"]`)
- var set []chromedp.Action
+ var set []chromedp.Action[chromedp.Void]
for _, c := range cookies {
- set = append(set, network.SetCookie(c.Name, c.Value).WithURL(rig.Origin+"/").
- WithHTTPOnly(c.HttpOnly).WithSecure(c.Secure).WithSameSite(network.CookieSameSiteLax))
+ set = append(set, setCookie(rig.Origin, c))
}
run("sign in", set...)
@@ -127,7 +125,7 @@ func TestNoZoomOnTap(t *testing.T) {
// The toolbar's three selects, once select.js has enhanced them, and
// the title field in the bar.
measure("/d/"+sqid, `[contenteditable="true"]`,
- chromedp.WaitVisible(`[estilo-bar-title-input], [docs-toolbar] input, [docs-toolbar] select`, chromedp.ByQuery))
+ chromedp.WaitVisible(chromedp.CSS(`[estilo-bar-title-input], [docs-toolbar] input, [docs-toolbar] select`)))
// The share page, then published: the link field shows only in the
// one render that follows the publish.
// A wide touch screen (an iPad in landscape, 1280px): from 64rem the
@@ -137,18 +135,18 @@ func TestNoZoomOnTap(t *testing.T) {
// The header's undo/redo are 32px targets there too, in a 32px pill.
var inspector string
var lead []float64
- run("a wide touch screen", emulation.SetDeviceMetricsOverride(1280, 900, 1, false))
+ run("a wide touch screen", command(emulation.SetDeviceMetricsOverride, emulation.SetDeviceMetricsOverrideParams{Width: 1280, Height: 900, DeviceScaleFactor: 1}))
measure("/d/"+sqid, `[contenteditable="true"]`,
- chromedp.WaitVisible(`[docs-inspector] [docs-toolbar] input`, chromedp.ByQuery),
- chromedp.Evaluate(`getComputedStyle(document.querySelector('[docs-inspector]')).position`, &inspector),
- chromedp.Evaluate(`(() => { const b = document.querySelector('[estilo-bar-lead] [data-docs-command="undo"]').getBoundingClientRect(); const p = document.querySelector('[estilo-bar-lead] [docs-history]').getBoundingClientRect(); return [b.width, b.height, p.height] })()`, &lead))
+ chromedp.WaitVisible(chromedp.CSS(`[docs-inspector] [docs-toolbar] input`)),
+ evalInto(&inspector, `getComputedStyle(document.querySelector('[docs-inspector]')).position`),
+ evalInto(&lead, `(() => { const b = document.querySelector('[estilo-bar-lead] [data-docs-command="undo"]').getBoundingClientRect(); const p = document.querySelector('[estilo-bar-lead] [docs-history]').getBoundingClientRect(); return [b.width, b.height, p.height] })()`))
if inspector != "fixed" {
t.Errorf("at 1280px the toolbar is not the inspector (position %q); this measured the strip", inspector)
}
if len(lead) != 3 || lead[0] < 32 || lead[1] < 32 || lead[2] != 32 {
t.Errorf("on a touch screen the header's undo is %vx%v in a %vpx pill, want 32x32 in 32", lead[0], lead[1], lead[2])
}
- run("back to the default width", emulation.ClearDeviceMetricsOverride())
+ run("back to the default width", command(emulation.ClearDeviceMetricsOverride, cdp.Empty{}))
measure("/d/"+sqid+"/share", `input[name="address"]`)
if rec := sameOrigin("/d/"+sqid+"/share/link", "on=1"); rec.Code != http.StatusSeeOther {
t.Fatalf("publishing: %d", rec.Code)
@@ -158,8 +156,8 @@ func TestNoZoomOnTap(t *testing.T) {
measure("/d/"+sqid+"/share", `[docs-share-url-input]`)
once = false
measure("/", `input[name="q"]`,
- chromedp.Evaluate(`document.dispatchEvent(new KeyboardEvent('keydown', {key: 'k', ctrlKey: true, bubbles: true}))`, nil),
- chromedp.WaitVisible(`[docs-jumpto-input]`, chromedp.ByQuery))
+ chromedp.Evaluate[chromedp.Void](`document.dispatchEvent(new KeyboardEvent('keydown', {key: 'k', ctrlKey: true, bubbles: true}))`),
+ chromedp.WaitVisible(chromedp.CSS(`[docs-jumpto-input]`)))
}
// smallControls is a script listing each visible, tappable control matching sel