pub fn build( scanner: &Scanner, ctx: &ReportCtx, dims: &[Dimension], ) -> Result<Report, ReportError>