start trying to implement tail_call() and set_pipeline() #1274
Annotations
10 warnings
capnp/src/capability.rs#L267
warning: unused variable: `pipeline`
--> capnp/src/capability.rs:267:36
|
267 | pub fn set_pipeline(&mut self, pipeline: T::Pipeline) {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipeline`
|
= note: `#[warn(unused_variables)]` on by default
|
target/debug/build/fill_random_values-2fa3a13eb53b13ba/out/fill_capnp.rs#L2431
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-2fa3a13eb53b13ba/out/fill_capnp.rs:2431:28
|
2431 | pub fn get_field_types<T>(index: u16) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
target/debug/build/fill_random_values-2fa3a13eb53b13ba/out/fill_capnp.rs#L2434
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-2fa3a13eb53b13ba/out/fill_capnp.rs:2434:33
|
2434 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
capnp-rpc/src/local.rs#L129
warning: unused variable: `pipeline`
--> capnp-rpc/src/local.rs:129:32
|
129 | fn set_pipeline(&mut self, pipeline: Box<dyn PipelineHook>) {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipeline`
|
= note: `#[warn(unused_variables)]` on by default
|
capnp-rpc/src/rpc.rs#L2255
warning: unused variable: `pipeline`
--> capnp-rpc/src/rpc.rs:2255:32
|
2255 | fn set_pipeline(&mut self, pipeline: Box<dyn PipelineHook>) {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipeline`
|
capnp-rpc/src/rpc.rs#L2264
warning: unused variable: `pipeline`
--> capnp-rpc/src/rpc.rs:2264:23
|
2264 | let (promise, pipeline) = self.direct_tail_call(request);
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipeline`
|
capnp-rpc/src/rpc.rs#L2143
warning: field `tail_call_pipeline_fulfiller` is never read
--> capnp-rpc/src/rpc.rs:2143:5
|
2135 | struct ResultsInner<VatId>
| ------------ field in this struct
...
2143 | tail_call_pipeline_fulfiller: Option<oneshot::Sender<any_pointer::Pipeline>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs#L87
warning: this match could be replaced by its body itself
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs:87:7
|
87 | / match method_id {
88 | | _ => { ::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string())) }
89 | | }
| |_______^ help: consider using the match body instead: `::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string()))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: `#[warn(clippy::match_single_binding)]` on by default
|
target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs#L412
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs:412:35
|
412 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs#L625
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-dfd1e539386b323c/out/pubsub_capnp.rs:625:30
|
625 | pub fn get_field_types<T>(index: u16) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
This job succeeded
Loading