The command buffer's StateLock (65d9d241fe) did not bring tests/consumer_auto_traits.rs back
under rustc's default recursion limit (M3 job m3-max-712: clippy plain and --cfg m2v_gpu still
fail, recursion_depth_exceeding_limit on Send of a Mutex<Option<ComputeCommandEncoder>>). The
walk it reports runs from the compute encoder's core through its segments into their work and
round it: EncoderCore, Vec<Segment>, Segment, Deferred, Arc<LoopCheck>, LoopCheck, Vec<Piece>,
Piece, Deferred, and on. The state is one way into that work among several, so StateLock goes.
Deferred's Send and Sync are now written out: each variant holds one Arc of its work, which is
Send and Sync for every work that is both, and a constant proves that of each variant's work in
this crate (at its limit of 256), its match naming every variant, so a variant added fails it
until its work is proved too. A consumer's walk of any segment's work, from an encoder, a
command buffer's recordings or a loop check's pieces, ends there.
Verified: nothing yet; the M3 clippy (workspace, plain and --cfg m2v_gpu), rustdoc and the test
crate's margin at lower recursion limits follow.
(cherry picked from commit 56620f6a71edac26850357a386e4cec98bb0173d)