pub fn replay_captured(d: CapturedDiagnostics)Expand description
Fold worker-thread diagnostics (from capture) into the main thread: append
the captured log text to the bound LOG_BUFFER and merge the count deltas
into the main REPORT. Call on the MAIN thread, in a deterministic order
(e.g. worker/job order), after the workers join. The worker already echoed
each line to the shared stderr fd in real time, so this does NOT re-print to
stderr — it only repairs the captured log + status tally.