Skip to content

add generic parameter to SetPointerBuilder #1092

add generic parameter to SetPointerBuilder

add generic parameter to SetPointerBuilder #1092

Triggered via pull request January 11, 2024 21:16
Status Failure
Total duration 4m 59s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
build (stable)
Process completed with exit code 101.
build (beta)
The job was canceled because "stable" failed.
build (beta)
The operation was canceled.
build (nightly)
The job was canceled because "stable" failed.
build (nightly)
The operation was canceled.
minrust
Process completed with exit code 101.
type parameter `T` goes unused in function definition: target/debug/build/fill_random_values-09f22c797e74a785/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-09f22c797e74a785/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
type parameter `T` goes unused in function definition: target/debug/build/fill_random_values-09f22c797e74a785/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-09f22c797e74a785/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
this match could be replaced by its body itself: target/debug/build/capnp-rpc-test-bca9b04e29ee31bc/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-bca9b04e29ee31bc/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
this match could be replaced by its body itself: target/debug/build/capnp-rpc-test-bca9b04e29ee31bc/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-bca9b04e29ee31bc/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
this match could be replaced by its body itself: target/debug/build/capnp-rpc-test-bca9b04e29ee31bc/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-bca9b04e29ee31bc/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
type parameters go unused in function definition: Foo, Bar: target/debug/build/capnpc-test-edition-2015-b51cefe5229481f5/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-b51cefe5229481f5/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
type parameters go unused in function definition: Foo, Bar: target/debug/build/capnpc-test-edition-2015-b51cefe5229481f5/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-b51cefe5229481f5/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
type parameters go unused in function definition: Foo, Bar: target/debug/build/capnpc-test-aaf02738b88c6c8f/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-aaf02738b88c6c8f/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
type parameters go unused in function definition: Foo, Bar, Baz: target/debug/build/capnpc-test-edition-2015-b51cefe5229481f5/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-b51cefe5229481f5/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
type parameters go unused in function definition: Foo, Bar: target/debug/build/capnpc-test-aaf02738b88c6c8f/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-aaf02738b88c6c8f/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