refactor: add some more trace logs #99
rust-fmt.yml
on: push
Run rustfmt style commit
31s
Annotations
93 warnings
Run rustfmt style commit
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, stefanzweifel/git-auto-commit-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function depends on never type fallback being `()`:
fluere-plugin/src/lib.rs#L42
warning: this function depends on never type fallback being `()`
--> fluere-plugin/src/lib.rs:42:5
|
42 | pub async fn load_plugins(&self, config: &Config) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: mlua::FromLua<'_>` will fail
--> fluere-plugin/src/lib.rs:85:38
|
85 | ... func.call(argument_table)?;
| ^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function depends on never type fallback being `()`:
fluere-plugin/src/lib.rs#L42
warning: this function depends on never type fallback being `()`
--> fluere-plugin/src/lib.rs:42:5
|
42 | pub async fn load_plugins(&self, config: &Config) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: mlua::FromLua<'_>` will fail
--> fluere-plugin/src/lib.rs:85:38
|
85 | ... func.call(argument_table)?;
| ^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function depends on never type fallback being `()`:
fluere-plugin/src/lib.rs#L42
warning: this function depends on never type fallback being `()`
--> fluere-plugin/src/lib.rs:42:5
|
42 | pub async fn load_plugins(&self, config: &Config) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: mlua::FromLua<'_>` will fail
--> fluere-plugin/src/lib.rs:85:38
|
85 | ... func.call(argument_table)?;
| ^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|
unused import: `pnet::packet::tcp::TcpPacket`:
src/net/parser/keys.rs#L17
warning: unused import: `pnet::packet::tcp::TcpPacket`
--> src/net/parser/keys.rs:17:5
|
17 | use pnet::packet::tcp::TcpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::icmp::IcmpPacket`:
src/net/parser/keys.rs#L13
warning: unused import: `pnet::packet::icmp::IcmpPacket`
--> src/net/parser/keys.rs:13:5
|
13 | use pnet::packet::icmp::IcmpPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `pnet::packet::dns::DnsPacket`:
src/net/parser/keys.rs#L10
warning: unused import: `pnet::packet::dns::DnsPacket`
--> src/net/parser/keys.rs:10:5
|
10 | use pnet::packet::dns::DnsPacket;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L42
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:42:21
|
42 | target_os = "bsd"
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `bsd`:
src/logger.rs#L36
warning: unexpected `cfg` condition value: `bsd`
--> src/logger.rs:36:23
|
36 | #[cfg(target_os = "bsd")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
this function depends on never type fallback being `()`:
fluere-plugin/src/lib.rs#L42
warning: this function depends on never type fallback being `()`
--> fluere-plugin/src/lib.rs:42:5
|
42 | pub async fn load_plugins(&self, config: &Config) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: mlua::FromLua<'_>` will fail
--> fluere-plugin/src/lib.rs:85:38
|
85 | ... func.call(argument_table)?;
| ^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
|
this function has too many arguments (27/7):
fluereflow/src/types/fluereflow.rs#L63
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
|
returning the result of a `let` binding from a block:
fluere-config/src/init.rs#L98
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")
|
|
unneeded unit expression:
fluere-config/src/init.rs#L25
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
|