@@ -12,8 +12,8 @@ use crate::{
1212 base:: { schema:: * , spec:: * } ,
1313 ops:: { interface:: * , registry:: * } ,
1414} ;
15- use futures:: future:: { try_join3 , BoxFuture } ;
16- use futures:: { future:: try_join_all, FutureExt } ;
15+ use futures:: future:: { BoxFuture , try_join3 } ;
16+ use futures:: { FutureExt , future:: try_join_all} ;
1717
1818#[ derive( Debug ) ]
1919pub ( super ) enum ValueTypeBuilder {
@@ -668,15 +668,15 @@ impl AnalyzerContext<'_> {
668668 import_op : NamedSpec < ImportOpSpec > ,
669669 metadata : Option < & mut FlowSetupMetadata > ,
670670 existing_source_states : Option < & Vec < & SourceSetupState > > ,
671- ) -> Result < impl Future < Output = Result < AnalyzedImportOp > > + Send > {
671+ ) -> Result < impl Future < Output = Result < AnalyzedImportOp > > + Send + use < > > {
672672 let factory = self . registry . get ( & import_op. spec . source . kind ) ;
673673 let source_factory = match factory {
674674 Some ( ExecutorFactory :: Source ( source_executor) ) => source_executor. clone ( ) ,
675675 _ => {
676676 return Err ( anyhow:: anyhow!(
677677 "Source executor not found for kind: {}" ,
678678 import_op. spec. source. kind
679- ) )
679+ ) ) ;
680680 }
681681 } ;
682682 let ( output_type, executor) = source_factory. build (
@@ -817,7 +817,7 @@ impl AnalyzerContext<'_> {
817817 return Err ( anyhow:: anyhow!(
818818 "Transform op kind not found: {}" ,
819819 op. op. kind
820- ) )
820+ ) ) ;
821821 }
822822 }
823823 }
@@ -967,7 +967,7 @@ impl AnalyzerContext<'_> {
967967 declarations : Vec < serde_json:: Value > ,
968968 flow_setup_state : & mut FlowSetupState < DesiredMode > ,
969969 existing_target_states : & HashMap < & ResourceIdentifier , Vec < & TargetSetupState > > ,
970- ) -> Result < Vec < impl Future < Output = Result < AnalyzedExportOp > > + Send > > {
970+ ) -> Result < Vec < impl Future < Output = Result < AnalyzedExportOp > > + Send + use < > > > {
971971 let mut collection_specs = Vec :: < interface:: ExportDataCollectionSpec > :: new ( ) ;
972972 let mut data_fields_infos = Vec :: < ExportDataFieldsInfo > :: new ( ) ;
973973 for idx in export_op_group. op_idx . iter ( ) {
@@ -1104,7 +1104,7 @@ impl AnalyzerContext<'_> {
11041104 & self ,
11051105 op_scope : & Arc < OpScope > ,
11061106 reactive_ops : & [ NamedSpec < ReactiveOpSpec > ] ,
1107- ) -> Result < impl Future < Output = Result < AnalyzedOpScope > > + Send > {
1107+ ) -> Result < impl Future < Output = Result < AnalyzedOpScope > > + Send + use < > > {
11081108 let op_futs = reactive_ops
11091109 . iter ( )
11101110 . map ( |reactive_op| self . analyze_reactive_op ( op_scope, reactive_op) )
@@ -1147,7 +1147,7 @@ pub fn analyze_flow(
11471147 registry : & ExecutorFactoryRegistry ,
11481148) -> Result < (
11491149 FlowSchema ,
1150- impl Future < Output = Result < ExecutionPlan > > + Send ,
1150+ impl Future < Output = Result < ExecutionPlan > > + Send + use < > ,
11511151 setup:: FlowSetupState < setup:: DesiredMode > ,
11521152) > {
11531153 let existing_metadata_versions = || {
0 commit comments