pub fn collect_trace_chunks<T: TraceData>( traces: Vec<Vec<Span<T>>>, use_v05_format: bool, ) -> Result<TraceChunks<T>>