Box up io_uring recv_msg #19
Annotations
84 warnings
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
associated function `null` is never used:
mfio-rt/src/util.rs#L52
warning: associated function `null` is never used
--> mfio-rt/src/util.rs:52:12
|
51 | impl RawBox {
| ----------- associated function in this implementation
52 | pub fn null() -> Self {
| ^^^^
|
function `new_socket` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L19
warning: function `new_socket` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:19:15
|
19 | pub(crate) fn new_socket(
| ^^^^^^^^^^
|
function `new_for_addr` is never used:
mfio-rt/src/native/impls/unix_extra.rs#L7
warning: function `new_for_addr` is never used
--> mfio-rt/src/native/impls/unix_extra.rs:7:15
|
7 | pub(crate) fn new_for_addr(
| ^^^^^^^^^^^^
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:71
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^ help: try: `*IOV_MAX`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`usize` -> `usize`):
mfio-rt/src/native/impls/io_uring/tcp_stream.rs#L115
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> mfio-rt/src/native/impls/io_uring/tcp_stream.rs:115:49
|
115 | msg.msg_iovlen = core::cmp::min(queue.len() as usize, *IOV_MAX as usize) as _;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `queue.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
method `register_file` is never used:
mfio-rt/src/native/mod.rs#L497
warning: method `register_file` is never used
--> mfio-rt/src/native/mod.rs:497:8
|
481 | impl NativeRt {
| ------------- method in this implementation
...
497 | fn register_file(&self, file: std::fs::File) -> NativeFile {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1064
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1064:9
|
1064 | self.into()
| ^^^^^^^^^^^ help: consider removing `.into()`: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_uns...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_uns...
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_uns...
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_uns...
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan-lite (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_uns...
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_unstable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg mfio_assume_linear_types --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test-asan (ubuntu-latest, nightly-2023-09-01, --cfg tokio_unstable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|