Skip to content

Split up workflows

Split up workflows #4

GitHub Actions / clippy succeeded Oct 30, 2023 in 0s

clippy

10 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 10
Note 0
Help 0

Versions

  • rustc 1.72.1 (d5c2e9c34 2023-09-13)
  • cargo 1.72.1 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (d5c2e9c3 2023-09-13)

Annotations

Check warning on line 52 in mfio-rt/src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated function `null` is never used

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 {
   |            ^^^^

Check warning on line 19 in mfio-rt/src/native/impls/unix_extra.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `new_socket` is never used

warning: function `new_socket` is never used
  --> mfio-rt/src/native/impls/unix_extra.rs:19:15
   |
19 | pub(crate) fn new_socket(
   |               ^^^^^^^^^^

Check warning on line 7 in mfio-rt/src/native/impls/unix_extra.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `new_for_addr` is never used

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(
  |               ^^^^^^^^^^^^

Check warning on line 497 in mfio-rt/src/native/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `register_file` is never used

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

Check warning on line 1064 in mfio/src/io/packet/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `io::packet::FullPacket<T, Perms>`

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

Check warning on line 52 in mfio-rt/src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated function `null` is never used

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 {
   |            ^^^^

Check warning on line 19 in mfio-rt/src/native/impls/unix_extra.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `new_socket` is never used

warning: function `new_socket` is never used
  --> mfio-rt/src/native/impls/unix_extra.rs:19:15
   |
19 | pub(crate) fn new_socket(
   |               ^^^^^^^^^^

Check warning on line 7 in mfio-rt/src/native/impls/unix_extra.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `new_for_addr` is never used

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(
  |               ^^^^^^^^^^^^

Check warning on line 497 in mfio-rt/src/native/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `register_file` is never used

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

Check warning on line 1064 in mfio/src/io/packet/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `io::packet::FullPacket<T, Perms>`

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