pub fn render_batch( batch: &BatchReport, only_failures: bool, tool_name: &str, tool_version: &str, ) -> Result<String>