Skip to content

New CI

New CI #4

Triggered via pull request January 19, 2024 22:24
@jonhoojonhoo
synchronize #27
new-ci
Status Success
Total duration 2m 28s
Artifacts

test.yml

on: pull_request
ubuntu / stable / minimal-versions
2m 17s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
1m 25s
ubuntu / stable / coverage
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

52 warnings
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1360
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1360:24 | 1360 | let ops = &mut (&mut *ctx).ops; | ^^^^^^^^^^^ help: change this to: `(*ctx)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1359
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1359:19 | 1359 | let ctx = (&*self.qp).context; | ^^^^^^^^^^^ help: change this to: `(*self.qp)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1337
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1337:19 | 1337 | lkey: (&*mr.mr).lkey, | ^^^^^^^^^ help: change this to: `(*mr.mr)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
manual slice size calculation: ibverbs/src/lib.rs#L1336
warning: manual slice size calculation --> ibverbs/src/lib.rs:1336:21 | 1336 | length: (mem::size_of::<T>() * range.len()) as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(range)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1284
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1284:24 | 1284 | let ops = &mut (&mut *ctx).ops; | ^^^^^^^^^^^ help: change this to: `(*ctx)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1283
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1283:19 | 1283 | let ctx = (&*self.qp).context; | ^^^^^^^^^^^ help: change this to: `(*self.qp)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1253
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1253:19 | 1253 | lkey: (&*mr.mr).lkey, | ^^^^^^^^^ help: change this to: `(*mr.mr)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
manual slice size calculation: ibverbs/src/lib.rs#L1252
warning: manual slice size calculation --> ibverbs/src/lib.rs:1252:21 | 1252 | length: (mem::size_of::<T>() * range.len()) as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(range)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L1012
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:1012:9 | 1012 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_RTS; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_RTS, timeout: self.timeout, retry_cnt: self.retry_count, sq_psn: 0, rnr_retry: self.rnr_retry, max_rd_atomic: 1, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:1011:9 | 1011 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L985
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:985:9 | 985 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_RTR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_RTR, path_mtu: self.ctx.port_attr.active_mtu, dest_qp_num: remote.num, rq_psn: 0, max_dest_rd_atomic: 1, min_rnr_timer: self.min_rnr_timer, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:984:9 | 984 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L970
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:970:9 | 970 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_INIT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_INIT, qp_access_flags: self.access.0, pkey_index: 0, port_num: PORT_NUM, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:969:9 | 969 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default = note: `#[warn(clippy::field_reassign_with_default)]` on by default
this returns a `Result<_, ()>`: ibverbs/src/lib.rs#L489
warning: this returns a `Result<_, ()>` --> ibverbs/src/lib.rs:489:5 | 489 | / pub fn poll<'c>( 490 | | &self, 491 | | completions: &'c mut [ffi::ibv_wc], 492 | | ) -> Result<&'c mut [ffi::ibv_wc], ()> { | |__________________________________________^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
this returns a `Result<_, ()>`: ibverbs/src/lib.rs#L441
warning: this returns a `Result<_, ()>` --> ibverbs/src/lib.rs:441:5 | 441 | pub fn alloc_pd(&self) -> Result<ProtectionDomain<'_>, ()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err = note: `#[warn(clippy::result_unit_err)]` on by default
use of `offset` with a `usize` casted to an `isize`: ibverbs/src/sliceindex.rs#L50
warning: use of `offset` with a `usize` casted to an `isize` --> ibverbs/src/sliceindex.rs:50:13 | 50 | slice.as_ptr().offset(self.start as isize), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_ptr().add(self.start)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
use of `offset` with a `usize` casted to an `isize`: ibverbs/src/sliceindex.rs#L21
warning: use of `offset` with a `usize` casted to an `isize` --> ibverbs/src/sliceindex.rs:21:11 | 21 | &*slice.as_ptr().offset(self as isize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_ptr().add(self)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast = note: `#[warn(clippy::ptr_offset_with_cast)]` on by default
redundant field names in struct initialization: ibverbs/src/lib.rs#L1340
warning: redundant field names in struct initialization --> ibverbs/src/lib.rs:1340:13 | 1340 | wr_id: wr_id, | ^^^^^^^^^^^^ help: replace it with: `wr_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: ibverbs/src/lib.rs#L1256
warning: redundant field names in struct initialization --> ibverbs/src/lib.rs:1256:13 | 1256 | wr_id: wr_id, | ^^^^^^^^^^^^ help: replace it with: `wr_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L851
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:851:16 | 851 | /// __be64 interface_id; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L851
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:851:5 | 851 | /// __be64 interface_id; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L850
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:850:16 | 850 | /// __be64 subnet_prefix; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L850
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:850:5 | 850 | /// __be64 subnet_prefix; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
lint name `doc_markdown` is deprecated and may not have an effect in the future.: ibverbs/src/lib.rs#L66
warning: lint name `doc_markdown` is deprecated and may not have an effect in the future. --> ibverbs/src/lib.rs:66:45 | 66 | #![cfg_attr(feature = "cargo-clippy", allow(doc_markdown))] | ^^^^^^^^^^^^ help: change it to: `clippy::doc_markdown` | = note: `#[warn(renamed_and_removed_lints)]` on by default
lint name `len_without_is_empty` is deprecated and may not have an effect in the future.: ibverbs-sys/src/lib.rs#L58
warning: lint name `len_without_is_empty` is deprecated and may not have an effect in the future. --> ibverbs-sys/src/lib.rs:58:44 | 58 | #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty`
lint name `expl_impl_clone_on_copy` is deprecated and may not have an effect in the future.: ibverbs-sys/src/lib.rs#L1
warning: lint name `expl_impl_clone_on_copy` is deprecated and may not have an effect in the future. --> ibverbs-sys/src/lib.rs:1:45 | 1 | #![cfg_attr(feature = "cargo-clippy", allow(expl_impl_clone_on_copy))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::expl_impl_clone_on_copy` | = note: `#[warn(renamed_and_removed_lints)]` on by default
the borrowed expression implements the required traits: ibverbs-sys/build.rs#L26
warning: the borrowed expression implements the required traits --> ibverbs-sys/build.rs:26:15 | 26 | .args(&["build.sh"]) | ^^^^^^^^^^^^^ help: change this to: `["build.sh"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: ibverbs-sys/build.rs#L13
warning: the borrowed expression implements the required traits --> ibverbs-sys/build.rs:13:19 | 13 | .args(&["submodule", "update", "--init"]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["submodule", "update", "--init"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1360
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1360:24 | 1360 | let ops = &mut (&mut *ctx).ops; | ^^^^^^^^^^^ help: change this to: `(*ctx)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1359
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1359:19 | 1359 | let ctx = (&*self.qp).context; | ^^^^^^^^^^^ help: change this to: `(*self.qp)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1337
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1337:19 | 1337 | lkey: (&*mr.mr).lkey, | ^^^^^^^^^ help: change this to: `(*mr.mr)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
manual slice size calculation: ibverbs/src/lib.rs#L1336
warning: manual slice size calculation --> ibverbs/src/lib.rs:1336:21 | 1336 | length: (mem::size_of::<T>() * range.len()) as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(range)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1284
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1284:24 | 1284 | let ops = &mut (&mut *ctx).ops; | ^^^^^^^^^^^ help: change this to: `(*ctx)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1283
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1283:19 | 1283 | let ctx = (&*self.qp).context; | ^^^^^^^^^^^ help: change this to: `(*self.qp)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression borrows a value the compiler would automatically borrow: ibverbs/src/lib.rs#L1253
warning: this expression borrows a value the compiler would automatically borrow --> ibverbs/src/lib.rs:1253:19 | 1253 | lkey: (&*mr.mr).lkey, | ^^^^^^^^^ help: change this to: `(*mr.mr)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
manual slice size calculation: ibverbs/src/lib.rs#L1252
warning: manual slice size calculation --> ibverbs/src/lib.rs:1252:21 | 1252 | length: (mem::size_of::<T>() * range.len()) as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(range)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L1012
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:1012:9 | 1012 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_RTS; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_RTS, timeout: self.timeout, retry_cnt: self.retry_count, sq_psn: 0, rnr_retry: self.rnr_retry, max_rd_atomic: 1, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:1011:9 | 1011 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L985
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:985:9 | 985 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_RTR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_RTR, path_mtu: self.ctx.port_attr.active_mtu, dest_qp_num: remote.num, rq_psn: 0, max_dest_rd_atomic: 1, min_rnr_timer: self.min_rnr_timer, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:984:9 | 984 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
field assignment outside of initializer for an instance created with Default::default(): ibverbs/src/lib.rs#L970
warning: field assignment outside of initializer for an instance created with Default::default() --> ibverbs/src/lib.rs:970:9 | 970 | attr.qp_state = ffi::ibv_qp_state::IBV_QPS_INIT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `ibverbs_sys::ibv_qp_attr { qp_state: ffi::ibv_qp_state::IBV_QPS_INIT, qp_access_flags: self.access.0, pkey_index: 0, port_num: PORT_NUM, ..Default::default() }` and removing relevant reassignments --> ibverbs/src/lib.rs:969:9 | 969 | let mut attr = ffi::ibv_qp_attr::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default = note: `#[warn(clippy::field_reassign_with_default)]` on by default
this returns a `Result<_, ()>`: ibverbs/src/lib.rs#L489
warning: this returns a `Result<_, ()>` --> ibverbs/src/lib.rs:489:5 | 489 | / pub fn poll<'c>( 490 | | &self, 491 | | completions: &'c mut [ffi::ibv_wc], 492 | | ) -> Result<&'c mut [ffi::ibv_wc], ()> { | |__________________________________________^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
this returns a `Result<_, ()>`: ibverbs/src/lib.rs#L441
warning: this returns a `Result<_, ()>` --> ibverbs/src/lib.rs:441:5 | 441 | pub fn alloc_pd(&self) -> Result<ProtectionDomain<'_>, ()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err = note: `#[warn(clippy::result_unit_err)]` on by default
use of `offset` with a `usize` casted to an `isize`: ibverbs/src/sliceindex.rs#L50
warning: use of `offset` with a `usize` casted to an `isize` --> ibverbs/src/sliceindex.rs:50:13 | 50 | slice.as_ptr().offset(self.start as isize), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_ptr().add(self.start)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
use of `offset` with a `usize` casted to an `isize`: ibverbs/src/sliceindex.rs#L21
warning: use of `offset` with a `usize` casted to an `isize` --> ibverbs/src/sliceindex.rs:21:11 | 21 | &*slice.as_ptr().offset(self as isize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_ptr().add(self)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast = note: `#[warn(clippy::ptr_offset_with_cast)]` on by default
redundant field names in struct initialization: ibverbs/src/lib.rs#L1340
warning: redundant field names in struct initialization --> ibverbs/src/lib.rs:1340:13 | 1340 | wr_id: wr_id, | ^^^^^^^^^^^^ help: replace it with: `wr_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: ibverbs/src/lib.rs#L1256
warning: redundant field names in struct initialization --> ibverbs/src/lib.rs:1256:13 | 1256 | wr_id: wr_id, | ^^^^^^^^^^^^ help: replace it with: `wr_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L851
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:851:16 | 851 | /// __be64 interface_id; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L851
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:851:5 | 851 | /// __be64 interface_id; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L850
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:850:16 | 850 | /// __be64 subnet_prefix; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: ibverbs/src/lib.rs#L850
warning: using tabs in doc comments is not recommended --> ibverbs/src/lib.rs:850:5 | 850 | /// __be64 subnet_prefix; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
lint name `doc_markdown` is deprecated and may not have an effect in the future.: ibverbs/src/lib.rs#L66
warning: lint name `doc_markdown` is deprecated and may not have an effect in the future. --> ibverbs/src/lib.rs:66:45 | 66 | #![cfg_attr(feature = "cargo-clippy", allow(doc_markdown))] | ^^^^^^^^^^^^ help: change it to: `clippy::doc_markdown` | = note: `#[warn(renamed_and_removed_lints)]` on by default
lint name `len_without_is_empty` is deprecated and may not have an effect in the future.: ibverbs-sys/src/lib.rs#L58
warning: lint name `len_without_is_empty` is deprecated and may not have an effect in the future. --> ibverbs-sys/src/lib.rs:58:44 | 58 | #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty`
lint name `expl_impl_clone_on_copy` is deprecated and may not have an effect in the future.: ibverbs-sys/src/lib.rs#L1
warning: lint name `expl_impl_clone_on_copy` is deprecated and may not have an effect in the future. --> ibverbs-sys/src/lib.rs:1:45 | 1 | #![cfg_attr(feature = "cargo-clippy", allow(expl_impl_clone_on_copy))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::expl_impl_clone_on_copy` | = note: `#[warn(renamed_and_removed_lints)]` on by default
the borrowed expression implements the required traits: ibverbs-sys/build.rs#L26
warning: the borrowed expression implements the required traits --> ibverbs-sys/build.rs:26:15 | 26 | .args(&["build.sh"]) | ^^^^^^^^^^^^^ help: change this to: `["build.sh"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: ibverbs-sys/build.rs#L13
warning: the borrowed expression implements the required traits --> ibverbs-sys/build.rs:13:19 | 13 | .args(&["submodule", "update", "--init"]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["submodule", "update", "--init"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default