Handle BrokenPipe on FdWaker #26
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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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(
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` 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
|
unused variable: `v`:
mfio-rt/src/test_suite.rs#L197
warning: unused variable: `v`
--> mfio-rt/src/test_suite.rs:197:13
|
197 | let v = listener.next().await.unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
useless conversion to the same type: `io::packet::FullPacket<T, Perms>`:
mfio/src/io/packet/mod.rs#L1062
warning: useless conversion to the same type: `io::packet::FullPacket<T, Perms>`
--> mfio/src/io/packet/mod.rs:1062:9
|
1062 | 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 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-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 (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/
|