Skip to content

mention buffering in doc comment for VatNetwork::new() #1227

mention buffering in doc comment for VatNetwork::new()

mention buffering in doc comment for VatNetwork::new() #1227

Triggered via push June 1, 2024 20:56
Status Success
Total duration 5m 21s
Artifacts

ci.yml

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

Annotations

10 warnings
useless use of `vec!`: capnp/src/serialize.rs#L1015
warning: useless use of `vec!` --> capnp/src/serialize.rs:1015:24 | 1015 | let segments = vec![ | ________________________^ 1016 | | vec![123, 0, 0, 0, 0, 0, 0, 0], 1017 | | vec![4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0], 1018 | | ]; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec = note: `#[warn(clippy::useless_vec)]` on by default help: you can use an array directly | 1015 ~ let segments = [vec![123, 0, 0, 0, 0, 0, 0, 0], 1016 ~ vec![4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0]]; |
useless use of `vec!`: capnp/src/serialize.rs#L1047
warning: useless use of `vec!` --> capnp/src/serialize.rs:1047:24 | 1047 | let segments = vec![ | ________________________^ 1048 | | vec![1, 0, 0, 0, 0, 0, 0, 0], 1049 | | vec![2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], 1050 | | ]; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec help: you can use an array directly | 1047 ~ let segments = [vec![1, 0, 0, 0, 0, 0, 0, 0], 1048 ~ vec![2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0]]; |
type parameter `T` goes unused in function definition: 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
type parameter `T` goes unused in function definition: 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
type parameters go unused in function definition: Foo, Bar: target/debug/build/capnpc-test-edition-2015-78cd8ed3bb4383cb/out/test_capnp.rs#L19583
warning: type parameters go unused in function definition: Foo, Bar --> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-78cd8ed3bb4383cb/out/test_capnp.rs:19583:33 | 19583 | 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-78cd8ed3bb4383cb/out/test_capnp.rs#L19854
warning: type parameters go unused in function definition: Foo, Bar --> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2015-78cd8ed3bb4383cb/out/test_capnp.rs:19854:35 | 19854 | 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-edition-2018-fcf521c3ca4657df/out/test_capnp.rs#L19583
warning: type parameters go unused in function definition: Foo, Bar --> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2018-fcf521c3ca4657df/out/test_capnp.rs:19583:33 | 19583 | 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-2018-fcf521c3ca4657df/out/test_capnp.rs#L19854
warning: type parameters go unused in function definition: Foo, Bar --> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2018-fcf521c3ca4657df/out/test_capnp.rs:19854:35 | 19854 | 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, Baz: target/debug/build/capnpc-test-edition-2015-78cd8ed3bb4383cb/out/test_capnp.rs#L20226
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-78cd8ed3bb4383cb/out/test_capnp.rs:20226:35 | 20226 | 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, Baz: target/debug/build/capnpc-test-edition-2018-fcf521c3ca4657df/out/test_capnp.rs#L20226
warning: type parameters go unused in function definition: Foo, Bar, Baz --> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2018-fcf521c3ca4657df/out/test_capnp.rs:20226:35 | 20226 | 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