async fn collect_batcher_outputs( results: Vec<Result<Output>>, write_cost: usize, ctx: &QueryContextRef, ) -> Result<Output>