Skip to content

feat: introduce Clone to plugin manager #441

feat: introduce Clone to plugin manager

feat: introduce Clone to plugin manager #441

GitHub Actions / clippy succeeded May 7, 2024 in 1s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check warning on line 340 in src/net/live_fluereflow.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused implementer of `std::future::Future` that must be used

warning: unused implementer of `std::future::Future` that must be used
   --> src/net/live_fluereflow.rs:340:9
    |
340 |         fluere_exporter(records, file);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them

Check warning on line 298 in src/net/live_fluereflow.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused implementer of `std::future::Future` that must be used

warning: unused implementer of `std::future::Future` that must be used
   --> src/net/live_fluereflow.rs:298:25
    |
298 |                         fluere_exporter(cloned_records, file);
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them
    = note: `#[warn(unused_must_use)]` on by default

Check warning on line 91 in fluereflow/src/types/fluereflow.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (27/7)

warning: this function has too many arguments (27/7)
  --> fluereflow/src/types/fluereflow.rs:63:5
   |
63 | /     pub fn new(
64 | |         source: IpAddr,
65 | |         destination: IpAddr,
66 | |         d_pkts: u32,
...  |
90 | |         tos: u8,
91 | |     ) -> FluereRecord {
   | |_____________________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
   = note: `#[warn(clippy::too_many_arguments)]` on by default

Check warning on line 98 in fluere-config/src/init.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

returning the result of a `let` binding from a block

warning: returning the result of a `let` binding from a block
  --> fluere-config/src/init.rs:98:5
   |
97 |     let path_config = path_base.join("fluere");
   |     ------------------------------------------- unnecessary `let` binding
98 |     path_config
   |     ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
   = note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
   |
97 ~     
98 ~     path_base.join("fluere")
   |

Check warning on line 25 in fluere-config/src/init.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded unit expression

warning: unneeded unit expression
  --> fluere-config/src/init.rs:25:21
   |
25 |                     ()
   |                     ^^ help: remove the final `()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
   = note: `#[warn(clippy::unused_unit)]` on by default