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