grimshot was removed from the sway repo[0] and moved to a standalone
user-contributions repo[1]. This build failure is visible in CI. It is
possible to use grimshot from the new repository, if you delete the
'chdir phase.
wlgreet seems to have a known issue with sway 1.9[2] that causes the
startup failure, though this should go in a separate issue, since it's
unrelated to the checkout error which is linked to grimshot.
0: https://github.com/swaywm/sway/issues/7405
1: https://github.com/OctopusET/sway-contrib
2:
https://git.sr.ht/~kennylevinsen/wlgreet/commit/7e79d6004fc5e765a5c3ece6d377f8c5999d9dfa