Skip to content

feat: implement TryParallel operator #659

feat: implement TryParallel operator

feat: implement TryParallel operator #659

Re-run triggered February 12, 2025 22:49
Status Failure
Total duration 47s
Artifacts

ci.yaml

on: pull_request
stable / fmt
13s
stable / fmt
stable / check rig-core wasm target
13s
stable / check rig-core wasm target
stable / clippy
32s
stable / clippy
stable / test
37s
stable / test
stable / doc
30s
stable / doc
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 1 warning
stable / check rig-core wasm target: rig-core/src/pipeline/try_op.rs#L369
method `try_call` is not a member of trait `op::Op`
stable / check rig-core wasm target: rig-core/src/pipeline/try_op.rs#L372
no method named `clone` found for associated type `<Op1 as TryOp>::Input` in the current scope
stable / check rig-core wasm target: rig-core/src/pipeline/try_op.rs#L360
not all trait items implemented, missing: `call`
stable / check rig-core wasm target
Process completed with exit code 101.
stable / fmt
Process completed with exit code 1.
stable / doc: rig-core/src/pipeline/try_op.rs#L369
method `try_call` is not a member of trait `op::Op`
stable / doc: rig-core/src/pipeline/try_op.rs#L360
not all trait items implemented, missing: `call`
stable / doc: rig-core/src/pipeline/try_op.rs#L372
no method named `clone` found for associated type `<Op1 as TryOp>::Input` in the current scope
stable / doc
Process completed with exit code 101.
method `try_call` is not a member of trait `op::Op`: rig-core/src/pipeline/try_op.rs#L369
error[E0407]: method `try_call` is not a member of trait `op::Op` --> rig-core/src/pipeline/try_op.rs:369:5 | 369 | / async fn try_call(&self, input: Self::Input) -> Result<(Op1::Output, Op2::Output), Op1::Error> { 370 | | use futures::try_join; 371 | | try_join!( 372 | | self.op1.try_call(input.clone()), 373 | | self.op2.try_call(input) 374 | | ) 375 | | } | |_____^ not a member of trait `op::Op`
no method named `clone` found for associated type `<Op1 as pipeline::try_op::TryOp>::Input` in the current scope: rig-core/src/pipeline/try_op.rs#L372
error[E0599]: no method named `clone` found for associated type `<Op1 as pipeline::try_op::TryOp>::Input` in the current scope --> rig-core/src/pipeline/try_op.rs:372:37 | 372 | self.op1.try_call(input.clone()), | ^^^^^ method not found in `<Op1 as TryOp>::Input`
not all trait items implemented, missing: `call`: rig-core/src/pipeline/try_op.rs#L360
error[E0046]: not all trait items implemented, missing: `call` --> rig-core/src/pipeline/try_op.rs:360:1 | 360 | / impl<Op1, Op2> op::Op for TryParallel<Op1, Op2> 361 | | where 362 | | Op1: TryOp, 363 | | Op2: TryOp<Input = Op1::Input, Error = Op1::Error>, | |_______________________________________________________^ missing `call` in implementation | ::: rig-core/src/pipeline/op.rs:14:5 | 14 | fn call(&self, input: Self::Input) -> impl Future<Output = Self::Output> + Send; | -------------------------------------------------------------------------------- `call` from trait
stable / clippy
Clippy has exited with exit code 101
stable / test: rig-core/src/pipeline/try_op.rs#L369
method `try_call` is not a member of trait `op::Op`
stable / test: rig-core/src/pipeline/try_op.rs#L372
no method named `clone` found for associated type `<Op1 as try_op::TryOp>::Input` in the current scope
stable / test: rig-core/src/pipeline/try_op.rs#L372
no method named `clone` found for associated type `<Op1 as TryOp>::Input` in the current scope
stable / test: rig-core/src/pipeline/try_op.rs#L360
not all trait items implemented, missing: `call`
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
stable / fmt: rig-core/src/pipeline/try_op.rs#L368
Diff in /home/runner/work/rig/rig/rig-core/src/pipeline/try_op.rs