pub fn parse_error_event( runner: &'static str, raw: Value, reason: impl Into<String>, errors: &AtomicU64, ) -> Event