CI #1082
Annotations
10 warnings
Run actions-rs-plus/clippy-check@v2:
target/debug/build/fill_random_values-d50cf8efd4c2b6c1/out/fill_capnp.rs#L2411
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-d50cf8efd4c2b6c1/out/fill_capnp.rs:2411:28
|
2411 | 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/fill_random_values-d50cf8efd4c2b6c1/out/fill_capnp.rs#L2414
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-d50cf8efd4c2b6c1/out/fill_capnp.rs:2414:33
|
2414 | 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs#L6369
warning: this match could be replaced by its body itself
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs:6369:7
|
6369 | / match method_id {
6370 | | _ => { ::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string())) }
6371 | | }
| |_______^ 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs#L9728
warning: this match could be replaced by its body itself
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs:9728:7
|
9728 | / match method_id {
9729 | | _ => { ::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string())) }
9730 | | }
| |_______^ 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs#L19485
warning: type parameters go unused in function definition: Foo, Bar
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs:19485:33
|
19485 | pub fn get_annotation_types<Foo,Bar>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where Foo: ::capnp::traits::O...
| ^^^ ^^^
|
= help: consider removing the parameters
= 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs#L19754
warning: type parameters go unused in function definition: Foo, Bar
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs:19754:35
|
19754 | pub fn get_annotation_types<Foo,Bar>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where Foo: ::capnp::traits:...
| ^^^ ^^^
|
= help: consider removing the parameters
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs#L20124
warning: type parameters go unused in function definition: Foo, Bar, Baz
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs:20124:35
|
20124 | pub fn get_annotation_types<Foo,Bar,Baz>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where Foo: ::capnp::tra...
| ^^^ ^^^ ^^^
|
= help: consider removing the parameters
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs#L15591
warning: this match could be replaced by its body itself
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnp-rpc-test-cb69432902d92103/out/test_capnp.rs:15591:9
|
15591 | / match method_id {
15592 | | _ => { ::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string())) }
15593 | | }
| |_________^ 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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs#L20491
warning: type parameters go unused in function definition: Foo, Bar, Baz, Qux
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs:20491:37
|
20491 | ... pub fn get_annotation_types<Foo,Bar,Baz,Qux>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where Foo: ::capnp:...
| ^^^ ^^^ ^^^ ^^^
|
= help: consider removing the parameters
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs#L20568
warning: very complex type used. Consider factoring parts into `type` definitions
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-5e672159526c8518/out/test_capnp.rs:20568:43
|
20568 | ...-> ::capnp::capability::Request<crate::test_capnp::test_generics::inner2::Owned<Foo,Bar,::capnp::text_list::Owned>,crate::test_capnp::test_generics::inner2::Owned<Foo,Bar,::capnp::primitive_list::Owned<i16>>...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
The logs for this run have expired and are no longer available.
Loading