Skip to content

feat: implement IGMP parsing #426

feat: implement IGMP parsing

feat: implement IGMP parsing #426

Triggered via push January 21, 2025 14:57
Status Failure
Total duration 1m 39s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

82 errors and 18 warnings
build
Process completed with exit code 101.
cannot find function `parse_bgp` in module `bgp`: src/net/parser/raw/protocols/mod.rs#L69
error[E0425]: cannot find function `parse_bgp` in module `bgp` --> src/net/parser/raw/protocols/mod.rs:69:21 | 69 | 179 => bgp::parse_bgp(packet), | ^^^^^^^^^ not found in `bgp`
cannot find function `parse_isis` in module `isis`: src/net/parser/raw/protocols/mod.rs#L67
error[E0425]: cannot find function `parse_isis` in module `isis` --> src/net/parser/raw/protocols/mod.rs:67:22 | 67 | 124 => isis::parse_isis(packet), | ^^^^^^^^^^ not found in `isis`
cannot find function `parse_l2tp` in module `l2tp`: src/net/parser/raw/protocols/mod.rs#L66
error[E0425]: cannot find function `parse_l2tp` in module `l2tp` --> src/net/parser/raw/protocols/mod.rs:66:22 | 66 | 115 => l2tp::parse_l2tp(packet), | ^^^^^^^^^^ not found in `l2tp`
cannot find function `parse_wireguard` in module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L45
error[E0425]: cannot find function `parse_wireguard` in module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:45:34 | 45 | 0x88B8 => wireguard::parse_wireguard(packet), | ^^^^^^^^^^^^^^^ not found in `wireguard`
cannot find function `parse_vxlan` in module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L44
error[E0425]: cannot find function `parse_vxlan` in module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:44:30 | 44 | 0x12B5 => vxlan::parse_vxlan(packet), | ^^^^^^^^^^^ not found in `vxlan`
cannot find function `parse_mpls` in module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L43
error[E0425]: cannot find function `parse_mpls` in module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:43:38 | 43 | 0x8847 | 0x8848 => mpls::parse_mpls(packet), | ^^^^^^^^^^ not found in `mpls`
unresolved import `vrrp::VrrpParser`: src/net/parser/raw/protocols/mod.rs#L27
error[E0432]: unresolved import `vrrp::VrrpParser` --> src/net/parser/raw/protocols/mod.rs:27:9 | 27 | pub use vrrp::VrrpParser; | ^^^^^^^^^^^^^^^^ no `VrrpParser` in `net::parser::raw::protocols::vrrp`
unresolved import `sctp::SctpParser`: src/net/parser/raw/protocols/mod.rs#L26
error[E0432]: unresolved import `sctp::SctpParser` --> src/net/parser/raw/protocols/mod.rs:26:9 | 26 | pub use sctp::SctpParser; | ^^^^^^^^^^^^^^^^ no `SctpParser` in `net::parser::raw::protocols::sctp`
unresolved import `pim::PimParser`: src/net/parser/raw/protocols/mod.rs#L25
error[E0432]: unresolved import `pim::PimParser` --> src/net/parser/raw/protocols/mod.rs:25:9 | 25 | pub use pim::PimParser; | ^^^^^^^^^^^^^^ no `PimParser` in `net::parser::raw::protocols::pim`
unresolved import `ospf::OspfParser`: src/net/parser/raw/protocols/mod.rs#L24
error[E0432]: unresolved import `ospf::OspfParser` --> src/net/parser/raw/protocols/mod.rs:24:9 | 24 | pub use ospf::OspfParser; | ^^^^^^^^^^^^^^^^ no `OspfParser` in `net::parser::raw::protocols::ospf`
unresolved import `ipx::IpxParser`: src/net/parser/raw/protocols/mod.rs#L23
error[E0432]: unresolved import `ipx::IpxParser` --> src/net/parser/raw/protocols/mod.rs:23:9 | 23 | pub use ipx::IpxParser; | ^^^^^^^^^^^^^^ no `IpxParser` in `net::parser::raw::protocols::ipx`
unresolved import `esp::EspParser`: src/net/parser/raw/protocols/mod.rs#L19
error[E0432]: unresolved import `esp::EspParser` --> src/net/parser/raw/protocols/mod.rs:19:9 | 19 | pub use esp::EspParser; | ^^^^^^^^^^^^^^ no `EspParser` in `net::parser::raw::protocols::esp`
unresolved import `ah::AhParser`: src/net/parser/raw/protocols/mod.rs#L18
error[E0432]: unresolved import `ah::AhParser` --> src/net/parser/raw/protocols/mod.rs:18:9 | 18 | pub use ah::AhParser; | ^^^^^^^^^^^^ no `AhParser` in `net::parser::raw::protocols::ah`
file not found for module `vrrp`: src/net/parser/raw/protocols/mod.rs#L14
error[E0583]: file not found for module `vrrp` --> src/net/parser/raw/protocols/mod.rs:14:1 | 14 | mod vrrp; | ^^^^^^^^^ | = help: to create the module `vrrp`, create file "src/net/parser/raw/protocols/vrrp.rs" or "src/net/parser/raw/protocols/vrrp/mod.rs" = note: if there is a `mod vrrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `sctp`: src/net/parser/raw/protocols/mod.rs#L13
error[E0583]: file not found for module `sctp` --> src/net/parser/raw/protocols/mod.rs:13:1 | 13 | mod sctp; | ^^^^^^^^^ | = help: to create the module `sctp`, create file "src/net/parser/raw/protocols/sctp.rs" or "src/net/parser/raw/protocols/sctp/mod.rs" = note: if there is a `mod sctp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `pim`: src/net/parser/raw/protocols/mod.rs#L12
error[E0583]: file not found for module `pim` --> src/net/parser/raw/protocols/mod.rs:12:1 | 12 | mod pim; | ^^^^^^^^ | = help: to create the module `pim`, create file "src/net/parser/raw/protocols/pim.rs" or "src/net/parser/raw/protocols/pim/mod.rs" = note: if there is a `mod pim` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ospf`: src/net/parser/raw/protocols/mod.rs#L11
error[E0583]: file not found for module `ospf` --> src/net/parser/raw/protocols/mod.rs:11:1 | 11 | mod ospf; | ^^^^^^^^^ | = help: to create the module `ospf`, create file "src/net/parser/raw/protocols/ospf.rs" or "src/net/parser/raw/protocols/ospf/mod.rs" = note: if there is a `mod ospf` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `l2tp`: src/net/parser/raw/protocols/mod.rs#L10
error[E0583]: file not found for module `l2tp` --> src/net/parser/raw/protocols/mod.rs:10:1 | 10 | mod l2tp; | ^^^^^^^^^ | = help: to create the module `l2tp`, create file "src/net/parser/raw/protocols/l2tp.rs" or "src/net/parser/raw/protocols/l2tp/mod.rs" = note: if there is a `mod l2tp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `isis`: src/net/parser/raw/protocols/mod.rs#L9
error[E0583]: file not found for module `isis` --> src/net/parser/raw/protocols/mod.rs:9:1 | 9 | mod isis; | ^^^^^^^^^ | = help: to create the module `isis`, create file "src/net/parser/raw/protocols/isis.rs" or "src/net/parser/raw/protocols/isis/mod.rs" = note: if there is a `mod isis` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ipx`: src/net/parser/raw/protocols/mod.rs#L8
error[E0583]: file not found for module `ipx` --> src/net/parser/raw/protocols/mod.rs:8:1 | 8 | mod ipx; | ^^^^^^^^ | = help: to create the module `ipx`, create file "src/net/parser/raw/protocols/ipx.rs" or "src/net/parser/raw/protocols/ipx/mod.rs" = note: if there is a `mod ipx` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `esp`: src/net/parser/raw/protocols/mod.rs#L4
error[E0583]: file not found for module `esp` --> src/net/parser/raw/protocols/mod.rs:4:1 | 4 | mod esp; | ^^^^^^^^ | = help: to create the module `esp`, create file "src/net/parser/raw/protocols/esp.rs" or "src/net/parser/raw/protocols/esp/mod.rs" = note: if there is a `mod esp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `eigrp`: src/net/parser/raw/protocols/mod.rs#L3
error[E0583]: file not found for module `eigrp` --> src/net/parser/raw/protocols/mod.rs:3:1 | 3 | mod eigrp; | ^^^^^^^^^^ | = help: to create the module `eigrp`, create file "src/net/parser/raw/protocols/eigrp.rs" or "src/net/parser/raw/protocols/eigrp/mod.rs" = note: if there is a `mod eigrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `bgp`: src/net/parser/raw/protocols/mod.rs#L2
error[E0583]: file not found for module `bgp` --> src/net/parser/raw/protocols/mod.rs:2:1 | 2 | mod bgp; | ^^^^^^^^ | = help: to create the module `bgp`, create file "src/net/parser/raw/protocols/bgp.rs" or "src/net/parser/raw/protocols/bgp/mod.rs" = note: if there is a `mod bgp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ah`: src/net/parser/raw/protocols/mod.rs#L1
error[E0583]: file not found for module `ah` --> src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ | = help: to create the module `ah`, create file "src/net/parser/raw/protocols/ah.rs" or "src/net/parser/raw/protocols/ah/mod.rs" = note: if there is a `mod ah` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L5
error[E0583]: file not found for module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:5:1 | 5 | mod wireguard; | ^^^^^^^^^^^^^^ | = help: to create the module `wireguard`, create file "src/net/parser/raw/ethertypes/wireguard.rs" or "src/net/parser/raw/ethertypes/wireguard/mod.rs" = note: if there is a `mod wireguard` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L4
error[E0583]: file not found for module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:4:1 | 4 | mod vxlan; | ^^^^^^^^^^ | = help: to create the module `vxlan`, create file "src/net/parser/raw/ethertypes/vxlan.rs" or "src/net/parser/raw/ethertypes/vxlan/mod.rs" = note: if there is a `mod vxlan` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L2
error[E0583]: file not found for module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ | = help: to create the module `mpls`, create file "src/net/parser/raw/ethertypes/mpls.rs" or "src/net/parser/raw/ethertypes/mpls/mod.rs" = note: if there is a `mod mpls` elsewhere in the crate already, import it with `use crate::...` instead
cannot find function `parse_bgp` in module `bgp`: src/net/parser/raw/protocols/mod.rs#L69
error[E0425]: cannot find function `parse_bgp` in module `bgp` --> src/net/parser/raw/protocols/mod.rs:69:21 | 69 | 179 => bgp::parse_bgp(packet), | ^^^^^^^^^ not found in `bgp`
cannot find function `parse_isis` in module `isis`: src/net/parser/raw/protocols/mod.rs#L67
error[E0425]: cannot find function `parse_isis` in module `isis` --> src/net/parser/raw/protocols/mod.rs:67:22 | 67 | 124 => isis::parse_isis(packet), | ^^^^^^^^^^ not found in `isis`
cannot find function `parse_l2tp` in module `l2tp`: src/net/parser/raw/protocols/mod.rs#L66
error[E0425]: cannot find function `parse_l2tp` in module `l2tp` --> src/net/parser/raw/protocols/mod.rs:66:22 | 66 | 115 => l2tp::parse_l2tp(packet), | ^^^^^^^^^^ not found in `l2tp`
cannot find function `parse_wireguard` in module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L45
error[E0425]: cannot find function `parse_wireguard` in module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:45:34 | 45 | 0x88B8 => wireguard::parse_wireguard(packet), | ^^^^^^^^^^^^^^^ not found in `wireguard`
cannot find function `parse_vxlan` in module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L44
error[E0425]: cannot find function `parse_vxlan` in module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:44:30 | 44 | 0x12B5 => vxlan::parse_vxlan(packet), | ^^^^^^^^^^^ not found in `vxlan`
cannot find function `parse_mpls` in module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L43
error[E0425]: cannot find function `parse_mpls` in module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:43:38 | 43 | 0x8847 | 0x8848 => mpls::parse_mpls(packet), | ^^^^^^^^^^ not found in `mpls`
unresolved import `vrrp::VrrpParser`: src/net/parser/raw/protocols/mod.rs#L27
error[E0432]: unresolved import `vrrp::VrrpParser` --> src/net/parser/raw/protocols/mod.rs:27:9 | 27 | pub use vrrp::VrrpParser; | ^^^^^^^^^^^^^^^^ no `VrrpParser` in `net::parser::raw::protocols::vrrp`
unresolved import `sctp::SctpParser`: src/net/parser/raw/protocols/mod.rs#L26
error[E0432]: unresolved import `sctp::SctpParser` --> src/net/parser/raw/protocols/mod.rs:26:9 | 26 | pub use sctp::SctpParser; | ^^^^^^^^^^^^^^^^ no `SctpParser` in `net::parser::raw::protocols::sctp`
unresolved import `pim::PimParser`: src/net/parser/raw/protocols/mod.rs#L25
error[E0432]: unresolved import `pim::PimParser` --> src/net/parser/raw/protocols/mod.rs:25:9 | 25 | pub use pim::PimParser; | ^^^^^^^^^^^^^^ no `PimParser` in `net::parser::raw::protocols::pim`
unresolved import `ospf::OspfParser`: src/net/parser/raw/protocols/mod.rs#L24
error[E0432]: unresolved import `ospf::OspfParser` --> src/net/parser/raw/protocols/mod.rs:24:9 | 24 | pub use ospf::OspfParser; | ^^^^^^^^^^^^^^^^ no `OspfParser` in `net::parser::raw::protocols::ospf`
unresolved import `ipx::IpxParser`: src/net/parser/raw/protocols/mod.rs#L23
error[E0432]: unresolved import `ipx::IpxParser` --> src/net/parser/raw/protocols/mod.rs:23:9 | 23 | pub use ipx::IpxParser; | ^^^^^^^^^^^^^^ no `IpxParser` in `net::parser::raw::protocols::ipx`
unresolved import `esp::EspParser`: src/net/parser/raw/protocols/mod.rs#L19
error[E0432]: unresolved import `esp::EspParser` --> src/net/parser/raw/protocols/mod.rs:19:9 | 19 | pub use esp::EspParser; | ^^^^^^^^^^^^^^ no `EspParser` in `net::parser::raw::protocols::esp`
unresolved import `ah::AhParser`: src/net/parser/raw/protocols/mod.rs#L18
error[E0432]: unresolved import `ah::AhParser` --> src/net/parser/raw/protocols/mod.rs:18:9 | 18 | pub use ah::AhParser; | ^^^^^^^^^^^^ no `AhParser` in `net::parser::raw::protocols::ah`
file not found for module `vrrp`: src/net/parser/raw/protocols/mod.rs#L14
error[E0583]: file not found for module `vrrp` --> src/net/parser/raw/protocols/mod.rs:14:1 | 14 | mod vrrp; | ^^^^^^^^^ | = help: to create the module `vrrp`, create file "src/net/parser/raw/protocols/vrrp.rs" or "src/net/parser/raw/protocols/vrrp/mod.rs" = note: if there is a `mod vrrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `sctp`: src/net/parser/raw/protocols/mod.rs#L13
error[E0583]: file not found for module `sctp` --> src/net/parser/raw/protocols/mod.rs:13:1 | 13 | mod sctp; | ^^^^^^^^^ | = help: to create the module `sctp`, create file "src/net/parser/raw/protocols/sctp.rs" or "src/net/parser/raw/protocols/sctp/mod.rs" = note: if there is a `mod sctp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `pim`: src/net/parser/raw/protocols/mod.rs#L12
error[E0583]: file not found for module `pim` --> src/net/parser/raw/protocols/mod.rs:12:1 | 12 | mod pim; | ^^^^^^^^ | = help: to create the module `pim`, create file "src/net/parser/raw/protocols/pim.rs" or "src/net/parser/raw/protocols/pim/mod.rs" = note: if there is a `mod pim` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ospf`: src/net/parser/raw/protocols/mod.rs#L11
error[E0583]: file not found for module `ospf` --> src/net/parser/raw/protocols/mod.rs:11:1 | 11 | mod ospf; | ^^^^^^^^^ | = help: to create the module `ospf`, create file "src/net/parser/raw/protocols/ospf.rs" or "src/net/parser/raw/protocols/ospf/mod.rs" = note: if there is a `mod ospf` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `l2tp`: src/net/parser/raw/protocols/mod.rs#L10
error[E0583]: file not found for module `l2tp` --> src/net/parser/raw/protocols/mod.rs:10:1 | 10 | mod l2tp; | ^^^^^^^^^ | = help: to create the module `l2tp`, create file "src/net/parser/raw/protocols/l2tp.rs" or "src/net/parser/raw/protocols/l2tp/mod.rs" = note: if there is a `mod l2tp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `isis`: src/net/parser/raw/protocols/mod.rs#L9
error[E0583]: file not found for module `isis` --> src/net/parser/raw/protocols/mod.rs:9:1 | 9 | mod isis; | ^^^^^^^^^ | = help: to create the module `isis`, create file "src/net/parser/raw/protocols/isis.rs" or "src/net/parser/raw/protocols/isis/mod.rs" = note: if there is a `mod isis` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ipx`: src/net/parser/raw/protocols/mod.rs#L8
error[E0583]: file not found for module `ipx` --> src/net/parser/raw/protocols/mod.rs:8:1 | 8 | mod ipx; | ^^^^^^^^ | = help: to create the module `ipx`, create file "src/net/parser/raw/protocols/ipx.rs" or "src/net/parser/raw/protocols/ipx/mod.rs" = note: if there is a `mod ipx` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `esp`: src/net/parser/raw/protocols/mod.rs#L4
error[E0583]: file not found for module `esp` --> src/net/parser/raw/protocols/mod.rs:4:1 | 4 | mod esp; | ^^^^^^^^ | = help: to create the module `esp`, create file "src/net/parser/raw/protocols/esp.rs" or "src/net/parser/raw/protocols/esp/mod.rs" = note: if there is a `mod esp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `eigrp`: src/net/parser/raw/protocols/mod.rs#L3
error[E0583]: file not found for module `eigrp` --> src/net/parser/raw/protocols/mod.rs:3:1 | 3 | mod eigrp; | ^^^^^^^^^^ | = help: to create the module `eigrp`, create file "src/net/parser/raw/protocols/eigrp.rs" or "src/net/parser/raw/protocols/eigrp/mod.rs" = note: if there is a `mod eigrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `bgp`: src/net/parser/raw/protocols/mod.rs#L2
error[E0583]: file not found for module `bgp` --> src/net/parser/raw/protocols/mod.rs:2:1 | 2 | mod bgp; | ^^^^^^^^ | = help: to create the module `bgp`, create file "src/net/parser/raw/protocols/bgp.rs" or "src/net/parser/raw/protocols/bgp/mod.rs" = note: if there is a `mod bgp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ah`: src/net/parser/raw/protocols/mod.rs#L1
error[E0583]: file not found for module `ah` --> src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ | = help: to create the module `ah`, create file "src/net/parser/raw/protocols/ah.rs" or "src/net/parser/raw/protocols/ah/mod.rs" = note: if there is a `mod ah` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L5
error[E0583]: file not found for module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:5:1 | 5 | mod wireguard; | ^^^^^^^^^^^^^^ | = help: to create the module `wireguard`, create file "src/net/parser/raw/ethertypes/wireguard.rs" or "src/net/parser/raw/ethertypes/wireguard/mod.rs" = note: if there is a `mod wireguard` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L4
error[E0583]: file not found for module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:4:1 | 4 | mod vxlan; | ^^^^^^^^^^ | = help: to create the module `vxlan`, create file "src/net/parser/raw/ethertypes/vxlan.rs" or "src/net/parser/raw/ethertypes/vxlan/mod.rs" = note: if there is a `mod vxlan` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L2
error[E0583]: file not found for module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ | = help: to create the module `mpls`, create file "src/net/parser/raw/ethertypes/mpls.rs" or "src/net/parser/raw/ethertypes/mpls/mod.rs" = note: if there is a `mod mpls` elsewhere in the crate already, import it with `use crate::...` instead
cannot find function `parse_bgp` in module `bgp`: src/net/parser/raw/protocols/mod.rs#L69
error[E0425]: cannot find function `parse_bgp` in module `bgp` --> src/net/parser/raw/protocols/mod.rs:69:21 | 69 | 179 => bgp::parse_bgp(packet), | ^^^^^^^^^ not found in `bgp`
cannot find function `parse_isis` in module `isis`: src/net/parser/raw/protocols/mod.rs#L67
error[E0425]: cannot find function `parse_isis` in module `isis` --> src/net/parser/raw/protocols/mod.rs:67:22 | 67 | 124 => isis::parse_isis(packet), | ^^^^^^^^^^ not found in `isis`
cannot find function `parse_l2tp` in module `l2tp`: src/net/parser/raw/protocols/mod.rs#L66
error[E0425]: cannot find function `parse_l2tp` in module `l2tp` --> src/net/parser/raw/protocols/mod.rs:66:22 | 66 | 115 => l2tp::parse_l2tp(packet), | ^^^^^^^^^^ not found in `l2tp`
cannot find function `parse_wireguard` in module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L45
error[E0425]: cannot find function `parse_wireguard` in module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:45:34 | 45 | 0x88B8 => wireguard::parse_wireguard(packet), | ^^^^^^^^^^^^^^^ not found in `wireguard`
cannot find function `parse_vxlan` in module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L44
error[E0425]: cannot find function `parse_vxlan` in module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:44:30 | 44 | 0x12B5 => vxlan::parse_vxlan(packet), | ^^^^^^^^^^^ not found in `vxlan`
cannot find function `parse_mpls` in module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L43
error[E0425]: cannot find function `parse_mpls` in module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:43:38 | 43 | 0x8847 | 0x8848 => mpls::parse_mpls(packet), | ^^^^^^^^^^ not found in `mpls`
unresolved import `vrrp::VrrpParser`: src/net/parser/raw/protocols/mod.rs#L27
error[E0432]: unresolved import `vrrp::VrrpParser` --> src/net/parser/raw/protocols/mod.rs:27:9 | 27 | pub use vrrp::VrrpParser; | ^^^^^^^^^^^^^^^^ no `VrrpParser` in `net::parser::raw::protocols::vrrp`
unresolved import `sctp::SctpParser`: src/net/parser/raw/protocols/mod.rs#L26
error[E0432]: unresolved import `sctp::SctpParser` --> src/net/parser/raw/protocols/mod.rs:26:9 | 26 | pub use sctp::SctpParser; | ^^^^^^^^^^^^^^^^ no `SctpParser` in `net::parser::raw::protocols::sctp`
unresolved import `pim::PimParser`: src/net/parser/raw/protocols/mod.rs#L25
error[E0432]: unresolved import `pim::PimParser` --> src/net/parser/raw/protocols/mod.rs:25:9 | 25 | pub use pim::PimParser; | ^^^^^^^^^^^^^^ no `PimParser` in `net::parser::raw::protocols::pim`
unresolved import `ospf::OspfParser`: src/net/parser/raw/protocols/mod.rs#L24
error[E0432]: unresolved import `ospf::OspfParser` --> src/net/parser/raw/protocols/mod.rs:24:9 | 24 | pub use ospf::OspfParser; | ^^^^^^^^^^^^^^^^ no `OspfParser` in `net::parser::raw::protocols::ospf`
unresolved import `ipx::IpxParser`: src/net/parser/raw/protocols/mod.rs#L23
error[E0432]: unresolved import `ipx::IpxParser` --> src/net/parser/raw/protocols/mod.rs:23:9 | 23 | pub use ipx::IpxParser; | ^^^^^^^^^^^^^^ no `IpxParser` in `net::parser::raw::protocols::ipx`
unresolved import `esp::EspParser`: src/net/parser/raw/protocols/mod.rs#L19
error[E0432]: unresolved import `esp::EspParser` --> src/net/parser/raw/protocols/mod.rs:19:9 | 19 | pub use esp::EspParser; | ^^^^^^^^^^^^^^ no `EspParser` in `net::parser::raw::protocols::esp`
unresolved import `ah::AhParser`: src/net/parser/raw/protocols/mod.rs#L18
error[E0432]: unresolved import `ah::AhParser` --> src/net/parser/raw/protocols/mod.rs:18:9 | 18 | pub use ah::AhParser; | ^^^^^^^^^^^^ no `AhParser` in `net::parser::raw::protocols::ah`
file not found for module `vrrp`: src/net/parser/raw/protocols/mod.rs#L14
error[E0583]: file not found for module `vrrp` --> src/net/parser/raw/protocols/mod.rs:14:1 | 14 | mod vrrp; | ^^^^^^^^^ | = help: to create the module `vrrp`, create file "src/net/parser/raw/protocols/vrrp.rs" or "src/net/parser/raw/protocols/vrrp/mod.rs" = note: if there is a `mod vrrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `sctp`: src/net/parser/raw/protocols/mod.rs#L13
error[E0583]: file not found for module `sctp` --> src/net/parser/raw/protocols/mod.rs:13:1 | 13 | mod sctp; | ^^^^^^^^^ | = help: to create the module `sctp`, create file "src/net/parser/raw/protocols/sctp.rs" or "src/net/parser/raw/protocols/sctp/mod.rs" = note: if there is a `mod sctp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `pim`: src/net/parser/raw/protocols/mod.rs#L12
error[E0583]: file not found for module `pim` --> src/net/parser/raw/protocols/mod.rs:12:1 | 12 | mod pim; | ^^^^^^^^ | = help: to create the module `pim`, create file "src/net/parser/raw/protocols/pim.rs" or "src/net/parser/raw/protocols/pim/mod.rs" = note: if there is a `mod pim` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ospf`: src/net/parser/raw/protocols/mod.rs#L11
error[E0583]: file not found for module `ospf` --> src/net/parser/raw/protocols/mod.rs:11:1 | 11 | mod ospf; | ^^^^^^^^^ | = help: to create the module `ospf`, create file "src/net/parser/raw/protocols/ospf.rs" or "src/net/parser/raw/protocols/ospf/mod.rs" = note: if there is a `mod ospf` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `l2tp`: src/net/parser/raw/protocols/mod.rs#L10
error[E0583]: file not found for module `l2tp` --> src/net/parser/raw/protocols/mod.rs:10:1 | 10 | mod l2tp; | ^^^^^^^^^ | = help: to create the module `l2tp`, create file "src/net/parser/raw/protocols/l2tp.rs" or "src/net/parser/raw/protocols/l2tp/mod.rs" = note: if there is a `mod l2tp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `isis`: src/net/parser/raw/protocols/mod.rs#L9
error[E0583]: file not found for module `isis` --> src/net/parser/raw/protocols/mod.rs:9:1 | 9 | mod isis; | ^^^^^^^^^ | = help: to create the module `isis`, create file "src/net/parser/raw/protocols/isis.rs" or "src/net/parser/raw/protocols/isis/mod.rs" = note: if there is a `mod isis` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ipx`: src/net/parser/raw/protocols/mod.rs#L8
error[E0583]: file not found for module `ipx` --> src/net/parser/raw/protocols/mod.rs:8:1 | 8 | mod ipx; | ^^^^^^^^ | = help: to create the module `ipx`, create file "src/net/parser/raw/protocols/ipx.rs" or "src/net/parser/raw/protocols/ipx/mod.rs" = note: if there is a `mod ipx` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `esp`: src/net/parser/raw/protocols/mod.rs#L4
error[E0583]: file not found for module `esp` --> src/net/parser/raw/protocols/mod.rs:4:1 | 4 | mod esp; | ^^^^^^^^ | = help: to create the module `esp`, create file "src/net/parser/raw/protocols/esp.rs" or "src/net/parser/raw/protocols/esp/mod.rs" = note: if there is a `mod esp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `eigrp`: src/net/parser/raw/protocols/mod.rs#L3
error[E0583]: file not found for module `eigrp` --> src/net/parser/raw/protocols/mod.rs:3:1 | 3 | mod eigrp; | ^^^^^^^^^^ | = help: to create the module `eigrp`, create file "src/net/parser/raw/protocols/eigrp.rs" or "src/net/parser/raw/protocols/eigrp/mod.rs" = note: if there is a `mod eigrp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `bgp`: src/net/parser/raw/protocols/mod.rs#L2
error[E0583]: file not found for module `bgp` --> src/net/parser/raw/protocols/mod.rs:2:1 | 2 | mod bgp; | ^^^^^^^^ | = help: to create the module `bgp`, create file "src/net/parser/raw/protocols/bgp.rs" or "src/net/parser/raw/protocols/bgp/mod.rs" = note: if there is a `mod bgp` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `ah`: src/net/parser/raw/protocols/mod.rs#L1
error[E0583]: file not found for module `ah` --> src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ | = help: to create the module `ah`, create file "src/net/parser/raw/protocols/ah.rs" or "src/net/parser/raw/protocols/ah/mod.rs" = note: if there is a `mod ah` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `wireguard`: src/net/parser/raw/ethertypes/mod.rs#L5
error[E0583]: file not found for module `wireguard` --> src/net/parser/raw/ethertypes/mod.rs:5:1 | 5 | mod wireguard; | ^^^^^^^^^^^^^^ | = help: to create the module `wireguard`, create file "src/net/parser/raw/ethertypes/wireguard.rs" or "src/net/parser/raw/ethertypes/wireguard/mod.rs" = note: if there is a `mod wireguard` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `vxlan`: src/net/parser/raw/ethertypes/mod.rs#L4
error[E0583]: file not found for module `vxlan` --> src/net/parser/raw/ethertypes/mod.rs:4:1 | 4 | mod vxlan; | ^^^^^^^^^^ | = help: to create the module `vxlan`, create file "src/net/parser/raw/ethertypes/vxlan.rs" or "src/net/parser/raw/ethertypes/vxlan/mod.rs" = note: if there is a `mod vxlan` elsewhere in the crate already, import it with `use crate::...` instead
file not found for module `mpls`: src/net/parser/raw/ethertypes/mod.rs#L2
error[E0583]: file not found for module `mpls` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ | = help: to create the module `mpls`, create file "src/net/parser/raw/ethertypes/mpls.rs" or "src/net/parser/raw/ethertypes/mpls/mod.rs" = note: if there is a `mod mpls` elsewhere in the crate already, import it with `use crate::...` instead
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unused variable: `timestamp`: src/logger.rs#L82
warning: unused variable: `timestamp` --> src/logger.rs:82:13 | 82 | let timestamp = Local::now().format("%Y-%m-%d %H:%M:%S %z").to_string(); | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` | = note: `#[warn(unused_variables)]` on by default
file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml`: src/net/parser/raw/ethertypes/mod.rs#L2
warning: file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ first loaded here 3 | mod vpn; 4 | mod vxlan; | ^^^^^^^^^^ loaded again here 5 | mod wireguard; | ^^^^^^^^^^^^^^ loaded again here | ::: src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ loaded again here 2 | mod bgp; | ^^^^^^^^ loaded again here 3 | mod eigrp; | ^^^^^^^^^^ loaded again here 4 | mod esp; | ^^^^^^^^ loaded again here ... 8 | mod ipx; | ^^^^^^^^ loaded again here 9 | mod isis; | ^^^^^^^^^ loaded again here 10 | mod l2tp; | ^^^^^^^^^ loaded again here 11 | mod ospf; | ^^^^^^^^^ loaded again here 12 | mod pim; | ^^^^^^^^ loaded again here 13 | mod sctp; | ^^^^^^^^^ loaded again here 14 | mod vrrp; | ^^^^^^^^^ loaded again here | = help: replace all but one `mod` item with `use` items = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod = note: `#[warn(clippy::duplicate_mod)]` 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 Rust 2024 and in a future release in all editions! = 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
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 variable: `timestamp`: src/logger.rs#L82
warning: unused variable: `timestamp` --> src/logger.rs:82:13 | 82 | let timestamp = Local::now().format("%Y-%m-%d %H:%M:%S %z").to_string(); | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` | = note: `#[warn(unused_variables)]` on by default
file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml`: src/net/parser/raw/ethertypes/mod.rs#L2
warning: file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ first loaded here 3 | mod vpn; 4 | mod vxlan; | ^^^^^^^^^^ loaded again here 5 | mod wireguard; | ^^^^^^^^^^^^^^ loaded again here | ::: src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ loaded again here 2 | mod bgp; | ^^^^^^^^ loaded again here 3 | mod eigrp; | ^^^^^^^^^^ loaded again here 4 | mod esp; | ^^^^^^^^ loaded again here ... 8 | mod ipx; | ^^^^^^^^ loaded again here 9 | mod isis; | ^^^^^^^^^ loaded again here 10 | mod l2tp; | ^^^^^^^^^ loaded again here 11 | mod ospf; | ^^^^^^^^^ loaded again here 12 | mod pim; | ^^^^^^^^ loaded again here 13 | mod sctp; | ^^^^^^^^^ loaded again here 14 | mod vrrp; | ^^^^^^^^^ loaded again here | = help: replace all but one `mod` item with `use` items = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod = note: `#[warn(clippy::duplicate_mod)]` 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 Rust 2024 and in a future release in all editions! = 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 variable: `timestamp`: src/logger.rs#L82
warning: unused variable: `timestamp` --> src/logger.rs:82:13 | 82 | let timestamp = Local::now().format("%Y-%m-%d %H:%M:%S %z").to_string(); | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` | = note: `#[warn(unused_variables)]` on by default
file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml`: src/net/parser/raw/ethertypes/mod.rs#L2
warning: file is loaded as a module multiple times: `/home/runner/work/fluere/fluere/clippy.toml` --> src/net/parser/raw/ethertypes/mod.rs:2:1 | 2 | mod mpls; | ^^^^^^^^^ first loaded here 3 | mod vpn; 4 | mod vxlan; | ^^^^^^^^^^ loaded again here 5 | mod wireguard; | ^^^^^^^^^^^^^^ loaded again here | ::: src/net/parser/raw/protocols/mod.rs:1:1 | 1 | mod ah; | ^^^^^^^ loaded again here 2 | mod bgp; | ^^^^^^^^ loaded again here 3 | mod eigrp; | ^^^^^^^^^^ loaded again here 4 | mod esp; | ^^^^^^^^ loaded again here ... 8 | mod ipx; | ^^^^^^^^ loaded again here 9 | mod isis; | ^^^^^^^^^ loaded again here 10 | mod l2tp; | ^^^^^^^^^ loaded again here 11 | mod ospf; | ^^^^^^^^^ loaded again here 12 | mod pim; | ^^^^^^^^ loaded again here 13 | mod sctp; | ^^^^^^^^^ loaded again here 14 | mod vrrp; | ^^^^^^^^^ loaded again here | = help: replace all but one `mod` item with `use` items = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod = note: `#[warn(clippy::duplicate_mod)]` 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 Rust 2024 and in a future release in all editions! = 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